diff --git a/codegen/generator/src/OpenAI.Library.Plugin.csproj b/codegen/generator/src/OpenAI.Library.Plugin.csproj
index 8f50d0612..c40a2cc49 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/package.json b/codegen/package.json
index bbeb2c0a4..b1e6cec57 100644
--- a/codegen/package.json
+++ b/codegen/package.json
@@ -29,10 +29,10 @@
],
"dependencies": {
"@open-ai/plugin": "file:",
- "@azure-tools/typespec-client-generator-core": "0.60.0",
- "@typespec/http-client-csharp": "1.0.0-alpha.20251001.2",
- "@typespec/http": "1.4.0",
- "@typespec/openapi": "1.4.0"
+ "@azure-tools/typespec-client-generator-core": "0.61.0",
+ "@typespec/http-client-csharp": "1.0.0-alpha.20251107.3",
+ "@typespec/http": "1.5.0",
+ "@typespec/openapi": "1.5.0"
},
"devDependencies": {
"@types/node": "^22.8.1",
diff --git a/package-lock.json b/package-lock.json
index 6038d79d4..afcffd696 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,11 +19,11 @@
"version": "1.0.0",
"license": "MIT",
"dependencies": {
- "@azure-tools/typespec-client-generator-core": "0.60.0",
+ "@azure-tools/typespec-client-generator-core": "0.61.0",
"@open-ai/plugin": "file:",
- "@typespec/http": "1.4.0",
- "@typespec/http-client-csharp": "1.0.0-alpha.20251001.2",
- "@typespec/openapi": "1.4.0"
+ "@typespec/http": "1.5.0",
+ "@typespec/http-client-csharp": "1.0.0-alpha.20251107.3",
+ "@typespec/openapi": "1.5.0"
},
"devDependencies": {
"@types/node": "^22.8.1",
@@ -51,24 +51,24 @@
}
},
"node_modules/@azure-tools/typespec-azure-core": {
- "version": "0.60.0",
- "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.60.0.tgz",
- "integrity": "sha512-Pmm7blxnEZZ7lhMJWWsiIqMrFthaCK6uu7f+ONN7dq0Mjc/O9w8+43tAIXwnGz1OKAWmiToh3EDbaxeWyt/FhQ==",
+ "version": "0.61.0",
+ "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.61.0.tgz",
+ "integrity": "sha512-sqOYBUghAtVMBiAWwT3fMRVSDNwR7IU3AQ96n/ErhAthwWjTe7PFVfK/MPjpI1mO3cdyLeS2DGyI3gt/waWP4g==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0",
- "@typespec/http": "^1.4.0",
- "@typespec/rest": "^0.74.0"
+ "@typespec/compiler": "^1.5.0",
+ "@typespec/http": "^1.5.0",
+ "@typespec/rest": "^0.75.0"
}
},
"node_modules/@azure-tools/typespec-client-generator-core": {
- "version": "0.60.0",
- "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.60.0.tgz",
- "integrity": "sha512-JV9uiqxDCzVVFeMctm4ebmUI4982B3dCdKx0nmonjfRf9a2/MXilEKExPIaNVR3ZqbFPXM/IepheY8t9YZNqSQ==",
+ "version": "0.61.0",
+ "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.61.0.tgz",
+ "integrity": "sha512-xm6HXmO2vFJ0BBKrkWGXknNyzhEYQ7eUFhngFMy1Mz7vCTTAprjA/jvtC6GpgjrKwVbmt1aQ0JyGmVKEiwWsMg==",
"license": "MIT",
"dependencies": {
"change-case": "~5.4.4",
@@ -79,16 +79,16 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@azure-tools/typespec-azure-core": "^0.60.0",
- "@typespec/compiler": "^1.4.0",
- "@typespec/events": "^0.74.0",
- "@typespec/http": "^1.4.0",
- "@typespec/openapi": "^1.4.0",
- "@typespec/rest": "^0.74.0",
- "@typespec/sse": "^0.74.0",
- "@typespec/streams": "^0.74.0",
- "@typespec/versioning": "^0.74.0",
- "@typespec/xml": "^0.74.0"
+ "@azure-tools/typespec-azure-core": "^0.61.0",
+ "@typespec/compiler": "^1.5.0",
+ "@typespec/events": "^0.75.0",
+ "@typespec/http": "^1.5.0",
+ "@typespec/openapi": "^1.5.0",
+ "@typespec/rest": "^0.75.0",
+ "@typespec/sse": "^0.75.0",
+ "@typespec/streams": "^0.75.0",
+ "@typespec/versioning": "^0.75.0",
+ "@typespec/xml": "^0.75.0"
}
},
"node_modules/@babel/code-frame": {
@@ -117,22 +117,22 @@
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz",
- "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/parser": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz",
- "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
+ "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.28.4"
+ "@babel/types": "^7.28.5"
},
"bin": {
"parser": "bin/babel-parser.js"
@@ -142,14 +142,14 @@
}
},
"node_modules/@babel/types": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz",
- "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
+ "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^7.27.1",
- "@babel/helper-validator-identifier": "^7.27.1"
+ "@babel/helper-validator-identifier": "^7.28.5"
},
"engines": {
"node": ">=6.9.0"
@@ -554,9 +554,9 @@
}
},
"node_modules/@inquirer/ansi": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.0.tgz",
- "integrity": "sha512-JWaTfCxI1eTmJ1BIv86vUfjVatOdxwD0DAVKYevY8SazeUUZtW+tNbsdejVO1GYE0GXJW1N1ahmiC3TFd+7wZA==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz",
+ "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==",
"license": "MIT",
"peer": true,
"engines": {
@@ -564,17 +564,17 @@
}
},
"node_modules/@inquirer/checkbox": {
- "version": "4.2.4",
- "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.4.tgz",
- "integrity": "sha512-2n9Vgf4HSciFq8ttKXk+qy+GsyTXPV1An6QAwe/8bkbbqvG4VW1I/ZY1pNu2rf+h9bdzMLPbRSfcNxkHBy/Ydw==",
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.1.tgz",
+ "integrity": "sha512-rOcLotrptYIy59SGQhKlU0xBg1vvcVl2FdPIEclUvKHh0wo12OfGkId/01PIMJ/V+EimJ77t085YabgnQHBa5A==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/ansi": "^1.0.0",
- "@inquirer/core": "^10.2.2",
- "@inquirer/figures": "^1.0.13",
- "@inquirer/type": "^3.0.8",
- "yoctocolors-cjs": "^2.1.2"
+ "@inquirer/ansi": "^1.0.2",
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/figures": "^1.0.15",
+ "@inquirer/type": "^3.0.10",
+ "yoctocolors-cjs": "^2.1.3"
},
"engines": {
"node": ">=18"
@@ -589,14 +589,14 @@
}
},
"node_modules/@inquirer/confirm": {
- "version": "5.1.18",
- "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.18.tgz",
- "integrity": "sha512-MilmWOzHa3Ks11tzvuAmFoAd/wRuaP3SwlT1IZhyMke31FKLxPiuDWcGXhU+PKveNOpAc4axzAgrgxuIJJRmLw==",
+ "version": "5.1.20",
+ "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.20.tgz",
+ "integrity": "sha512-HDGiWh2tyRZa0M1ZnEIUCQro25gW/mN8ODByicQrbR1yHx4hT+IOpozCMi5TgBtUdklLwRI2mv14eNpftDluEw==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/core": "^10.2.2",
- "@inquirer/type": "^3.0.8"
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/type": "^3.0.10"
},
"engines": {
"node": ">=18"
@@ -611,20 +611,20 @@
}
},
"node_modules/@inquirer/core": {
- "version": "10.2.2",
- "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.2.2.tgz",
- "integrity": "sha512-yXq/4QUnk4sHMtmbd7irwiepjB8jXU0kkFRL4nr/aDBA2mDz13cMakEWdDwX3eSCTkk03kwcndD1zfRAIlELxA==",
+ "version": "10.3.1",
+ "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.1.tgz",
+ "integrity": "sha512-hzGKIkfomGFPgxKmnKEKeA+uCYBqC+TKtRx5LgyHRCrF6S2MliwRIjp3sUaWwVzMp7ZXVs8elB0Tfe682Rpg4w==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/ansi": "^1.0.0",
- "@inquirer/figures": "^1.0.13",
- "@inquirer/type": "^3.0.8",
+ "@inquirer/ansi": "^1.0.2",
+ "@inquirer/figures": "^1.0.15",
+ "@inquirer/type": "^3.0.10",
"cli-width": "^4.1.0",
- "mute-stream": "^2.0.0",
+ "mute-stream": "^3.0.0",
"signal-exit": "^4.1.0",
"wrap-ansi": "^6.2.0",
- "yoctocolors-cjs": "^2.1.2"
+ "yoctocolors-cjs": "^2.1.3"
},
"engines": {
"node": ">=18"
@@ -639,15 +639,15 @@
}
},
"node_modules/@inquirer/editor": {
- "version": "4.2.20",
- "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.20.tgz",
- "integrity": "sha512-7omh5y5bK672Q+Brk4HBbnHNowOZwrb/78IFXdrEB9PfdxL3GudQyDk8O9vQ188wj3xrEebS2M9n18BjJoI83g==",
+ "version": "4.2.22",
+ "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.22.tgz",
+ "integrity": "sha512-8yYZ9TCbBKoBkzHtVNMF6PV1RJEUvMlhvmS3GxH4UvXMEHlS45jFyqFy0DU+K42jBs5slOaA78xGqqqWAx3u6A==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/core": "^10.2.2",
- "@inquirer/external-editor": "^1.0.2",
- "@inquirer/type": "^3.0.8"
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/external-editor": "^1.0.3",
+ "@inquirer/type": "^3.0.10"
},
"engines": {
"node": ">=18"
@@ -662,15 +662,15 @@
}
},
"node_modules/@inquirer/expand": {
- "version": "4.0.20",
- "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.20.tgz",
- "integrity": "sha512-Dt9S+6qUg94fEvgn54F2Syf0Z3U8xmnBI9ATq2f5h9xt09fs2IJXSCIXyyVHwvggKWFXEY/7jATRo2K6Dkn6Ow==",
+ "version": "4.0.22",
+ "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.22.tgz",
+ "integrity": "sha512-9XOjCjvioLjwlq4S4yXzhvBmAXj5tG+jvva0uqedEsQ9VD8kZ+YT7ap23i0bIXOtow+di4+u3i6u26nDqEfY4Q==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/core": "^10.2.2",
- "@inquirer/type": "^3.0.8",
- "yoctocolors-cjs": "^2.1.2"
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/type": "^3.0.10",
+ "yoctocolors-cjs": "^2.1.3"
},
"engines": {
"node": ">=18"
@@ -685,13 +685,13 @@
}
},
"node_modules/@inquirer/external-editor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.2.tgz",
- "integrity": "sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz",
+ "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==",
"license": "MIT",
"peer": true,
"dependencies": {
- "chardet": "^2.1.0",
+ "chardet": "^2.1.1",
"iconv-lite": "^0.7.0"
},
"engines": {
@@ -707,9 +707,9 @@
}
},
"node_modules/@inquirer/figures": {
- "version": "1.0.13",
- "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.13.tgz",
- "integrity": "sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw==",
+ "version": "1.0.15",
+ "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz",
+ "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==",
"license": "MIT",
"peer": true,
"engines": {
@@ -717,14 +717,14 @@
}
},
"node_modules/@inquirer/input": {
- "version": "4.2.4",
- "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.4.tgz",
- "integrity": "sha512-cwSGpLBMwpwcZZsc6s1gThm0J+it/KIJ+1qFL2euLmSKUMGumJ5TcbMgxEjMjNHRGadouIYbiIgruKoDZk7klw==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.0.tgz",
+ "integrity": "sha512-h4fgse5zeGsBSW3cRQqu9a99OXRdRsNCvHoBqVmz40cjYjYFzcfwD0KA96BHIPlT7rZw0IpiefQIqXrjbzjS4Q==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/core": "^10.2.2",
- "@inquirer/type": "^3.0.8"
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/type": "^3.0.10"
},
"engines": {
"node": ">=18"
@@ -739,14 +739,14 @@
}
},
"node_modules/@inquirer/number": {
- "version": "3.0.20",
- "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.20.tgz",
- "integrity": "sha512-bbooay64VD1Z6uMfNehED2A2YOPHSJnQLs9/4WNiV/EK+vXczf/R988itL2XLDGTgmhMF2KkiWZo+iEZmc4jqg==",
+ "version": "3.0.22",
+ "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.22.tgz",
+ "integrity": "sha512-oAdMJXz++fX58HsIEYmvuf5EdE8CfBHHXjoi9cTcQzgFoHGZE+8+Y3P38MlaRMeBvAVnkWtAxMUF6urL2zYsbg==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/core": "^10.2.2",
- "@inquirer/type": "^3.0.8"
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/type": "^3.0.10"
},
"engines": {
"node": ">=18"
@@ -761,15 +761,15 @@
}
},
"node_modules/@inquirer/password": {
- "version": "4.0.20",
- "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.20.tgz",
- "integrity": "sha512-nxSaPV2cPvvoOmRygQR+h0B+Av73B01cqYLcr7NXcGXhbmsYfUb8fDdw2Us1bI2YsX+VvY7I7upgFYsyf8+Nug==",
+ "version": "4.0.22",
+ "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.22.tgz",
+ "integrity": "sha512-CbdqK1ioIr0Y3akx03k/+Twf+KSlHjn05hBL+rmubMll7PsDTGH0R4vfFkr+XrkB0FOHrjIwVP9crt49dgt+1g==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/ansi": "^1.0.0",
- "@inquirer/core": "^10.2.2",
- "@inquirer/type": "^3.0.8"
+ "@inquirer/ansi": "^1.0.2",
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/type": "^3.0.10"
},
"engines": {
"node": ">=18"
@@ -784,22 +784,22 @@
}
},
"node_modules/@inquirer/prompts": {
- "version": "7.8.6",
- "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.8.6.tgz",
- "integrity": "sha512-68JhkiojicX9SBUD8FE/pSKbOKtwoyaVj1kwqLfvjlVXZvOy3iaSWX4dCLsZyYx/5Ur07Fq+yuDNOen+5ce6ig==",
+ "version": "7.10.0",
+ "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.0.tgz",
+ "integrity": "sha512-X2HAjY9BClfFkJ2RP3iIiFxlct5JJVdaYYXhA7RKxsbc9KL+VbId79PSoUGH/OLS011NFbHHDMDcBKUj3T89+Q==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/checkbox": "^4.2.4",
- "@inquirer/confirm": "^5.1.18",
- "@inquirer/editor": "^4.2.20",
- "@inquirer/expand": "^4.0.20",
- "@inquirer/input": "^4.2.4",
- "@inquirer/number": "^3.0.20",
- "@inquirer/password": "^4.0.20",
- "@inquirer/rawlist": "^4.1.8",
- "@inquirer/search": "^3.1.3",
- "@inquirer/select": "^4.3.4"
+ "@inquirer/checkbox": "^4.3.1",
+ "@inquirer/confirm": "^5.1.20",
+ "@inquirer/editor": "^4.2.22",
+ "@inquirer/expand": "^4.0.22",
+ "@inquirer/input": "^4.3.0",
+ "@inquirer/number": "^3.0.22",
+ "@inquirer/password": "^4.0.22",
+ "@inquirer/rawlist": "^4.1.10",
+ "@inquirer/search": "^3.2.1",
+ "@inquirer/select": "^4.4.1"
},
"engines": {
"node": ">=18"
@@ -814,15 +814,15 @@
}
},
"node_modules/@inquirer/rawlist": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.8.tgz",
- "integrity": "sha512-CQ2VkIASbgI2PxdzlkeeieLRmniaUU1Aoi5ggEdm6BIyqopE9GuDXdDOj9XiwOqK5qm72oI2i6J+Gnjaa26ejg==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.10.tgz",
+ "integrity": "sha512-Du4uidsgTMkoH5izgpfyauTL/ItVHOLsVdcY+wGeoGaG56BV+/JfmyoQGniyhegrDzXpfn3D+LFHaxMDRygcAw==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/core": "^10.2.2",
- "@inquirer/type": "^3.0.8",
- "yoctocolors-cjs": "^2.1.2"
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/type": "^3.0.10",
+ "yoctocolors-cjs": "^2.1.3"
},
"engines": {
"node": ">=18"
@@ -837,16 +837,16 @@
}
},
"node_modules/@inquirer/search": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.1.3.tgz",
- "integrity": "sha512-D5T6ioybJJH0IiSUK/JXcoRrrm8sXwzrVMjibuPs+AgxmogKslaafy1oxFiorNI4s3ElSkeQZbhYQgLqiL8h6Q==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.1.tgz",
+ "integrity": "sha512-cKiuUvETublmTmaOneEermfG2tI9ABpb7fW/LqzZAnSv4ZaJnbEis05lOkiBuYX5hNdnX0Q9ryOQyrNidb55WA==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/core": "^10.2.2",
- "@inquirer/figures": "^1.0.13",
- "@inquirer/type": "^3.0.8",
- "yoctocolors-cjs": "^2.1.2"
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/figures": "^1.0.15",
+ "@inquirer/type": "^3.0.10",
+ "yoctocolors-cjs": "^2.1.3"
},
"engines": {
"node": ">=18"
@@ -861,17 +861,17 @@
}
},
"node_modules/@inquirer/select": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.3.4.tgz",
- "integrity": "sha512-Qp20nySRmfbuJBBsgPU7E/cL62Hf250vMZRzYDcBHty2zdD1kKCnoDFWRr0WO2ZzaXp3R7a4esaVGJUx0E6zvA==",
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.1.tgz",
+ "integrity": "sha512-E9hbLU4XsNe2SAOSsFrtYtYQDVi1mfbqJrPDvXKnGlnRiApBdWMJz7r3J2Ff38AqULkPUD3XjQMD4492TymD7Q==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@inquirer/ansi": "^1.0.0",
- "@inquirer/core": "^10.2.2",
- "@inquirer/figures": "^1.0.13",
- "@inquirer/type": "^3.0.8",
- "yoctocolors-cjs": "^2.1.2"
+ "@inquirer/ansi": "^1.0.2",
+ "@inquirer/core": "^10.3.1",
+ "@inquirer/figures": "^1.0.15",
+ "@inquirer/type": "^3.0.10",
+ "yoctocolors-cjs": "^2.1.3"
},
"engines": {
"node": ">=18"
@@ -886,9 +886,9 @@
}
},
"node_modules/@inquirer/type": {
- "version": "3.0.8",
- "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.8.tgz",
- "integrity": "sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw==",
+ "version": "3.0.10",
+ "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz",
+ "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==",
"license": "MIT",
"peer": true,
"engines": {
@@ -1139,9 +1139,9 @@
"license": "MIT"
},
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.3.tgz",
- "integrity": "sha512-h6cqHGZ6VdnwliFG1NXvMPTy/9PS3h8oLh7ImwR+kl+oYnQizgjxsONmmPSb2C66RksfkfIxEVtDSEcJiO0tqw==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz",
+ "integrity": "sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA==",
"cpu": [
"arm"
],
@@ -1153,9 +1153,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.3.tgz",
- "integrity": "sha512-wd+u7SLT/u6knklV/ifG7gr5Qy4GUbH2hMWcDauPFJzmCZUAJ8L2bTkVXC2niOIxp8lk3iH/QX8kSrUxVZrOVw==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz",
+ "integrity": "sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g==",
"cpu": [
"arm64"
],
@@ -1167,9 +1167,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.3.tgz",
- "integrity": "sha512-lj9ViATR1SsqycwFkJCtYfQTheBdvlWJqzqxwc9f2qrcVrQaF/gCuBRTiTolkRWS6KvNxSk4KHZWG7tDktLgjg==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz",
+ "integrity": "sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ==",
"cpu": [
"arm64"
],
@@ -1181,9 +1181,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.3.tgz",
- "integrity": "sha512-+Dyo7O1KUmIsbzx1l+4V4tvEVnVQqMOIYtrxK7ncLSknl1xnMHLgn7gddJVrYPNZfEB8CIi3hK8gq8bDhb3h5A==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz",
+ "integrity": "sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw==",
"cpu": [
"x64"
],
@@ -1195,9 +1195,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.3.tgz",
- "integrity": "sha512-u9Xg2FavYbD30g3DSfNhxgNrxhi6xVG4Y6i9Ur1C7xUuGDW3banRbXj+qgnIrwRN4KeJ396jchwy9bCIzbyBEQ==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz",
+ "integrity": "sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA==",
"cpu": [
"arm64"
],
@@ -1209,9 +1209,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.3.tgz",
- "integrity": "sha512-5M8kyi/OX96wtD5qJR89a/3x5x8x5inXBZO04JWhkQb2JWavOWfjgkdvUqibGJeNNaz1/Z1PPza5/tAPXICI6A==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz",
+ "integrity": "sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA==",
"cpu": [
"x64"
],
@@ -1223,9 +1223,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.3.tgz",
- "integrity": "sha512-IoerZJ4l1wRMopEHRKOO16e04iXRDyZFZnNZKrWeNquh5d6bucjezgd+OxG03mOMTnS1x7hilzb3uURPkJ0OfA==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz",
+ "integrity": "sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg==",
"cpu": [
"arm"
],
@@ -1237,9 +1237,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.3.tgz",
- "integrity": "sha512-ZYdtqgHTDfvrJHSh3W22TvjWxwOgc3ThK/XjgcNGP2DIwFIPeAPNsQxrJO5XqleSlgDux2VAoWQ5iJrtaC1TbA==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz",
+ "integrity": "sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q==",
"cpu": [
"arm"
],
@@ -1251,9 +1251,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.3.tgz",
- "integrity": "sha512-NcViG7A0YtuFDA6xWSgmFb6iPFzHlf5vcqb2p0lGEbT+gjrEEz8nC/EeDHvx6mnGXnGCC1SeVV+8u+smj0CeGQ==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz",
+ "integrity": "sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA==",
"cpu": [
"arm64"
],
@@ -1265,9 +1265,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.3.tgz",
- "integrity": "sha512-d3pY7LWno6SYNXRm6Ebsq0DJGoiLXTb83AIPCXl9fmtIQs/rXoS8SJxxUNtFbJ5MiOvs+7y34np77+9l4nfFMw==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz",
+ "integrity": "sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ==",
"cpu": [
"arm64"
],
@@ -1279,9 +1279,9 @@
]
},
"node_modules/@rollup/rollup-linux-loong64-gnu": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.3.tgz",
- "integrity": "sha512-3y5GA0JkBuirLqmjwAKwB0keDlI6JfGYduMlJD/Rl7fvb4Ni8iKdQs1eiunMZJhwDWdCvrcqXRY++VEBbvk6Eg==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz",
+ "integrity": "sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ==",
"cpu": [
"loong64"
],
@@ -1293,9 +1293,9 @@
]
},
"node_modules/@rollup/rollup-linux-ppc64-gnu": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.3.tgz",
- "integrity": "sha512-AUUH65a0p3Q0Yfm5oD2KVgzTKgwPyp9DSXc3UA7DtxhEb/WSPfbG4wqXeSN62OG5gSo18em4xv6dbfcUGXcagw==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz",
+ "integrity": "sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g==",
"cpu": [
"ppc64"
],
@@ -1307,9 +1307,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.3.tgz",
- "integrity": "sha512-1makPhFFVBqZE+XFg3Dkq+IkQ7JvmUrwwqaYBL2CE+ZpxPaqkGaiWFEWVGyvTwZace6WLJHwjVh/+CXbKDGPmg==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz",
+ "integrity": "sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA==",
"cpu": [
"riscv64"
],
@@ -1321,9 +1321,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.3.tgz",
- "integrity": "sha512-OOFJa28dxfl8kLOPMUOQBCO6z3X2SAfzIE276fwT52uXDWUS178KWq0pL7d6p1kz7pkzA0yQwtqL0dEPoVcRWg==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz",
+ "integrity": "sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ==",
"cpu": [
"riscv64"
],
@@ -1335,9 +1335,9 @@
]
},
"node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.3.tgz",
- "integrity": "sha512-jMdsML2VI5l+V7cKfZx3ak+SLlJ8fKvLJ0Eoa4b9/vCUrzXKgoKxvHqvJ/mkWhFiyp88nCkM5S2v6nIwRtPcgg==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz",
+ "integrity": "sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w==",
"cpu": [
"s390x"
],
@@ -1349,9 +1349,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.3.tgz",
- "integrity": "sha512-tPgGd6bY2M2LJTA1uGq8fkSPK8ZLYjDjY+ZLK9WHncCnfIz29LIXIqUgzCR0hIefzy6Hpbe8Th5WOSwTM8E7LA==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz",
+ "integrity": "sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw==",
"cpu": [
"x64"
],
@@ -1363,9 +1363,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.3.tgz",
- "integrity": "sha512-BCFkJjgk+WFzP+tcSMXq77ymAPIxsX9lFJWs+2JzuZTLtksJ2o5hvgTdIcZ5+oKzUDMwI0PfWzRBYAydAHF2Mw==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz",
+ "integrity": "sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA==",
"cpu": [
"x64"
],
@@ -1377,9 +1377,9 @@
]
},
"node_modules/@rollup/rollup-openharmony-arm64": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.3.tgz",
- "integrity": "sha512-KTD/EqjZF3yvRaWUJdD1cW+IQBk4fbQaHYJUmP8N4XoKFZilVL8cobFSTDnjTtxWJQ3JYaMgF4nObY/+nYkumA==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz",
+ "integrity": "sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A==",
"cpu": [
"arm64"
],
@@ -1391,9 +1391,9 @@
]
},
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.3.tgz",
- "integrity": "sha512-+zteHZdoUYLkyYKObGHieibUFLbttX2r+58l27XZauq0tcWYYuKUwY2wjeCN9oK1Um2YgH2ibd6cnX/wFD7DuA==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz",
+ "integrity": "sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA==",
"cpu": [
"arm64"
],
@@ -1405,9 +1405,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.3.tgz",
- "integrity": "sha512-of1iHkTQSo3kr6dTIRX6t81uj/c/b15HXVsPcEElN5sS859qHrOepM5p9G41Hah+CTqSh2r8Bm56dL2z9UQQ7g==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz",
+ "integrity": "sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg==",
"cpu": [
"ia32"
],
@@ -1419,9 +1419,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-gnu": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.3.tgz",
- "integrity": "sha512-s0hybmlHb56mWVZQj8ra9048/WZTPLILKxcvcq+8awSZmyiSUZjjem1AhU3Tf4ZKpYhK4mg36HtHDOe8QJS5PQ==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz",
+ "integrity": "sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw==",
"cpu": [
"x64"
],
@@ -1433,9 +1433,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.3.tgz",
- "integrity": "sha512-zGIbEVVXVtauFgl3MRwGWEN36P5ZGenHRMgNw88X5wEhEBpq0XrMEZwOn07+ICrwM17XO5xfMZqh0OldCH5VTA==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz",
+ "integrity": "sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA==",
"cpu": [
"x64"
],
@@ -1481,9 +1481,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "22.18.8",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.8.tgz",
- "integrity": "sha512-pAZSHMiagDR7cARo/cch1f3rXy0AEXwsVsVH09FcyeJVAzCnGgmYis7P3JidtTUjyadhTeSo8TgRPswstghDaw==",
+ "version": "22.19.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.0.tgz",
+ "integrity": "sha512-xpr/lmLPQEj+TUnHmR+Ab91/glhJvsqcjB+yY0Ix9GO70H6Lb4FHH5GeqdOE5btAx7eIMwuHkp4H2MSkLcqWbA==",
"devOptional": true,
"license": "MIT",
"dependencies": {
@@ -1491,9 +1491,9 @@
}
},
"node_modules/@typespec/compiler": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.4.0.tgz",
- "integrity": "sha512-/AFiU3ImuhH/vHKzSGv7I2peewdJ7YLhgMCfFDNk6Ae0a5Ylrc8R1GOATVilisEPBFG9lnjHn3uUcyaZs5VWRw==",
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.5.0.tgz",
+ "integrity": "sha512-REJgZOEZ9g9CC72GGT0+nLbjW+5WVlCfm1d6w18N5RsUo7vLXs8IPXwq7xZJzoqU99Q9B4keqzPuTU4OrDUTrA==",
"license": "MIT",
"peer": true,
"dependencies": {
@@ -1524,29 +1524,29 @@
}
},
"node_modules/@typespec/events": {
- "version": "0.74.0",
- "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.74.0.tgz",
- "integrity": "sha512-CY6JTtheMKAUlxiPmwx2fLIAWEwezsXmQYUMRhyuW44Q73unQIkexE43LUnNWOJSZckYucqUp+ihXh7jxzWeVQ==",
+ "version": "0.75.0",
+ "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.75.0.tgz",
+ "integrity": "sha512-V7unXnj+sZoa/1wQG8G6x2TiQqotx18S/qFbDzdfJRPCVpH/Z3xIpppce4jTZALXT97tKZK5GDHijn2zWuWWxg==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0"
+ "@typespec/compiler": "^1.5.0"
}
},
"node_modules/@typespec/http": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.4.0.tgz",
- "integrity": "sha512-Y0PDDtBu+oZnwivfhbL0lN6Mk3QiCxZ66DgB5kFjcgKNpnXf0u440PPyaL42a8lbchzz5lVwz+cinyIMI89FIQ==",
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.5.0.tgz",
+ "integrity": "sha512-52XLXwqSY2SY6nSvfkiTsNiJzlMeIAZ6MFIVJ5YkoibA21TNAP4DtjTZgC2GieZLY2NNN/rqDCqBX+DyWqTrfQ==",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0",
- "@typespec/streams": "^0.74.0"
+ "@typespec/compiler": "^1.5.0",
+ "@typespec/streams": "^0.75.0"
},
"peerDependenciesMeta": {
"@typespec/streams": {
@@ -1555,100 +1555,100 @@
}
},
"node_modules/@typespec/http-client-csharp": {
- "version": "1.0.0-alpha.20251001.2",
- "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20251001.2.tgz",
- "integrity": "sha512-gyS/jJUpJbZbYnIJOKhxPn4N++mZnuvcKqJU601+dev30lTL1ekhBV8AcnXpkNUyeqpNj3a+RcYz7Cwo9y9JDg==",
+ "version": "1.0.0-alpha.20251107.3",
+ "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20251107.3.tgz",
+ "integrity": "sha512-dmV8X46h1CY/HdSe9/xQ80Y/7GKnVVHYW8iII3gKY9Z/w9uu8TFL69fgy0O4BiYv/9dsF0osHlz6K0lpQUcV0w==",
"license": "MIT",
"peerDependencies": {
- "@azure-tools/typespec-client-generator-core": ">=0.60.0 < 0.61.0 || ~0.61.0-0",
- "@typespec/compiler": "^1.4.0",
- "@typespec/http": "^1.4.0",
- "@typespec/openapi": "^1.4.0",
- "@typespec/rest": ">=0.74.0 <0.75.0 || ~0.75.0-0",
- "@typespec/streams": ">=0.74.0 <0.75.0 || ~0.75.0-0",
- "@typespec/versioning": ">=0.74.0 <0.75.0 || ~0.75.0-0"
+ "@azure-tools/typespec-client-generator-core": ">=0.61.0 < 0.62.0 || ~0.62.0-0",
+ "@typespec/compiler": "^1.5.0",
+ "@typespec/http": "^1.5.0",
+ "@typespec/openapi": "^1.5.0",
+ "@typespec/rest": ">=0.75.0 <0.76.0 || ~0.76.0-0",
+ "@typespec/streams": ">=0.75.0 <0.76.0 || ~0.76.0-0",
+ "@typespec/versioning": ">=0.75.0 <0.76.0 || ~0.76.0-0"
}
},
"node_modules/@typespec/openapi": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.4.0.tgz",
- "integrity": "sha512-ZfrCsmZG/Zt1laLaWC0pKvnZr4jqrm/YS/YuZe/gVrSYKBxGLopXle7H0wrSSMYkIVCNCLiC68/HqRxV6XTfoA==",
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.5.0.tgz",
+ "integrity": "sha512-27sXkSK2r1sAmVMLv+pwlN/Cm+yg9nEK8iuGyJRuEkBk7hcsJDbTnBlsEvlRTI8DqljtzA7YECDHBLK88zZHeg==",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0",
- "@typespec/http": "^1.4.0"
+ "@typespec/compiler": "^1.5.0",
+ "@typespec/http": "^1.5.0"
}
},
"node_modules/@typespec/rest": {
- "version": "0.74.0",
- "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.74.0.tgz",
- "integrity": "sha512-dE+Xmv01AQ7m8jUvEbGsUQLSVo3sLzMpnHRbQEOnJX42oDqtIsz/2GEOXKQpNm1AKBISK66E2FFB5boz999Ziw==",
+ "version": "0.75.0",
+ "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.75.0.tgz",
+ "integrity": "sha512-rQ+RP0kcrKWjbpCIkBd8hpxYSNc3CfQxl0MLP1+MYGRHlHL8ss4xbwdANIYZXZZ2i2Hqt19B7cEUGD4MLoCHvw==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0",
- "@typespec/http": "^1.4.0"
+ "@typespec/compiler": "^1.5.0",
+ "@typespec/http": "^1.5.0"
}
},
"node_modules/@typespec/sse": {
- "version": "0.74.0",
- "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.74.0.tgz",
- "integrity": "sha512-+m7/elbGp7q/kqCGaBRj8v8wVMWKVEV8AsZOjf1PY2MkMUrux9ivOijBIktgoLBXDn+ocO2qVfFrHWG2slZSaw==",
+ "version": "0.75.0",
+ "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.75.0.tgz",
+ "integrity": "sha512-8iODUY3C/0hR9sTzyHeTgYfZkKeqZM+/P0OmN1ZWlLUokXQ67yydGXIqnjl+yaeuntwN8H2DDwLguU15c+j+UQ==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0",
- "@typespec/events": "^0.74.0",
- "@typespec/http": "^1.4.0",
- "@typespec/streams": "^0.74.0"
+ "@typespec/compiler": "^1.5.0",
+ "@typespec/events": "^0.75.0",
+ "@typespec/http": "^1.5.0",
+ "@typespec/streams": "^0.75.0"
}
},
"node_modules/@typespec/streams": {
- "version": "0.74.0",
- "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.74.0.tgz",
- "integrity": "sha512-LIWizQgzGt8qN8ravte4DrPLPNOk9ge73bV9Us2TOECagTVQWwgMVy7+o/Beff3sOLQO/sEOwfzvmnNpSlauHg==",
+ "version": "0.75.0",
+ "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.75.0.tgz",
+ "integrity": "sha512-ubvxCN+SZwN9aEarz8CPtMJgnopeu8dXyut47q0FAPp9nykmXy7s+dmsopR+7OX0Fhcnh8ZFYTQcJzJ3QftOiQ==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0"
+ "@typespec/compiler": "^1.5.0"
}
},
"node_modules/@typespec/versioning": {
- "version": "0.74.0",
- "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.74.0.tgz",
- "integrity": "sha512-eFIa23tycWJgv3Lxyu6jUlRi02dhtQE4Jjx3Ui5vEbwHW8pMEzuyF7ALt1c+V9HOLkfDkS4dJkiOVIoikZHPvQ==",
+ "version": "0.75.0",
+ "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.75.0.tgz",
+ "integrity": "sha512-wdLcVx5UW4WRks/OXfqLiaDTtWfAWgv/nj69u99gRJU6iY9ExEvK5x9NQszZQKYnu6tM7nkoYMg4zu+7YBUBaw==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0"
+ "@typespec/compiler": "^1.5.0"
}
},
"node_modules/@typespec/xml": {
- "version": "0.74.0",
- "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.74.0.tgz",
- "integrity": "sha512-NiXatOfpyPxU94f2tEBAygxJeS7CvIr5lvnfZkC0tUHwkiJeLrI1jt13kDVB5CE6zNK6I3d7c37xsQs9WXGFAQ==",
+ "version": "0.75.0",
+ "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.75.0.tgz",
+ "integrity": "sha512-JVafN1nZE3BcQrKbaAFVWw/IleTRdsJpwT3oZ2m7EfWnG30sKtoR9inF9dRoW+XXIjNzCfeYqjkwzEkEnIrCww==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.4.0"
+ "@typespec/compiler": "^1.5.0"
}
},
"node_modules/@vitest/coverage-v8": {
@@ -2039,9 +2039,9 @@
"license": "MIT"
},
"node_modules/chardet": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz",
- "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.1.tgz",
+ "integrity": "sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==",
"license": "MIT",
"peer": true
},
@@ -2120,9 +2120,9 @@
}
},
"node_modules/cliui/node_modules/emoji-regex": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.5.0.tgz",
- "integrity": "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg==",
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
"license": "MIT",
"peer": true
},
@@ -3001,9 +3001,9 @@
"license": "ISC"
},
"node_modules/magic-string": {
- "version": "0.30.19",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.19.tgz",
- "integrity": "sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==",
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3176,13 +3176,13 @@
}
},
"node_modules/mute-stream": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz",
- "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz",
+ "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==",
"license": "ISC",
"peer": true,
"engines": {
- "node": "^18.17.0 || >=20.5.0"
+ "node": "^20.17.0 || >=22.9.0"
}
},
"node_modules/nanoid": {
@@ -3633,9 +3633,9 @@
}
},
"node_modules/rollup": {
- "version": "4.52.3",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.3.tgz",
- "integrity": "sha512-RIDh866U8agLgiIcdpB+COKnlCreHJLfIhWC3LVflku5YHfpnsIKigRZeFfMfCc4dVcqNVfQQ5gO/afOck064A==",
+ "version": "4.53.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz",
+ "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3649,28 +3649,28 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.52.3",
- "@rollup/rollup-android-arm64": "4.52.3",
- "@rollup/rollup-darwin-arm64": "4.52.3",
- "@rollup/rollup-darwin-x64": "4.52.3",
- "@rollup/rollup-freebsd-arm64": "4.52.3",
- "@rollup/rollup-freebsd-x64": "4.52.3",
- "@rollup/rollup-linux-arm-gnueabihf": "4.52.3",
- "@rollup/rollup-linux-arm-musleabihf": "4.52.3",
- "@rollup/rollup-linux-arm64-gnu": "4.52.3",
- "@rollup/rollup-linux-arm64-musl": "4.52.3",
- "@rollup/rollup-linux-loong64-gnu": "4.52.3",
- "@rollup/rollup-linux-ppc64-gnu": "4.52.3",
- "@rollup/rollup-linux-riscv64-gnu": "4.52.3",
- "@rollup/rollup-linux-riscv64-musl": "4.52.3",
- "@rollup/rollup-linux-s390x-gnu": "4.52.3",
- "@rollup/rollup-linux-x64-gnu": "4.52.3",
- "@rollup/rollup-linux-x64-musl": "4.52.3",
- "@rollup/rollup-openharmony-arm64": "4.52.3",
- "@rollup/rollup-win32-arm64-msvc": "4.52.3",
- "@rollup/rollup-win32-ia32-msvc": "4.52.3",
- "@rollup/rollup-win32-x64-gnu": "4.52.3",
- "@rollup/rollup-win32-x64-msvc": "4.52.3",
+ "@rollup/rollup-android-arm-eabi": "4.53.2",
+ "@rollup/rollup-android-arm64": "4.53.2",
+ "@rollup/rollup-darwin-arm64": "4.53.2",
+ "@rollup/rollup-darwin-x64": "4.53.2",
+ "@rollup/rollup-freebsd-arm64": "4.53.2",
+ "@rollup/rollup-freebsd-x64": "4.53.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.53.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.53.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.53.2",
+ "@rollup/rollup-linux-arm64-musl": "4.53.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.53.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.53.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.53.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.53.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.53.2",
+ "@rollup/rollup-linux-x64-gnu": "4.53.2",
+ "@rollup/rollup-linux-x64-musl": "4.53.2",
+ "@rollup/rollup-openharmony-arm64": "4.53.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.53.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.53.2",
+ "@rollup/rollup-win32-x64-gnu": "4.53.2",
+ "@rollup/rollup-win32-x64-msvc": "4.53.2",
"fsevents": "~2.3.2"
}
},
@@ -3712,9 +3712,9 @@
"peer": true
},
"node_modules/semver": {
- "version": "7.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
- "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -3811,9 +3811,9 @@
"license": "MIT"
},
"node_modules/std-env": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz",
- "integrity": "sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==",
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
"dev": true,
"license": "MIT"
},
@@ -3927,10 +3927,10 @@
}
},
"node_modules/tar": {
- "version": "7.5.1",
- "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.1.tgz",
- "integrity": "sha512-nlGpxf+hv0v7GkWBK2V9spgactGOp0qvfWRxUMjqHyzrt3SgwE48DIv/FhqPHJYLHpgW1opq3nERbz5Anq7n1g==",
- "license": "ISC",
+ "version": "7.5.2",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.2.tgz",
+ "integrity": "sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==",
+ "license": "BlueOak-1.0.0",
"peer": true,
"dependencies": {
"@isaacs/fs-minipass": "^4.0.0",
@@ -4152,9 +4152,9 @@
}
},
"node_modules/vite": {
- "version": "5.4.20",
- "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.20.tgz",
- "integrity": "sha512-j3lYzGC3P+B5Yfy/pfKNgVEg4+UtcIJcVRt2cDjIOmhLourAqPqf8P7acgxeiSgUB7E3p2P8/3gNIgDLpwzs4g==",
+ "version": "5.4.21",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
+ "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4537,9 +4537,9 @@
}
},
"node_modules/yargs/node_modules/emoji-regex": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.5.0.tgz",
- "integrity": "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg==",
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
"license": "MIT",
"peer": true
},
diff --git a/src/Generated/AssistantClient.RestClient.cs b/src/Generated/AssistantClient.RestClient.cs
index 9574819fc..57f8afac3 100644
--- a/src/Generated/AssistantClient.RestClient.cs
+++ b/src/Generated/AssistantClient.RestClient.cs
@@ -21,7 +21,7 @@ internal virtual PipelineMessage CreateGetAssistantsRequest(int? limit, string o
uri.AppendPath("/assistants", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
diff --git a/src/Generated/AssistantClient.cs b/src/Generated/AssistantClient.cs
index eff828287..a71680405 100644
--- a/src/Generated/AssistantClient.cs
+++ b/src/Generated/AssistantClient.cs
@@ -53,7 +53,7 @@ public virtual CollectionResult GetAssistants(AssistantCollectionOpti
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetAssistantsAsync(AssistantCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -64,7 +64,7 @@ public virtual AsyncCollectionResult GetAssistantsAsync(AssistantColl
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual ClientResult CreateAssistant(BinaryContent content, RequestOptions options = null)
diff --git a/src/Generated/BatchClient.RestClient.cs b/src/Generated/BatchClient.RestClient.cs
index e85662c38..67000853e 100644
--- a/src/Generated/BatchClient.RestClient.cs
+++ b/src/Generated/BatchClient.RestClient.cs
@@ -39,7 +39,7 @@ internal virtual PipelineMessage CreateGetBatchesRequest(string after, int? limi
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
diff --git a/src/Generated/BatchClient.cs b/src/Generated/BatchClient.cs
index ee53fb236..13e2a543d 100644
--- a/src/Generated/BatchClient.cs
+++ b/src/Generated/BatchClient.cs
@@ -5,7 +5,9 @@
using System;
using System.ClientModel;
using System.ClientModel.Primitives;
+using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
+using System.Threading;
using System.Threading.Tasks;
using OpenAI;
@@ -22,6 +24,24 @@ protected BatchClient()
public ClientPipeline Pipeline { get; }
+ public virtual ClientResult CreateBatch(string inputFileId, InternalCreateBatchRequestEndpoint endpoint, IDictionary metadata = default, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(inputFileId, nameof(inputFileId));
+
+ InternalCreateBatchRequest spreadModel = new InternalCreateBatchRequest(default, endpoint, "24h", metadata, default);
+ ClientResult result = this.CreateBatch(spreadModel, cancellationToken.ToRequestOptions());
+ return ClientResult.FromValue((InternalBatchJob)result, result.GetRawResponse());
+ }
+
+ public virtual async Task> CreateBatchAsync(string inputFileId, InternalCreateBatchRequestEndpoint endpoint, IDictionary metadata = default, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(inputFileId, nameof(inputFileId));
+
+ InternalCreateBatchRequest spreadModel = new InternalCreateBatchRequest(default, endpoint, "24h", metadata, default);
+ ClientResult result = await this.CreateBatchAsync(spreadModel, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
+ return ClientResult.FromValue((InternalBatchJob)result, result.GetRawResponse());
+ }
+
public virtual ClientResult GetBatch(string batchId, RequestOptions options)
{
Argument.AssertNotNullOrEmpty(batchId, nameof(batchId));
diff --git a/src/Generated/ChatClient.RestClient.cs b/src/Generated/ChatClient.RestClient.cs
index 15c0f9f84..e9c2e9119 100644
--- a/src/Generated/ChatClient.RestClient.cs
+++ b/src/Generated/ChatClient.RestClient.cs
@@ -26,7 +26,7 @@ internal virtual PipelineMessage CreateGetChatCompletionsRequest(string after, i
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -40,7 +40,7 @@ internal virtual PipelineMessage CreateGetChatCompletionsRequest(string after, i
// Plugin customization: Properly handle metadata query parameters
uri.AppendQuery($"metadata[{@param.Key}]", @param.Value, true);
}
- // Plugin customization: remove unnecessary AppendQueryDelimited for metadata
+ uri.AppendQueryDelimited("metadata", list, ",", escape: true);
}
if (model != null)
{
@@ -121,7 +121,7 @@ internal virtual PipelineMessage CreateGetChatCompletionMessagesRequest(string c
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
diff --git a/src/Generated/ChatClient.cs b/src/Generated/ChatClient.cs
index 6b6c729ad..cfe1fc197 100644
--- a/src/Generated/ChatClient.cs
+++ b/src/Generated/ChatClient.cs
@@ -59,7 +59,7 @@ public virtual CollectionResult GetChatCompletions(ChatCompletio
options?.Order?.ToString(),
options?.Metadata,
options?.Model,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
[Experimental("OPENAI001")]
@@ -72,7 +72,7 @@ public virtual AsyncCollectionResult GetChatCompletionsAsync(Cha
options?.Order?.ToString(),
options?.Metadata,
options?.Model,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual ClientResult CompleteChat(BinaryContent content, RequestOptions options = null)
@@ -186,7 +186,7 @@ public virtual CollectionResult GetChatCompletio
options?.AfterId,
options?.PageSizeLimit,
options?.Order?.ToString(),
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
[Experimental("OPENAI001")]
@@ -200,7 +200,7 @@ public virtual AsyncCollectionResult GetChatComp
options?.AfterId,
options?.PageSizeLimit,
options?.Order?.ToString(),
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
}
}
diff --git a/src/Generated/ContainerClient.RestClient.cs b/src/Generated/ContainerClient.RestClient.cs
index 5b38e5b66..6a12e316c 100644
--- a/src/Generated/ContainerClient.RestClient.cs
+++ b/src/Generated/ContainerClient.RestClient.cs
@@ -21,7 +21,7 @@ internal virtual PipelineMessage CreateGetContainersRequest(int? limit, string o
uri.AppendPath("/containers", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -103,7 +103,7 @@ internal virtual PipelineMessage CreateGetContainerFilesRequest(string container
uri.AppendPath("/files", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
diff --git a/src/Generated/ContainerClient.cs b/src/Generated/ContainerClient.cs
index d329da35e..079adb1d7 100644
--- a/src/Generated/ContainerClient.cs
+++ b/src/Generated/ContainerClient.cs
@@ -35,12 +35,12 @@ public virtual AsyncCollectionResult GetContainersAsync(int? limit, string order
public virtual CollectionResult GetContainers(ContainerCollectionOptions options = default, CancellationToken cancellationToken = default)
{
- return new ContainerClientGetContainersCollectionResultOfT(this, options?.PageSizeLimit, options?.Order?.ToString(), options?.AfterId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ return new ContainerClientGetContainersCollectionResultOfT(this, options?.PageSizeLimit, options?.Order?.ToString(), options?.AfterId, cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetContainersAsync(ContainerCollectionOptions options = default, CancellationToken cancellationToken = default)
{
- return new ContainerClientGetContainersAsyncCollectionResultOfT(this, options?.PageSizeLimit, options?.Order?.ToString(), options?.AfterId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ return new ContainerClientGetContainersAsyncCollectionResultOfT(this, options?.PageSizeLimit, options?.Order?.ToString(), options?.AfterId, cancellationToken.ToRequestOptions());
}
public virtual ClientResult CreateContainer(BinaryContent content, RequestOptions options = null)
@@ -63,7 +63,7 @@ public virtual ClientResult CreateContainer(CreateContainerBo
{
Argument.AssertNotNull(body, nameof(body));
- ClientResult result = CreateContainer(body, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = CreateContainer(body, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((ContainerResource)result, result.GetRawResponse());
}
@@ -71,7 +71,7 @@ public virtual async Task> CreateContainerAsync(
{
Argument.AssertNotNull(body, nameof(body));
- ClientResult result = await CreateContainerAsync(body, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await CreateContainerAsync(body, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((ContainerResource)result, result.GetRawResponse());
}
@@ -95,7 +95,7 @@ public virtual ClientResult GetContainer(string containerId,
{
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
- ClientResult result = GetContainer(containerId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = GetContainer(containerId, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((ContainerResource)result, result.GetRawResponse());
}
@@ -103,7 +103,7 @@ public virtual async Task> GetContainerAsync(str
{
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
- ClientResult result = await GetContainerAsync(containerId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await GetContainerAsync(containerId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((ContainerResource)result, result.GetRawResponse());
}
@@ -127,7 +127,7 @@ public virtual ClientResult DeleteContainer(string cont
{
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
- ClientResult result = DeleteContainer(containerId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = DeleteContainer(containerId, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((DeleteContainerResponse)result, result.GetRawResponse());
}
@@ -135,7 +135,7 @@ public virtual async Task> DeleteContainer
{
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
- ClientResult result = await DeleteContainerAsync(containerId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await DeleteContainerAsync(containerId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((DeleteContainerResponse)result, result.GetRawResponse());
}
@@ -193,7 +193,7 @@ public virtual CollectionResult GetContainerFiles(string
options?.PageSizeLimit,
options?.Order?.ToString(),
options?.AfterId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetContainerFilesAsync(string containerId, ContainerFileCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -206,7 +206,7 @@ public virtual AsyncCollectionResult GetContainerFilesAsy
options?.PageSizeLimit,
options?.Order?.ToString(),
options?.AfterId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual ClientResult GetContainerFile(string containerId, string fileId, RequestOptions options)
@@ -232,7 +232,7 @@ public virtual ClientResult GetContainerFile(string conta
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
- ClientResult result = GetContainerFile(containerId, fileId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = GetContainerFile(containerId, fileId, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((ContainerFileResource)result, result.GetRawResponse());
}
@@ -241,7 +241,7 @@ public virtual async Task> GetContainerFileA
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
- ClientResult result = await GetContainerFileAsync(containerId, fileId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await GetContainerFileAsync(containerId, fileId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((ContainerFileResource)result, result.GetRawResponse());
}
@@ -268,7 +268,7 @@ public virtual ClientResult DeleteContainerFile(str
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
- ClientResult result = DeleteContainerFile(containerId, fileId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = DeleteContainerFile(containerId, fileId, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((DeleteContainerFileResponse)result, result.GetRawResponse());
}
@@ -277,7 +277,7 @@ public virtual async Task> DeleteConta
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
- ClientResult result = await DeleteContainerFileAsync(containerId, fileId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await DeleteContainerFileAsync(containerId, fileId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((DeleteContainerFileResponse)result, result.GetRawResponse());
}
@@ -304,7 +304,7 @@ public virtual ClientResult GetContainerFileContent(string container
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
- ClientResult result = GetContainerFileContent(containerId, fileId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = GetContainerFileContent(containerId, fileId, cancellationToken.ToRequestOptions());
return ClientResult.FromValue(result.GetRawResponse().Content, result.GetRawResponse());
}
@@ -313,7 +313,7 @@ public virtual async Task> GetContainerFileContentAsync
Argument.AssertNotNullOrEmpty(containerId, nameof(containerId));
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
- ClientResult result = await GetContainerFileContentAsync(containerId, fileId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await GetContainerFileContentAsync(containerId, fileId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue(result.GetRawResponse().Content, result.GetRawResponse());
}
}
diff --git a/src/Generated/EvaluationClient.RestClient.cs b/src/Generated/EvaluationClient.RestClient.cs
index dd065d28d..4dceba05f 100644
--- a/src/Generated/EvaluationClient.RestClient.cs
+++ b/src/Generated/EvaluationClient.RestClient.cs
@@ -28,7 +28,7 @@ internal virtual PipelineMessage CreateGetEvalsRequest(string after, int? limit,
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -113,7 +113,7 @@ internal virtual PipelineMessage CreateGetEvalRunsRequest(string evalId, string
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -206,7 +206,7 @@ internal virtual PipelineMessage CreateGetEvalRunOutputItemsRequest(string evalI
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (status != null)
{
diff --git a/src/Generated/FineTuningClient.RestClient.cs b/src/Generated/FineTuningClient.RestClient.cs
index 27e60988a..8ae0634f5 100644
--- a/src/Generated/FineTuningClient.RestClient.cs
+++ b/src/Generated/FineTuningClient.RestClient.cs
@@ -27,7 +27,7 @@ internal virtual PipelineMessage CreateGetFineTuningCheckpointPermissionsRequest
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -100,7 +100,7 @@ internal virtual PipelineMessage CreateGetPaginatedFineTuningJobsRequest(string
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
@@ -149,7 +149,7 @@ internal virtual PipelineMessage CreateGetFineTuningJobCheckpointsRequest(string
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
@@ -171,7 +171,7 @@ internal virtual PipelineMessage CreateGetFineTuningEventsRequest(string fineTun
}
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
diff --git a/src/Generated/Internal/CancellationTokenExtensions.cs b/src/Generated/Internal/CancellationTokenExtensions.cs
new file mode 100644
index 000000000..f73cb4abb
--- /dev/null
+++ b/src/Generated/Internal/CancellationTokenExtensions.cs
@@ -0,0 +1,14 @@
+//
+
+#nullable disable
+
+using System.ClientModel.Primitives;
+using System.Threading;
+
+namespace OpenAI
+{
+ internal static partial class CancellationTokenExtensions
+ {
+ public static RequestOptions ToRequestOptions(this CancellationToken cancellationToken) => cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null;
+ }
+}
diff --git a/src/Generated/Internal/ClientUriBuilder.cs b/src/Generated/Internal/ClientUriBuilder.cs
index 066512b50..fed6cbdab 100644
--- a/src/Generated/Internal/ClientUriBuilder.cs
+++ b/src/Generated/Internal/ClientUriBuilder.cs
@@ -12,8 +12,8 @@ namespace OpenAI
internal partial class ClientUriBuilder
{
private UriBuilder _uriBuilder;
- private StringBuilder _pathBuilder;
- private StringBuilder _queryBuilder;
+ private StringBuilder _pathAndQuery;
+ private int _pathLength;
public ClientUriBuilder()
{
@@ -21,15 +21,14 @@ public ClientUriBuilder()
private UriBuilder UriBuilder => _uriBuilder ??= new UriBuilder();
- private StringBuilder PathBuilder => _pathBuilder ??= new StringBuilder(UriBuilder.Path);
-
- private StringBuilder QueryBuilder => _queryBuilder ??= new StringBuilder(UriBuilder.Query);
+ private StringBuilder PathAndQuery => _pathAndQuery ??= new StringBuilder();
public void Reset(Uri uri)
{
_uriBuilder = new UriBuilder(uri);
- _pathBuilder = new StringBuilder(UriBuilder.Path);
- _queryBuilder = new StringBuilder(UriBuilder.Query);
+ PathAndQuery.Clear();
+ PathAndQuery.Append(UriBuilder.Path);
+ _pathLength = PathAndQuery.Length;
}
public void AppendPath(string value, bool escape)
@@ -38,12 +37,13 @@ public void AppendPath(string value, bool escape)
{
value = Uri.EscapeDataString(value);
}
- if (PathBuilder.Length > 0 && PathBuilder[PathBuilder.Length - 1] == '/' && value[0] == '/')
+ if (_pathLength > 0 && PathAndQuery[_pathLength - 1] == '/' && value[0] == '/')
{
- PathBuilder.Remove(PathBuilder.Length - 1, 1);
+ PathAndQuery.Remove(_pathLength - 1, 1);
+ _pathLength = _pathLength - 1;
}
- PathBuilder.Append(value);
- UriBuilder.Path = PathBuilder.ToString();
+ PathAndQuery.Insert(_pathLength, value);
+ _pathLength = _pathLength + value.Length;
}
public void AppendPath(bool value, bool escape = false) => AppendPath(TypeFormatters.ConvertToString(value), escape);
@@ -54,17 +54,17 @@ public void AppendPath(string value, bool escape)
public void AppendPath(int value, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value), escape);
- public void AppendPath(byte[] value, string format, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value, format), escape);
+ public void AppendPath(byte[] value, SerializationFormat format = SerializationFormat.Default, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value, format), escape);
- public void AppendPath(DateTimeOffset value, string format, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value, format), escape);
+ public void AppendPath(DateTimeOffset value, SerializationFormat format = SerializationFormat.Default, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value, format), escape);
- public void AppendPath(TimeSpan value, string format, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value, format), escape);
+ public void AppendPath(TimeSpan value, SerializationFormat format = SerializationFormat.Default, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value, format), escape);
public void AppendPath(Guid value, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value), escape);
public void AppendPath(long value, bool escape = true) => AppendPath(TypeFormatters.ConvertToString(value), escape);
- public void AppendPathDelimited(IEnumerable value, string delimiter, string format = null, bool escape = true)
+ public void AppendPathDelimited(IEnumerable value, string delimiter, SerializationFormat format = SerializationFormat.Default, bool escape = true)
{
delimiter ??= ",";
IEnumerable stringValues = value.Select(v => TypeFormatters.ConvertToString(v, format));
@@ -73,26 +73,30 @@ public void AppendPathDelimited(IEnumerable value, string delimiter, strin
public void AppendQuery(string name, string value, bool escape)
{
- if (QueryBuilder.Length > 0)
+ if (PathAndQuery.Length == _pathLength)
+ {
+ PathAndQuery.Append('?');
+ }
+ if (PathAndQuery.Length > _pathLength && PathAndQuery[PathAndQuery.Length - 1] != '?')
{
- QueryBuilder.Append('&');
+ PathAndQuery.Append('&');
}
if (escape)
{
value = Uri.EscapeDataString(value);
}
- QueryBuilder.Append(name);
- QueryBuilder.Append('=');
- QueryBuilder.Append(value);
+ PathAndQuery.Append(name);
+ PathAndQuery.Append('=');
+ PathAndQuery.Append(value);
}
public void AppendQuery(string name, bool value, bool escape = false) => AppendQuery(name, TypeFormatters.ConvertToString(value), escape);
public void AppendQuery(string name, float value, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value), escape);
- public void AppendQuery(string name, DateTimeOffset value, string format, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value, format), escape);
+ public void AppendQuery(string name, DateTimeOffset value, SerializationFormat format = SerializationFormat.Default, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value, format), escape);
- public void AppendQuery(string name, TimeSpan value, string format, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value, format), escape);
+ public void AppendQuery(string name, TimeSpan value, SerializationFormat format = SerializationFormat.Default, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value, format), escape);
public void AppendQuery(string name, double value, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value), escape);
@@ -104,11 +108,11 @@ public void AppendQuery(string name, string value, bool escape)
public void AppendQuery(string name, TimeSpan value, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value), escape);
- public void AppendQuery(string name, byte[] value, string format, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value, format), escape);
+ public void AppendQuery(string name, byte[] value, SerializationFormat format = SerializationFormat.Default, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value, format), escape);
public void AppendQuery(string name, Guid value, bool escape = true) => AppendQuery(name, TypeFormatters.ConvertToString(value), escape);
- public void AppendQueryDelimited(string name, IEnumerable value, string delimiter, string format = null, bool escape = true)
+ public void AppendQueryDelimited(string name, IEnumerable value, string delimiter, SerializationFormat format = SerializationFormat.Default, bool escape = true)
{
delimiter ??= ",";
IEnumerable stringValues = value.Select(v => TypeFormatters.ConvertToString(v, format));
@@ -117,13 +121,14 @@ public void AppendQueryDelimited(string name, IEnumerable value, string de
public Uri ToUri()
{
- if (_pathBuilder != null)
+ UriBuilder.Path = PathAndQuery.ToString(0, _pathLength);
+ if (PathAndQuery.Length > _pathLength)
{
- UriBuilder.Path = _pathBuilder.ToString();
+ UriBuilder.Query = PathAndQuery.ToString(_pathLength + 1, PathAndQuery.Length - _pathLength - 1);
}
- if (_queryBuilder != null)
+ if (PathAndQuery.Length == _pathLength)
{
- UriBuilder.Query = _queryBuilder.ToString();
+ UriBuilder.Query = "";
}
return UriBuilder.Uri;
}
diff --git a/src/Generated/Internal/CodeGenSerializationAttribute.cs b/src/Generated/Internal/CodeGenSerializationAttribute.cs
index b46b91845..8a8f77ddc 100644
--- a/src/Generated/Internal/CodeGenSerializationAttribute.cs
+++ b/src/Generated/Internal/CodeGenSerializationAttribute.cs
@@ -14,15 +14,15 @@ public CodeGenSerializationAttribute(string propertyName)
PropertyName = propertyName;
}
- public CodeGenSerializationAttribute(string propertyName, string propertySerializationName)
+ public CodeGenSerializationAttribute(string propertyName, string serializationName)
{
PropertyName = propertyName;
- PropertySerializationName = propertySerializationName;
+ SerializationName = serializationName;
}
public string PropertyName { get; }
- public string PropertySerializationName { get; set; }
+ public string SerializationName { get; set; }
public string SerializationValueHook { get; set; }
diff --git a/src/Generated/Internal/PipelineRequestHeadersExtensions.cs b/src/Generated/Internal/PipelineRequestHeadersExtensions.cs
index e1849facc..a67174cc9 100644
--- a/src/Generated/Internal/PipelineRequestHeadersExtensions.cs
+++ b/src/Generated/Internal/PipelineRequestHeadersExtensions.cs
@@ -16,7 +16,7 @@ public static void SetDelimited(this PipelineRequestHeaders headers, string n
headers.Set(name, string.Join(delimiter, stringValues));
}
- public static void SetDelimited(this PipelineRequestHeaders headers, string name, IEnumerable value, string delimiter, string format)
+ public static void SetDelimited(this PipelineRequestHeaders headers, string name, IEnumerable value, string delimiter, SerializationFormat format)
{
IEnumerable stringValues = value.Select(v => TypeFormatters.ConvertToString(v, format));
headers.Set(name, string.Join(delimiter, stringValues));
diff --git a/src/Generated/Internal/SerializationFormat.cs b/src/Generated/Internal/SerializationFormat.cs
new file mode 100644
index 000000000..905014d92
--- /dev/null
+++ b/src/Generated/Internal/SerializationFormat.cs
@@ -0,0 +1,28 @@
+//
+
+#nullable disable
+
+namespace OpenAI
+{
+ internal enum SerializationFormat
+ {
+ Default = 0,
+ DateTime_RFC1123 = 1,
+ DateTime_RFC3339 = 2,
+ DateTime_RFC7231 = 3,
+ DateTime_ISO8601 = 4,
+ DateTime_Unix = 5,
+ Date_ISO8601 = 6,
+ Duration_ISO8601 = 7,
+ Duration_Constant = 8,
+ Duration_Seconds = 9,
+ Duration_Seconds_Float = 10,
+ Duration_Seconds_Double = 11,
+ Duration_Milliseconds = 12,
+ Duration_Milliseconds_Float = 13,
+ Duration_Milliseconds_Double = 14,
+ Time_ISO8601 = 15,
+ Bytes_Base64Url = 16,
+ Bytes_Base64 = 17
+ }
+}
diff --git a/src/Generated/Internal/TypeFormatters.cs b/src/Generated/Internal/TypeFormatters.cs
index e21a80fff..a64c01c73 100644
--- a/src/Generated/Internal/TypeFormatters.cs
+++ b/src/Generated/Internal/TypeFormatters.cs
@@ -131,20 +131,48 @@ public static byte[] FromBase64UrlString(string value)
_ => TimeSpan.ParseExact(value, format, CultureInfo.InvariantCulture)
};
- public static string ConvertToString(object value, string format = null) => value switch
+ public static string ToFormatSpecifier(SerializationFormat format) => format switch
{
- null => "null",
- string s => s,
- bool b => ToString(b),
- int or float or double or long or decimal => ((IFormattable)value).ToString(DefaultNumberFormat, CultureInfo.InvariantCulture),
- byte[] b0 when format != null => ToString(b0, format),
- IEnumerable s0 => string.Join(",", s0),
- DateTimeOffset dateTime when format != null => ToString(dateTime, format),
- TimeSpan timeSpan when format != null => ToString(timeSpan, format),
- TimeSpan timeSpan0 => System.Xml.XmlConvert.ToString(timeSpan0),
- Guid guid => guid.ToString(),
- BinaryData binaryData => ConvertToString(binaryData.ToArray(), format),
- _ => value.ToString()
+ SerializationFormat.DateTime_RFC1123 => "R",
+ SerializationFormat.DateTime_RFC3339 => "O",
+ SerializationFormat.DateTime_RFC7231 => "R",
+ SerializationFormat.DateTime_ISO8601 => "O",
+ SerializationFormat.Date_ISO8601 => "D",
+ SerializationFormat.DateTime_Unix => "U",
+ SerializationFormat.Bytes_Base64Url => "U",
+ SerializationFormat.Bytes_Base64 => "D",
+ SerializationFormat.Duration_ISO8601 => "P",
+ SerializationFormat.Duration_Constant => "c",
+ SerializationFormat.Duration_Seconds => "%s",
+ SerializationFormat.Duration_Seconds_Float => "s\\.FFF",
+ SerializationFormat.Duration_Seconds_Double => "s\\.FFFFFF",
+ SerializationFormat.Time_ISO8601 => "T",
+ _ => null
};
+
+ public static string ConvertToString(object value, SerializationFormat format = SerializationFormat.Default)
+ {
+ string formatSpecifier = ToFormatSpecifier(format);
+
+ return value switch
+ {
+ null => "null",
+ string s => s,
+ bool b => ToString(b),
+ int or float or double or long or decimal => ((IFormattable)value).ToString(DefaultNumberFormat, CultureInfo.InvariantCulture),
+ byte[] b0 when formatSpecifier != null => ToString(b0, formatSpecifier),
+ IEnumerable s0 => string.Join(",", s0),
+ DateTimeOffset dateTime when formatSpecifier != null => ToString(dateTime, formatSpecifier),
+ TimeSpan timeSpan when format == SerializationFormat.Duration_Seconds => Convert.ToInt32(timeSpan.TotalSeconds).ToString(CultureInfo.InvariantCulture),
+ TimeSpan timeSpan0 when format == SerializationFormat.Duration_Seconds_Float || format == SerializationFormat.Duration_Seconds_Double => timeSpan0.TotalSeconds.ToString(CultureInfo.InvariantCulture),
+ TimeSpan timeSpan1 when format == SerializationFormat.Duration_Milliseconds => Convert.ToInt32(timeSpan1.TotalMilliseconds).ToString(CultureInfo.InvariantCulture),
+ TimeSpan timeSpan2 when format == SerializationFormat.Duration_Milliseconds_Float || format == SerializationFormat.Duration_Milliseconds_Double => timeSpan2.TotalMilliseconds.ToString(CultureInfo.InvariantCulture),
+ TimeSpan timeSpan3 when formatSpecifier != null => ToString(timeSpan3, formatSpecifier),
+ TimeSpan timeSpan4 => System.Xml.XmlConvert.ToString(timeSpan4),
+ Guid guid => guid.ToString(),
+ BinaryData binaryData => ConvertToString(binaryData.ToArray(), format),
+ _ => value.ToString()
+ };
+ }
}
}
diff --git a/src/Generated/InternalAssistantMessageClient.RestClient.cs b/src/Generated/InternalAssistantMessageClient.RestClient.cs
index ab5d9b32c..fab185688 100644
--- a/src/Generated/InternalAssistantMessageClient.RestClient.cs
+++ b/src/Generated/InternalAssistantMessageClient.RestClient.cs
@@ -40,7 +40,7 @@ internal virtual PipelineMessage CreateGetMessagesRequest(string threadId, int?
uri.AppendPath("/messages", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
diff --git a/src/Generated/InternalAssistantMessageClient.cs b/src/Generated/InternalAssistantMessageClient.cs
index 3b6cd0893..b23d3740d 100644
--- a/src/Generated/InternalAssistantMessageClient.cs
+++ b/src/Generated/InternalAssistantMessageClient.cs
@@ -65,7 +65,7 @@ public virtual CollectionResult GetMessages(string threadId, Mess
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetMessagesAsync(string threadId, MessageCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -79,7 +79,7 @@ public virtual AsyncCollectionResult GetMessagesAsync(string thre
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
}
}
diff --git a/src/Generated/InternalAssistantRunClient.RestClient.cs b/src/Generated/InternalAssistantRunClient.RestClient.cs
index 4b08005d3..b7f980c96 100644
--- a/src/Generated/InternalAssistantRunClient.RestClient.cs
+++ b/src/Generated/InternalAssistantRunClient.RestClient.cs
@@ -39,7 +39,7 @@ internal virtual PipelineMessage CreateCreateRunRequest(string threadId, BinaryC
uri.AppendPath("/runs", false);
if (include != null && !(include is ChangeTrackingList changeTrackingList && changeTrackingList.IsUndefined))
{
- uri.AppendQueryDelimited("include[]", include, ",", null, true);
+ uri.AppendQueryDelimited("include[]", include, ",", escape: true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "POST", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
@@ -60,7 +60,7 @@ internal virtual PipelineMessage CreateGetRunsRequest(string threadId, int? limi
uri.AppendPath("/runs", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -163,7 +163,7 @@ internal virtual PipelineMessage CreateGetRunStepsRequest(string threadId, strin
uri.AppendPath("/steps", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -179,7 +179,7 @@ internal virtual PipelineMessage CreateGetRunStepsRequest(string threadId, strin
}
if (include != null && !(include is ChangeTrackingList changeTrackingList && changeTrackingList.IsUndefined))
{
- uri.AppendQueryDelimited("include[]", include, ",", null, true);
+ uri.AppendQueryDelimited("include[]", include, ",", escape: true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
@@ -201,7 +201,7 @@ internal virtual PipelineMessage CreateGetRunStepRequest(string threadId, string
uri.AppendPath(stepId, true);
if (include != null && !(include is ChangeTrackingList changeTrackingList && changeTrackingList.IsUndefined))
{
- uri.AppendQueryDelimited("include[]", include, ",", null, true);
+ uri.AppendQueryDelimited("include[]", include, ",", escape: true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
diff --git a/src/Generated/InternalAssistantRunClient.cs b/src/Generated/InternalAssistantRunClient.cs
index c92764d95..41e95c3d2 100644
--- a/src/Generated/InternalAssistantRunClient.cs
+++ b/src/Generated/InternalAssistantRunClient.cs
@@ -67,7 +67,7 @@ public virtual CollectionResult GetRuns(string threadId, RunCollectio
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetRunsAsync(string threadId, RunCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -81,7 +81,7 @@ public virtual AsyncCollectionResult GetRunsAsync(string threadId, Ru
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual ClientResult GetRun(string threadId, string runId, RequestOptions options)
@@ -107,7 +107,7 @@ public virtual ClientResult GetRun(string threadId, string runId, Can
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
Argument.AssertNotNullOrEmpty(runId, nameof(runId));
- ClientResult result = GetRun(threadId, runId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = GetRun(threadId, runId, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((ThreadRun)result, result.GetRawResponse());
}
@@ -116,7 +116,7 @@ public virtual async Task> GetRunAsync(string threadId,
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
Argument.AssertNotNullOrEmpty(runId, nameof(runId));
- ClientResult result = await GetRunAsync(threadId, runId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await GetRunAsync(threadId, runId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((ThreadRun)result, result.GetRawResponse());
}
@@ -168,7 +168,7 @@ public virtual CollectionResult GetRunSteps(string threadId, string run
options?.AfterId,
options?.BeforeId,
include,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetRunStepsAsync(string threadId, string runId, RunStepCollectionOptions options = default, IEnumerable include = default, CancellationToken cancellationToken = default)
@@ -185,7 +185,7 @@ public virtual AsyncCollectionResult GetRunStepsAsync(string threadId,
options?.AfterId,
options?.BeforeId,
include,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual ClientResult GetRunStep(string threadId, string runId, string stepId, IEnumerable include, RequestOptions options)
@@ -214,7 +214,7 @@ public virtual ClientResult GetRunStep(string threadId, string runId, s
Argument.AssertNotNullOrEmpty(runId, nameof(runId));
Argument.AssertNotNullOrEmpty(stepId, nameof(stepId));
- ClientResult result = GetRunStep(threadId, runId, stepId, include, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = GetRunStep(threadId, runId, stepId, include, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((RunStep)result, result.GetRawResponse());
}
@@ -224,7 +224,7 @@ public virtual async Task> GetRunStepAsync(string threadId
Argument.AssertNotNullOrEmpty(runId, nameof(runId));
Argument.AssertNotNullOrEmpty(stepId, nameof(stepId));
- ClientResult result = await GetRunStepAsync(threadId, runId, stepId, include, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await GetRunStepAsync(threadId, runId, stepId, include, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((RunStep)result, result.GetRawResponse());
}
}
diff --git a/src/Generated/InternalUploadsClient.cs b/src/Generated/InternalUploadsClient.cs
index 7f851752c..0d80c7915 100644
--- a/src/Generated/InternalUploadsClient.cs
+++ b/src/Generated/InternalUploadsClient.cs
@@ -47,7 +47,7 @@ public virtual ClientResult CreateUpload(InternalCreateUploadReq
{
Argument.AssertNotNull(requestBody, nameof(requestBody));
- ClientResult result = CreateUpload(requestBody, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = CreateUpload(requestBody, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((InternalUpload)result, result.GetRawResponse());
}
@@ -55,7 +55,7 @@ public virtual async Task> CreateUploadAsync(Intern
{
Argument.AssertNotNull(requestBody, nameof(requestBody));
- ClientResult result = await CreateUploadAsync(requestBody, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await CreateUploadAsync(requestBody, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((InternalUpload)result, result.GetRawResponse());
}
@@ -100,7 +100,7 @@ public virtual ClientResult CompleteUpload(string uploadId, Inte
Argument.AssertNotNullOrEmpty(uploadId, nameof(uploadId));
Argument.AssertNotNull(requestBody, nameof(requestBody));
- ClientResult result = CompleteUpload(uploadId, requestBody, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = CompleteUpload(uploadId, requestBody, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((InternalUpload)result, result.GetRawResponse());
}
@@ -109,7 +109,7 @@ public virtual async Task> CompleteUploadAsync(stri
Argument.AssertNotNullOrEmpty(uploadId, nameof(uploadId));
Argument.AssertNotNull(requestBody, nameof(requestBody));
- ClientResult result = await CompleteUploadAsync(uploadId, requestBody, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await CompleteUploadAsync(uploadId, requestBody, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((InternalUpload)result, result.GetRawResponse());
}
@@ -133,7 +133,7 @@ public virtual ClientResult CancelUpload(string uploadId, Cancel
{
Argument.AssertNotNullOrEmpty(uploadId, nameof(uploadId));
- ClientResult result = CancelUpload(uploadId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = CancelUpload(uploadId, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((InternalUpload)result, result.GetRawResponse());
}
@@ -141,7 +141,7 @@ public virtual async Task> CancelUploadAsync(string
{
Argument.AssertNotNullOrEmpty(uploadId, nameof(uploadId));
- ClientResult result = await CancelUploadAsync(uploadId, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await CancelUploadAsync(uploadId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((InternalUpload)result, result.GetRawResponse());
}
}
diff --git a/src/Generated/LegacyCompletionClient.cs b/src/Generated/LegacyCompletionClient.cs
index 06e2f1fb7..df2a3aaaa 100644
--- a/src/Generated/LegacyCompletionClient.cs
+++ b/src/Generated/LegacyCompletionClient.cs
@@ -41,7 +41,7 @@ public virtual ClientResult CreateCompletion(I
{
Argument.AssertNotNull(requestBody, nameof(requestBody));
- ClientResult result = CreateCompletion(requestBody, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ ClientResult result = CreateCompletion(requestBody, cancellationToken.ToRequestOptions());
return ClientResult.FromValue((InternalCreateCompletionResponse)result, result.GetRawResponse());
}
@@ -49,7 +49,7 @@ public virtual async Task> Create
{
Argument.AssertNotNull(requestBody, nameof(requestBody));
- ClientResult result = await CreateCompletionAsync(requestBody, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null).ConfigureAwait(false);
+ ClientResult result = await CreateCompletionAsync(requestBody, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue((InternalCreateCompletionResponse)result, result.GetRawResponse());
}
}
diff --git a/src/Generated/Models/Assistants/Assistant.Serialization.cs b/src/Generated/Models/Assistants/Assistant.Serialization.cs
index eed6ffb4e..8a109654b 100644
--- a/src/Generated/Models/Assistants/Assistant.Serialization.cs
+++ b/src/Generated/Models/Assistants/Assistant.Serialization.cs
@@ -356,7 +356,7 @@ protected virtual Assistant PersistableModelCreateCore(BinaryData data, ModelRea
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistant(document.RootElement, options);
}
@@ -369,8 +369,8 @@ protected virtual Assistant PersistableModelCreateCore(BinaryData data, ModelRea
public static explicit operator Assistant(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeAssistant(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/AssistantCollectionOptions.Serialization.cs b/src/Generated/Models/Assistants/AssistantCollectionOptions.Serialization.cs
index c46a1bc20..82d9d5e20 100644
--- a/src/Generated/Models/Assistants/AssistantCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/AssistantCollectionOptions.Serialization.cs
@@ -102,7 +102,7 @@ protected virtual AssistantCollectionOptions PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs
index 69ec65b58..6850d269d 100644
--- a/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs
@@ -317,7 +317,7 @@ protected virtual AssistantCreationOptions PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantCreationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs
index 2efa5e531..288b67197 100644
--- a/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs
+++ b/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual AssistantDeletionResult PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantDeletionResult(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual AssistantDeletionResult PersistableModelCreateCore(BinaryData
public static explicit operator AssistantDeletionResult(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeAssistantDeletionResult(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs
index ffec048f2..fa9c62ee2 100644
--- a/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs
@@ -313,7 +313,7 @@ protected virtual AssistantModificationOptions PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantModificationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/AssistantResponseFormat.Serialization.cs b/src/Generated/Models/Assistants/AssistantResponseFormat.Serialization.cs
index cbe87a0f2..e2a9cbb86 100644
--- a/src/Generated/Models/Assistants/AssistantResponseFormat.Serialization.cs
+++ b/src/Generated/Models/Assistants/AssistantResponseFormat.Serialization.cs
@@ -79,7 +79,7 @@ protected virtual AssistantResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantResponseFormat(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/AssistantThread.Serialization.cs b/src/Generated/Models/Assistants/AssistantThread.Serialization.cs
index e6dac8763..2430184b9 100644
--- a/src/Generated/Models/Assistants/AssistantThread.Serialization.cs
+++ b/src/Generated/Models/Assistants/AssistantThread.Serialization.cs
@@ -205,7 +205,7 @@ protected virtual AssistantThread PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantThread(document.RootElement, options);
}
@@ -218,8 +218,8 @@ protected virtual AssistantThread PersistableModelCreateCore(BinaryData data, Mo
public static explicit operator AssistantThread(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeAssistantThread(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.Serialization.cs
index c27a8bc43..fa7698bc7 100644
--- a/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.Serialization.cs
+++ b/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.Serialization.cs
@@ -85,7 +85,7 @@ protected override ToolDefinition PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterToolDefinition(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/CodeInterpreterToolResources.Serialization.cs b/src/Generated/Models/Assistants/CodeInterpreterToolResources.Serialization.cs
index 4ec2a01a5..41c14c598 100644
--- a/src/Generated/Models/Assistants/CodeInterpreterToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/CodeInterpreterToolResources.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual CodeInterpreterToolResources PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/FileSearchRankingOptions.Serialization.cs b/src/Generated/Models/Assistants/FileSearchRankingOptions.Serialization.cs
index b44a617a9..f79e1d3bd 100644
--- a/src/Generated/Models/Assistants/FileSearchRankingOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/FileSearchRankingOptions.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual FileSearchRankingOptions PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileSearchRankingOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/FileSearchToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/FileSearchToolDefinition.Serialization.cs
index 4e373396b..281bb7ba7 100644
--- a/src/Generated/Models/Assistants/FileSearchToolDefinition.Serialization.cs
+++ b/src/Generated/Models/Assistants/FileSearchToolDefinition.Serialization.cs
@@ -100,7 +100,7 @@ protected override ToolDefinition PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileSearchToolDefinition(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/FileSearchToolResources.Serialization.cs b/src/Generated/Models/Assistants/FileSearchToolResources.Serialization.cs
index f5fb18efd..50674fffc 100644
--- a/src/Generated/Models/Assistants/FileSearchToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/FileSearchToolResources.Serialization.cs
@@ -155,7 +155,7 @@ protected virtual FileSearchToolResources PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileSearchToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/FunctionToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/FunctionToolDefinition.Serialization.cs
index 1fd6d27b3..356040df6 100644
--- a/src/Generated/Models/Assistants/FunctionToolDefinition.Serialization.cs
+++ b/src/Generated/Models/Assistants/FunctionToolDefinition.Serialization.cs
@@ -96,7 +96,7 @@ protected override ToolDefinition PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFunctionToolDefinition(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs
index a0b4f7384..c7b724cb2 100644
--- a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalAssistantToolsFileSearchFileSearch PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalAssistantToolsFileSearchFileSearch(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs
index a91131e21..7a7fd2b9a 100644
--- a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual InternalAssistantToolsFileSearchTypeOnly PersistableModelCreat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalAssistantToolsFileSearchTypeOnly(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.Serialization.cs
index 65ed7e459..76b8648df 100644
--- a/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalAssistantsNamedToolChoiceFunction PersistableModelCrea
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalAssistantsNamedToolChoiceFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.Serialization.cs
index af92a1088..2e6a38d50 100644
--- a/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalCreateAssistantRequestToolResources PersistableModelCr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateAssistantRequestToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs
index 833c86067..1c1455193 100644
--- a/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalCreateAssistantRequestToolResourcesCodeInterpreter Per
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateAssistantRequestToolResourcesCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs
index a224168ed..a9b4b8b92 100644
--- a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs
@@ -399,7 +399,7 @@ protected virtual InternalCreateThreadAndRunRequest PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateThreadAndRunRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.Serialization.cs
index 17a267c4a..ee0880a4a 100644
--- a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalCreateThreadAndRunRequestToolResources PersistableMode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateThreadAndRunRequestToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs
index 5a4efe6d8..1cf99fc3d 100644
--- a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateThreadAndRunRequestToolResourcesCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.Serialization.cs
index 076ba0ad4..0fbf7d225 100644
--- a/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalCreateThreadRequestToolResources PersistableModelCreat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateThreadRequestToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs
index 30adfa959..a21eec8c3 100644
--- a/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalCreateThreadRequestToolResourcesCodeInterpreter Persis
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateThreadRequestToolResourcesCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs
index fe35bf614..daa025f1e 100644
--- a/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs
@@ -98,7 +98,7 @@ protected virtual InternalCreateThreadRequestToolResourcesFileSearchBase Persist
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateThreadRequestToolResourcesFileSearchBase(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs
index dbc234ff6..9ac209d42 100644
--- a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs
@@ -86,7 +86,7 @@ protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetAssistantResponseFormatJsonObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs
index feffd4431..c62701e7b 100644
--- a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs
@@ -101,7 +101,7 @@ protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetAssistantResponseFormatJsonSchema(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs
index c158535a1..4f4c3f570 100644
--- a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs
@@ -162,7 +162,7 @@ protected virtual InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema Pers
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetAssistantResponseFormatJsonSchemaJsonSchema(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.Serialization.cs
index 348939d31..9f466425f 100644
--- a/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.Serialization.cs
@@ -86,7 +86,7 @@ protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetAssistantResponseFormatText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs
index dd0e50630..7f5d6406f 100644
--- a/src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs
@@ -175,7 +175,7 @@ protected virtual InternalListAssistantsResponse PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListAssistantsResponse(document.RootElement, options);
}
@@ -188,8 +188,8 @@ protected virtual InternalListAssistantsResponse PersistableModelCreateCore(Bina
public static explicit operator InternalListAssistantsResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListAssistantsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs
index a4ce553b5..2ce178cd8 100644
--- a/src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs
@@ -175,7 +175,7 @@ protected virtual InternalListMessagesResponse PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListMessagesResponse(document.RootElement, options);
}
@@ -188,8 +188,8 @@ protected virtual InternalListMessagesResponse PersistableModelCreateCore(Binary
public static explicit operator InternalListMessagesResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListMessagesResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs
index 739661052..b216c31bb 100644
--- a/src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs
@@ -175,7 +175,7 @@ protected virtual InternalListRunStepsResponse PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListRunStepsResponse(document.RootElement, options);
}
@@ -188,8 +188,8 @@ protected virtual InternalListRunStepsResponse PersistableModelCreateCore(Binary
public static explicit operator InternalListRunStepsResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListRunStepsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs
index 6abb47d79..c96223adf 100644
--- a/src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs
@@ -175,7 +175,7 @@ protected virtual InternalListRunsResponse PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListRunsResponse(document.RootElement, options);
}
@@ -188,8 +188,8 @@ protected virtual InternalListRunsResponse PersistableModelCreateCore(BinaryData
public static explicit operator InternalListRunsResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListRunsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentImageFileObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentImageFileObject.Serialization.cs
index 27f107307..6c0904baf 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentImageFileObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentImageFileObject.Serialization.cs
@@ -100,7 +100,7 @@ protected override MessageContent PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentImageFileObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.Serialization.cs
index 2e6042915..e5e864c94 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.Serialization.cs
@@ -100,7 +100,7 @@ protected override MessageContent PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentImageUrlObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs
index cc3e657ba..d67e898dd 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalMessageContentImageUrlObjectImageUrl PersistableModelC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentImageUrlObjectImageUrl(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.Serialization.cs
index a4bbb902a..c9d402e51 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalMessageContentItemFileObjectImageFile PersistableModel
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentItemFileObjectImageFile(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentRefusalObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentRefusalObject.Serialization.cs
index 22762db37..7aa2ce5df 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentRefusalObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentRefusalObject.Serialization.cs
@@ -100,7 +100,7 @@ protected override MessageContent PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentRefusalObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs
index 6c8fe0660..72c8f8f0e 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs
@@ -139,7 +139,7 @@ protected override InternalMessageContentTextObjectAnnotation PersistableModelCr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextAnnotationsFileCitationObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs
index 364120b4d..1ce0cd341 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalMessageContentTextAnnotationsFileCitationObjectFileCit
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextAnnotationsFileCitationObjectFileCitation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs
index 9fa7806b8..c4af9c940 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs
@@ -139,7 +139,7 @@ protected override InternalMessageContentTextObjectAnnotation PersistableModelCr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextAnnotationsFilePathObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs
index 012aabbd1..caf4e4a20 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalMessageContentTextAnnotationsFilePathObjectFilePath Pe
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextAnnotationsFilePathObjectFilePath(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentTextObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObject.Serialization.cs
index 380e08340..4385e63a7 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentTextObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentTextObject.Serialization.cs
@@ -57,7 +57,7 @@ protected override MessageContent PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.Serialization.cs
index e77add85a..b0011d773 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual InternalMessageContentTextObjectAnnotation PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextObjectAnnotation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.Serialization.cs
index 2bb64d713..f8c7f317b 100644
--- a/src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalMessageContentTextObjectText1 PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextObjectText1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContent.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContent.Serialization.cs
index f4f16a259..78c50118a 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContent.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContent.Serialization.cs
@@ -115,7 +115,7 @@ protected virtual InternalMessageDeltaContent PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.Serialization.cs
index 31e8b999a..779d2e205 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.Serialization.cs
@@ -115,7 +115,7 @@ protected override InternalMessageDeltaContent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentImageFileObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs
index 0a7653d51..beacff9dd 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalMessageDeltaContentImageFileObjectImageFile Persistabl
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentImageFileObjectImageFile(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.Serialization.cs
index 0774e883e..537d1632c 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.Serialization.cs
@@ -115,7 +115,7 @@ protected override InternalMessageDeltaContent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentImageUrlObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs
index cb66aa532..1fe967773 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalMessageDeltaContentImageUrlObjectImageUrl PersistableM
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentImageUrlObjectImageUrl(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.Serialization.cs
index 2688e23c6..dd3fc3193 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.Serialization.cs
@@ -111,7 +111,7 @@ protected override InternalMessageDeltaContent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentRefusalObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs
index e608b001c..376f1ccbe 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs
@@ -163,7 +163,7 @@ protected override InternalMessageDeltaTextContentAnnotation PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentTextAnnotationsFileCitationObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs
index 3f0acc31f..8979bcf55 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalMessageDeltaContentTextAnnotationsFileCitationObjectFi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs
index 55b6f92ab..5934853d8 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs
@@ -163,7 +163,7 @@ protected override InternalMessageDeltaTextContentAnnotation PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentTextAnnotationsFilePathObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs
index 156a9c647..c012c4e48 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.Serialization.cs
index 478e26d76..302f7a088 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.Serialization.cs
@@ -115,7 +115,7 @@ protected override InternalMessageDeltaContent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentTextObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.Serialization.cs
index 2c3363477..06f908ab5 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.Serialization.cs
@@ -134,7 +134,7 @@ protected virtual InternalMessageDeltaContentTextObjectText PersistableModelCrea
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContentTextObjectText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObject.Serialization.cs
index fefad41d2..e8404e29b 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaObject.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalMessageDeltaObject PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs
index 1fbea1dce..4d86b0728 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs
@@ -138,7 +138,7 @@ protected virtual InternalMessageDeltaObjectDelta PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaObjectDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.Serialization.cs
index 9d912cfdc..9a5fdc37f 100644
--- a/src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual InternalMessageDeltaTextContentAnnotation PersistableModelCrea
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaTextContentAnnotation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalMessageObjectAttachment.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageObjectAttachment.Serialization.cs
index 50b8fcbc3..a74ef7a7e 100644
--- a/src/Generated/Models/Assistants/InternalMessageObjectAttachment.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalMessageObjectAttachment.Serialization.cs
@@ -153,7 +153,7 @@ protected virtual InternalMessageObjectAttachment PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageObjectAttachment(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.Serialization.cs
index 21ed76564..7156afb89 100644
--- a/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalModifyAssistantRequestToolResources PersistableModelCr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalModifyAssistantRequestToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs
index 183823da7..8a4569368 100644
--- a/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalModifyAssistantRequestToolResourcesCodeInterpreter Per
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalModifyAssistantRequestToolResourcesCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.Serialization.cs
index 3386aa530..1ea0ff26b 100644
--- a/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalModifyThreadRequestToolResources PersistableModelCreat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalModifyThreadRequestToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs
index 17e30025b..acdadf397 100644
--- a/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalModifyThreadRequestToolResourcesCodeInterpreter Persis
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalModifyThreadRequestToolResourcesCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.Serialization.cs b/src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.Serialization.cs
index a873ee21b..805c4c5a9 100644
--- a/src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalRequiredFunctionToolCall PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRequiredFunctionToolCall(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs b/src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs
index 7be643ac0..1e1c458ac 100644
--- a/src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalRunObjectRequiredActionSubmitToolOutputs PersistableMo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunObjectRequiredActionSubmitToolOutputs(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunRequiredAction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunRequiredAction.Serialization.cs
index 731df68cf..7b249b7fa 100644
--- a/src/Generated/Models/Assistants/InternalRunRequiredAction.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunRequiredAction.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalRunRequiredAction PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunRequiredAction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.Serialization.cs
index e17a0ce6d..ee4d9172f 100644
--- a/src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.Serialization.cs
@@ -100,7 +100,7 @@ protected override RunStepCodeInterpreterOutput PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepCodeInterpreterLogOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDelta.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDelta.Serialization.cs
index 345e3c6c2..a42ba9157 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDelta.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDelta.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalRunStepDelta PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.Serialization.cs
index 3fd3aa3a3..00bd43777 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRunStepDeltaObjectDelta PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaObjectDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.Serialization.cs
index 6fa4738df..22bb695f8 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual InternalRunStepDeltaStepDetails PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs
index 3c7b98d3b..c2877e6fd 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs
@@ -100,7 +100,7 @@ protected override InternalRunStepDeltaStepDetails PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsMessageCreationObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs
index 9422cfa58..76b91a4e2 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs
index 74ef8f4b3..ecc7c9309 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs
@@ -126,7 +126,7 @@ protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsCodeObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs
index fd2318501..08e991efd 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs
index 902cb2955..147a0c037 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs
@@ -115,7 +115,7 @@ protected override RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs
index dec06f931..82f481e94 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectI
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs
index b0e0e55c8..2db1501fc 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs
@@ -111,7 +111,7 @@ protected override RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs
index 3b3008b2b..269ec245d 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs
@@ -122,7 +122,7 @@ protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsFileSearchObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs
index 196d574a5..49a5f9825 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs
@@ -139,7 +139,7 @@ protected virtual InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSe
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs
index 627621700..88c6549de 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs
@@ -126,7 +126,7 @@ protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsFunctionObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs
index 504cd6862..534faca9d 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs
index a638ae3da..29bffa11e 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs
@@ -110,7 +110,7 @@ protected override InternalRunStepDeltaStepDetails PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
index 7e37a89da..a84778b3e 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.Serialization.cs
index 078c12ba7..4859d17cd 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.Serialization.cs
@@ -100,7 +100,7 @@ protected override RunStepDetails PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsMessageCreationObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs
index b7699e8e0..27eb002f5 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRunStepDetailsMessageCreationObjectMessageCreation Per
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsMessageCreationObjectMessageCreation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs
index 4697e07ca..d64ba7efa 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs
@@ -106,7 +106,7 @@ protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsCodeObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs
index c7a5c8e18..3291aba3a 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter Persi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsCodeObjectCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs
index f11f14298..c45c4fcda 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs
@@ -100,7 +100,7 @@ protected override RunStepCodeInterpreterOutput PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsCodeOutputImageObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs
index b30ca6f8e..b4d2f8e0d 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRunStepDetailsToolCallsCodeOutputImageObjectImage Pers
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsCodeOutputImageObjectImage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs
index da21dec20..2139dc48e 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs
@@ -106,7 +106,7 @@ protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsFileSearchObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs
index 9d02357e9..bb314db3e 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs
@@ -139,7 +139,7 @@ protected virtual InternalRunStepDetailsToolCallsFileSearchObjectFileSearch Pers
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsFileSearchObjectFileSearch(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs
index 824bfb7e7..e71dc1bb8 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsFileSearchRankingOptionsObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs
index 50f8269c9..1a75bb18e 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs
@@ -106,7 +106,7 @@ protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsFunctionObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs
index 7bab94b00..e0ffd8646 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs
@@ -147,7 +147,7 @@ protected virtual InternalRunStepDetailsToolCallsFunctionObjectFunction Persista
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsFunctionObjectFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.Serialization.cs
index 31149a983..b3383cab5 100644
--- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.Serialization.cs
@@ -110,7 +110,7 @@ protected override RunStepDetails PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDetailsToolCallsObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.Serialization.cs
index 3be6230db..3a477a45c 100644
--- a/src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalRunToolCallObjectFunction PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunToolCallObjectFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.Serialization.cs b/src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.Serialization.cs
index b75ce4ed5..831460c91 100644
--- a/src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.Serialization.cs
@@ -139,7 +139,7 @@ protected virtual InternalSubmitToolOutputsRunRequest PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalSubmitToolOutputsRunRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalThreadObjectToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResources.Serialization.cs
index 35bd93b4f..b5836ac2a 100644
--- a/src/Generated/Models/Assistants/InternalThreadObjectToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalThreadObjectToolResources.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalThreadObjectToolResources PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalThreadObjectToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs
index 522dbc384..00ed1111d 100644
--- a/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalThreadObjectToolResourcesCodeInterpreter PersistableMo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalThreadObjectToolResourcesCodeInterpreter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.Serialization.cs
index e148a2aa4..0e5b4f05b 100644
--- a/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalThreadObjectToolResourcesFileSearch PersistableModelCr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalThreadObjectToolResourcesFileSearch(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.Serialization.cs b/src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.Serialization.cs
index dd44a58b4..41a929a67 100644
--- a/src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalToolResourcesFileSearchIdsOnly PersistableModelCreateC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalToolResourcesFileSearchIdsOnly(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs b/src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs
index b9f3eefa3..0a41974c2 100644
--- a/src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs
@@ -90,7 +90,7 @@ protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantResponseFormat(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/InternalUnknownMessageContent.Serialization.cs b/src/Generated/Models/Assistants/InternalUnknownMessageContent.Serialization.cs
index dbc581f70..c286b5fce 100644
--- a/src/Generated/Models/Assistants/InternalUnknownMessageContent.Serialization.cs
+++ b/src/Generated/Models/Assistants/InternalUnknownMessageContent.Serialization.cs
@@ -89,7 +89,7 @@ protected override MessageContent PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/MessageCollectionOptions.Serialization.cs b/src/Generated/Models/Assistants/MessageCollectionOptions.Serialization.cs
index 511f84f2e..fcc9a0d3d 100644
--- a/src/Generated/Models/Assistants/MessageCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/MessageCollectionOptions.Serialization.cs
@@ -102,7 +102,7 @@ protected virtual MessageCollectionOptions PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/MessageContent.Serialization.cs b/src/Generated/Models/Assistants/MessageContent.Serialization.cs
index b38962f64..163af4d72 100644
--- a/src/Generated/Models/Assistants/MessageContent.Serialization.cs
+++ b/src/Generated/Models/Assistants/MessageContent.Serialization.cs
@@ -92,7 +92,7 @@ protected virtual MessageContent PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/MessageCreationAttachment.Serialization.cs b/src/Generated/Models/Assistants/MessageCreationAttachment.Serialization.cs
index 863a405b1..c5d1dc73f 100644
--- a/src/Generated/Models/Assistants/MessageCreationAttachment.Serialization.cs
+++ b/src/Generated/Models/Assistants/MessageCreationAttachment.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual MessageCreationAttachment PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageCreationAttachment(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs
index 08e89a007..54c0fc7e6 100644
--- a/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs
@@ -192,7 +192,7 @@ protected virtual MessageCreationOptions PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageCreationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs
index 9e50c7fff..8ac9e5007 100644
--- a/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs
+++ b/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual MessageDeletionResult PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageDeletionResult(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual MessageDeletionResult PersistableModelCreateCore(BinaryData da
public static explicit operator MessageDeletionResult(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeMessageDeletionResult(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/MessageFailureDetails.Serialization.cs b/src/Generated/Models/Assistants/MessageFailureDetails.Serialization.cs
index 262691e41..c99e91e9f 100644
--- a/src/Generated/Models/Assistants/MessageFailureDetails.Serialization.cs
+++ b/src/Generated/Models/Assistants/MessageFailureDetails.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual MessageFailureDetails PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageFailureDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/MessageModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/MessageModificationOptions.Serialization.cs
index e6f2320df..5e262ba4c 100644
--- a/src/Generated/Models/Assistants/MessageModificationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/MessageModificationOptions.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual MessageModificationOptions PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeMessageModificationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunCollectionOptions.Serialization.cs b/src/Generated/Models/Assistants/RunCollectionOptions.Serialization.cs
index 376878334..d83175b99 100644
--- a/src/Generated/Models/Assistants/RunCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunCollectionOptions.Serialization.cs
@@ -102,7 +102,7 @@ protected virtual RunCollectionOptions PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs
index e0d345d73..e384a98c1 100644
--- a/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs
@@ -427,7 +427,7 @@ protected virtual RunCreationOptions PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunCreationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunError.Serialization.cs b/src/Generated/Models/Assistants/RunError.Serialization.cs
index c4ebe29e1..ece2d1016 100644
--- a/src/Generated/Models/Assistants/RunError.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunError.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual RunError PersistableModelCreateCore(BinaryData data, ModelRead
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunIncompleteDetails.Serialization.cs b/src/Generated/Models/Assistants/RunIncompleteDetails.Serialization.cs
index 574554f1e..e85a1d63b 100644
--- a/src/Generated/Models/Assistants/RunIncompleteDetails.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunIncompleteDetails.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual RunIncompleteDetails PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunIncompleteDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/RunModificationOptions.Serialization.cs
index ef024ab96..7b655ebb7 100644
--- a/src/Generated/Models/Assistants/RunModificationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunModificationOptions.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual RunModificationOptions PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunModificationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStep.Serialization.cs b/src/Generated/Models/Assistants/RunStep.Serialization.cs
index da33665b9..d7e40f712 100644
--- a/src/Generated/Models/Assistants/RunStep.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStep.Serialization.cs
@@ -397,7 +397,7 @@ protected virtual RunStep PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStep(document.RootElement, options);
}
@@ -410,8 +410,8 @@ protected virtual RunStep PersistableModelCreateCore(BinaryData data, ModelReade
public static explicit operator RunStep(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeRunStep(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.Serialization.cs b/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.Serialization.cs
index d64cbbf97..8325e31d0 100644
--- a/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual RunStepCodeInterpreterOutput PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepCodeInterpreterOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepCollectionOptions.Serialization.cs b/src/Generated/Models/Assistants/RunStepCollectionOptions.Serialization.cs
index 6c4eaebb7..288f2bc22 100644
--- a/src/Generated/Models/Assistants/RunStepCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepCollectionOptions.Serialization.cs
@@ -102,7 +102,7 @@ protected virtual RunStepCollectionOptions PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepDetails.Serialization.cs b/src/Generated/Models/Assistants/RunStepDetails.Serialization.cs
index d79773bdd..caaeb08cc 100644
--- a/src/Generated/Models/Assistants/RunStepDetails.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepDetails.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual RunStepDetails PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepError.Serialization.cs b/src/Generated/Models/Assistants/RunStepError.Serialization.cs
index 4f6b8774c..87438360a 100644
--- a/src/Generated/Models/Assistants/RunStepError.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepError.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual RunStepError PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepFileSearchResult.Serialization.cs b/src/Generated/Models/Assistants/RunStepFileSearchResult.Serialization.cs
index 861d7e331..980696f73 100644
--- a/src/Generated/Models/Assistants/RunStepFileSearchResult.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepFileSearchResult.Serialization.cs
@@ -161,7 +161,7 @@ protected virtual RunStepFileSearchResult PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepFileSearchResult(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs
index de6fe49f3..03b6e1bea 100644
--- a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual RunStepFileSearchResultContent PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepFileSearchResultContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs
index ecab1a304..455623c4d 100644
--- a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs
+++ b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs
@@ -13,9 +13,8 @@ public partial class RunStepFileSearchResultContent
{
private protected IDictionary _additionalBinaryDataProperties;
- internal RunStepFileSearchResultContent(RunStepFileSearchResultContentKind kind, string text)
+ internal RunStepFileSearchResultContent(string text)
{
- Kind = kind;
Text = text;
}
diff --git a/src/Generated/Models/Assistants/RunStepTokenUsage.Serialization.cs b/src/Generated/Models/Assistants/RunStepTokenUsage.Serialization.cs
index 91754df75..6d700462c 100644
--- a/src/Generated/Models/Assistants/RunStepTokenUsage.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepTokenUsage.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual RunStepTokenUsage PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepTokenUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepToolCall.Serialization.cs b/src/Generated/Models/Assistants/RunStepToolCall.Serialization.cs
index 905669561..dcd38c191 100644
--- a/src/Generated/Models/Assistants/RunStepToolCall.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepToolCall.Serialization.cs
@@ -114,7 +114,7 @@ protected virtual RunStepToolCall PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepToolCall(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.Serialization.cs b/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.Serialization.cs
index 3dbdad53b..f335e369d 100644
--- a/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepUpdateCodeInterpreterOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunTokenUsage.Serialization.cs b/src/Generated/Models/Assistants/RunTokenUsage.Serialization.cs
index 571dde6d2..a4c890460 100644
--- a/src/Generated/Models/Assistants/RunTokenUsage.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunTokenUsage.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual RunTokenUsage PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunTokenUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/RunTruncationStrategy.Serialization.cs b/src/Generated/Models/Assistants/RunTruncationStrategy.Serialization.cs
index 948f4fdd4..e37fe145b 100644
--- a/src/Generated/Models/Assistants/RunTruncationStrategy.Serialization.cs
+++ b/src/Generated/Models/Assistants/RunTruncationStrategy.Serialization.cs
@@ -129,7 +129,7 @@ protected virtual RunTruncationStrategy PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunTruncationStrategy(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs
index 0de09e262..fdce82559 100644
--- a/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs
@@ -177,7 +177,7 @@ protected virtual ThreadCreationOptions PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeThreadCreationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs
index e8bbb009c..e59060b41 100644
--- a/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs
+++ b/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual ThreadDeletionResult PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeThreadDeletionResult(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual ThreadDeletionResult PersistableModelCreateCore(BinaryData dat
public static explicit operator ThreadDeletionResult(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeThreadDeletionResult(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs b/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs
index 0d19dc9b2..7c507c4a6 100644
--- a/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs
+++ b/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs
@@ -394,7 +394,7 @@ protected virtual ThreadMessage PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeThreadMessage(document.RootElement, options);
}
@@ -407,8 +407,8 @@ protected virtual ThreadMessage PersistableModelCreateCore(BinaryData data, Mode
public static explicit operator ThreadMessage(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeThreadMessage(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs
index 0485a009d..bf6ef1aea 100644
--- a/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs
+++ b/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs
@@ -152,7 +152,7 @@ protected virtual ThreadModificationOptions PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeThreadModificationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/ThreadRun.Serialization.cs b/src/Generated/Models/Assistants/ThreadRun.Serialization.cs
index 30d9d99b0..7d9d31c66 100644
--- a/src/Generated/Models/Assistants/ThreadRun.Serialization.cs
+++ b/src/Generated/Models/Assistants/ThreadRun.Serialization.cs
@@ -646,7 +646,7 @@ protected virtual ThreadRun PersistableModelCreateCore(BinaryData data, ModelRea
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeThreadRun(document.RootElement, options);
}
@@ -659,8 +659,8 @@ protected virtual ThreadRun PersistableModelCreateCore(BinaryData data, ModelRea
public static explicit operator ThreadRun(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeThreadRun(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Assistants/ToolConstraint.Serialization.cs b/src/Generated/Models/Assistants/ToolConstraint.Serialization.cs
index 9f60a8052..9c3017e99 100644
--- a/src/Generated/Models/Assistants/ToolConstraint.Serialization.cs
+++ b/src/Generated/Models/Assistants/ToolConstraint.Serialization.cs
@@ -83,7 +83,7 @@ protected virtual ToolConstraint PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeToolConstraint(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/ToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/ToolDefinition.Serialization.cs
index c1c1453ed..765842ab8 100644
--- a/src/Generated/Models/Assistants/ToolDefinition.Serialization.cs
+++ b/src/Generated/Models/Assistants/ToolDefinition.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual ToolDefinition PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeToolDefinition(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/ToolOutput.Serialization.cs b/src/Generated/Models/Assistants/ToolOutput.Serialization.cs
index 851ac1b3f..57b2d0e72 100644
--- a/src/Generated/Models/Assistants/ToolOutput.Serialization.cs
+++ b/src/Generated/Models/Assistants/ToolOutput.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual ToolOutput PersistableModelCreateCore(BinaryData data, ModelRe
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeToolOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/ToolResources.Serialization.cs b/src/Generated/Models/Assistants/ToolResources.Serialization.cs
index c83d7ac20..f630b3871 100644
--- a/src/Generated/Models/Assistants/ToolResources.Serialization.cs
+++ b/src/Generated/Models/Assistants/ToolResources.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual ToolResources PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeToolResources(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownAssistantToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/UnknownAssistantToolDefinition.Serialization.cs
index 8fc0b61fb..2e50b76dd 100644
--- a/src/Generated/Models/Assistants/UnknownAssistantToolDefinition.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownAssistantToolDefinition.Serialization.cs
@@ -89,7 +89,7 @@ protected override ToolDefinition PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeToolDefinition(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.Serialization.cs b/src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.Serialization.cs
index b5d3565d8..61e7b7979 100644
--- a/src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalMessageContentTextObjectAnnotation PersistableModelCr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageContentTextObjectAnnotation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownMessageDeltaContent.Serialization.cs b/src/Generated/Models/Assistants/UnknownMessageDeltaContent.Serialization.cs
index ea471a777..228e3de8d 100644
--- a/src/Generated/Models/Assistants/UnknownMessageDeltaContent.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownMessageDeltaContent.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalMessageDeltaContent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.Serialization.cs b/src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.Serialization.cs
index 6000573a8..0d6f93166 100644
--- a/src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalMessageDeltaTextContentAnnotation PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMessageDeltaTextContentAnnotation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.Serialization.cs
index 9f03ae03c..48c5b0471 100644
--- a/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalRunStepDeltaStepDetails PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs
index 0d1d6855a..9a16dd9cd 100644
--- a/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs
@@ -89,7 +89,7 @@ protected override RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepUpdateCodeInterpreterOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
index 06033d811..ffd91f2de 100644
--- a/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs
index b1abcd32c..35b093189 100644
--- a/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs
@@ -89,7 +89,7 @@ protected override RunStepCodeInterpreterOutput PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepCodeInterpreterOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
index b0df77e73..0d65397f2 100644
--- a/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs
@@ -95,7 +95,7 @@ protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepToolCall(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.Serialization.cs
index 3f95052f2..7a2f2038d 100644
--- a/src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.Serialization.cs
+++ b/src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.Serialization.cs
@@ -89,7 +89,7 @@ protected override RunStepDetails PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunStepDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs b/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs
index 99560f97e..0e65c34bf 100644
--- a/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs
+++ b/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs
@@ -189,7 +189,7 @@ protected virtual VectorStoreCreationHelper PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeVectorStoreCreationHelper(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.Serialization.cs b/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.Serialization.cs
index 6b7a1a353..ac8f65ef4 100644
--- a/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.Serialization.cs
+++ b/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.Serialization.cs
@@ -151,7 +151,7 @@ protected virtual AudioTokenLogProbabilityDetails PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAudioTokenLogProbabilityDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/AudioTranscription.Serialization.cs b/src/Generated/Models/Audio/AudioTranscription.Serialization.cs
index ebbfe089e..055fd3037 100644
--- a/src/Generated/Models/Audio/AudioTranscription.Serialization.cs
+++ b/src/Generated/Models/Audio/AudioTranscription.Serialization.cs
@@ -45,7 +45,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (_additionalBinaryDataProperties?.ContainsKey("duration") != true)
{
writer.WritePropertyName("duration"u8);
- writer.WriteNumberValue(Convert.ToDouble(Duration.Value.ToString("s\\.FFF")));
+ writer.WriteNumberValue(Duration.Value.TotalSeconds);
}
if (_additionalBinaryDataProperties?.ContainsKey("text") != true)
{
@@ -236,7 +236,7 @@ protected virtual AudioTranscription PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAudioTranscription(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs b/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs
index f25e784ab..f93764856 100644
--- a/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs
+++ b/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs
@@ -290,7 +290,7 @@ protected virtual AudioTranscriptionOptions PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAudioTranscriptionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/AudioTranslation.Serialization.cs b/src/Generated/Models/Audio/AudioTranslation.Serialization.cs
index 24dc84061..48e71da28 100644
--- a/src/Generated/Models/Audio/AudioTranslation.Serialization.cs
+++ b/src/Generated/Models/Audio/AudioTranslation.Serialization.cs
@@ -46,7 +46,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (_additionalBinaryDataProperties?.ContainsKey("duration") != true)
{
writer.WritePropertyName("duration"u8);
- writer.WriteNumberValue(Convert.ToDouble(Duration.Value.ToString("s\\.FFF")));
+ writer.WriteNumberValue(Duration.Value.TotalSeconds);
}
if (_additionalBinaryDataProperties?.ContainsKey("text") != true)
{
@@ -184,7 +184,7 @@ protected virtual AudioTranslation PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAudioTranslation(document.RootElement, options);
}
@@ -198,8 +198,8 @@ protected virtual AudioTranslation PersistableModelCreateCore(BinaryData data, M
[Experimental("OPENAI001")]
public static explicit operator AudioTranslation(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeAudioTranslation(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs b/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs
index cae923ea2..9f08c2332 100644
--- a/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs
+++ b/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs
@@ -176,7 +176,7 @@ protected virtual AudioTranslationOptions PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAudioTranslationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.Serialization.cs
index 47d657d8f..24f8383bf 100644
--- a/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.Serialization.cs
+++ b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.Serialization.cs
@@ -139,7 +139,7 @@ protected virtual InternalCreateTranscriptionResponseJson PersistableModelCreate
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateTranscriptionResponseJson(document.RootElement, options);
}
@@ -152,8 +152,8 @@ protected virtual InternalCreateTranscriptionResponseJson PersistableModelCreate
public static explicit operator InternalCreateTranscriptionResponseJson(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalCreateTranscriptionResponseJson(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs
index 617f49dff..21247049f 100644
--- a/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs
+++ b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs
@@ -149,7 +149,7 @@ protected virtual InternalCreateTranscriptionResponseJsonLogprob PersistableMode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateTranscriptionResponseJsonLogprob(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs
index 20886b860..bd2a2a115 100644
--- a/src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs
+++ b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs
@@ -44,7 +44,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (_additionalBinaryDataProperties?.ContainsKey("duration") != true)
{
writer.WritePropertyName("duration"u8);
- writer.WriteNumberValue(Convert.ToDouble(Duration.ToString("s\\.FFF")));
+ writer.WriteNumberValue(Duration.TotalSeconds);
}
if (_additionalBinaryDataProperties?.ContainsKey("text") != true)
{
@@ -206,7 +206,7 @@ protected virtual InternalCreateTranscriptionResponseVerboseJson PersistableMode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateTranscriptionResponseVerboseJson(document.RootElement, options);
}
@@ -219,8 +219,8 @@ protected virtual InternalCreateTranscriptionResponseVerboseJson PersistableMode
public static explicit operator InternalCreateTranscriptionResponseVerboseJson(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalCreateTranscriptionResponseVerboseJson(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Audio/InternalCreateTranslationResponseJson.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranslationResponseJson.Serialization.cs
index abb19c603..fdefd7f95 100644
--- a/src/Generated/Models/Audio/InternalCreateTranslationResponseJson.Serialization.cs
+++ b/src/Generated/Models/Audio/InternalCreateTranslationResponseJson.Serialization.cs
@@ -114,7 +114,7 @@ protected virtual InternalCreateTranslationResponseJson PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateTranslationResponseJson(document.RootElement, options);
}
@@ -127,8 +127,8 @@ protected virtual InternalCreateTranslationResponseJson PersistableModelCreateCo
public static explicit operator InternalCreateTranslationResponseJson(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalCreateTranslationResponseJson(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs b/src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs
index 40f9488f8..5c3405f44 100644
--- a/src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs
+++ b/src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs
@@ -89,7 +89,7 @@ protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingAudioTranscriptionUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs b/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs
index d8c1ded28..597216c94 100644
--- a/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs
+++ b/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs
@@ -188,7 +188,7 @@ protected virtual SpeechGenerationOptions PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeSpeechGenerationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs
index 3d7c5ed77..6eead4f6f 100644
--- a/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs
+++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs
@@ -125,7 +125,7 @@ protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingAudioTranscriptionTextDeltaUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs
index 72a43e3a5..a6a41842a 100644
--- a/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs
+++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs
@@ -125,7 +125,7 @@ protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingAudioTranscriptionTextDoneUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs
index 72c5ad031..d744e8552 100644
--- a/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs
+++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs
@@ -112,7 +112,7 @@ protected virtual StreamingAudioTranscriptionUpdate PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingAudioTranscriptionUpdate(document.RootElement, options);
}
@@ -125,8 +125,8 @@ protected virtual StreamingAudioTranscriptionUpdate PersistableModelCreateCore(B
public static explicit operator StreamingAudioTranscriptionUpdate(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeStreamingAudioTranscriptionUpdate(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs b/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs
index 85090a7e5..4fe133025 100644
--- a/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs
+++ b/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs
@@ -43,12 +43,12 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions
if (_additionalBinaryDataProperties?.ContainsKey("start") != true)
{
writer.WritePropertyName("start"u8);
- writer.WriteNumberValue(Convert.ToDouble(StartTime.ToString("s\\.FFF")));
+ writer.WriteNumberValue(StartTime.TotalSeconds);
}
if (_additionalBinaryDataProperties?.ContainsKey("end") != true)
{
writer.WritePropertyName("end"u8);
- writer.WriteNumberValue(Convert.ToDouble(EndTime.ToString("s\\.FFF")));
+ writer.WriteNumberValue(EndTime.TotalSeconds);
}
if (_additionalBinaryDataProperties?.ContainsKey("text") != true)
{
@@ -239,7 +239,7 @@ private TranscribedSegment PersistableModelCreateCore(BinaryData data, ModelRead
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeTranscribedSegment(document.RootElement, options);
}
diff --git a/src/Generated/Models/Audio/TranscribedWord.Serialization.cs b/src/Generated/Models/Audio/TranscribedWord.Serialization.cs
index 07f28627b..1731af14b 100644
--- a/src/Generated/Models/Audio/TranscribedWord.Serialization.cs
+++ b/src/Generated/Models/Audio/TranscribedWord.Serialization.cs
@@ -38,12 +38,12 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions
if (_additionalBinaryDataProperties?.ContainsKey("start") != true)
{
writer.WritePropertyName("start"u8);
- writer.WriteNumberValue(Convert.ToDouble(StartTime.ToString("s\\.FFF")));
+ writer.WriteNumberValue(StartTime.TotalSeconds);
}
if (_additionalBinaryDataProperties?.ContainsKey("end") != true)
{
writer.WritePropertyName("end"u8);
- writer.WriteNumberValue(Convert.ToDouble(EndTime.ToString("s\\.FFF")));
+ writer.WriteNumberValue(EndTime.TotalSeconds);
}
// Plugin customization: remove options.Format != "W" check
if (_additionalBinaryDataProperties != null)
@@ -135,7 +135,7 @@ private TranscribedWord PersistableModelCreateCore(BinaryData data, ModelReaderW
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeTranscribedWord(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalBatchError.Serialization.cs b/src/Generated/Models/Batch/InternalBatchError.Serialization.cs
index 830f6adfa..b822148a1 100644
--- a/src/Generated/Models/Batch/InternalBatchError.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchError.Serialization.cs
@@ -152,7 +152,7 @@ protected virtual InternalBatchError PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalBatchErrors.Serialization.cs b/src/Generated/Models/Batch/InternalBatchErrors.Serialization.cs
index b04aa4480..cc7f870ab 100644
--- a/src/Generated/Models/Batch/InternalBatchErrors.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchErrors.Serialization.cs
@@ -29,7 +29,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Object) && _additionalBinaryDataProperties?.ContainsKey("object") != true)
{
writer.WritePropertyName("object"u8);
- writer.WriteStringValue(Object);
+ writer.WriteStringValue(Object.Value.ToString());
}
if (Optional.IsCollectionDefined(Data) && _additionalBinaryDataProperties?.ContainsKey("data") != true)
{
@@ -82,14 +82,18 @@ internal static InternalBatchErrors DeserializeInternalBatchErrors(JsonElement e
{
return null;
}
- string @object = default;
+ InternalBatchErrorsObject? @object = default;
IList data = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
foreach (var prop in element.EnumerateObject())
{
if (prop.NameEquals("object"u8))
{
- @object = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ @object = new InternalBatchErrorsObject(prop.Value.GetString());
continue;
}
if (prop.NameEquals("data"u8))
@@ -134,7 +138,7 @@ protected virtual InternalBatchErrors PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchErrors(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalBatchErrors.cs b/src/Generated/Models/Batch/InternalBatchErrors.cs
index 3c0f83526..7d1f6aa9c 100644
--- a/src/Generated/Models/Batch/InternalBatchErrors.cs
+++ b/src/Generated/Models/Batch/InternalBatchErrors.cs
@@ -12,11 +12,11 @@ internal partial class InternalBatchErrors
{
private protected IDictionary _additionalBinaryDataProperties;
- internal InternalBatchErrors() : this(null, null, null)
+ internal InternalBatchErrors() : this(default, null, null)
{
}
- internal InternalBatchErrors(string @object, IList data, IDictionary additionalBinaryDataProperties)
+ internal InternalBatchErrors(InternalBatchErrorsObject? @object, IList data, IDictionary additionalBinaryDataProperties)
{
// Plugin customization: ensure initialization of collections
Object = @object;
@@ -24,7 +24,7 @@ internal InternalBatchErrors(string @object, IList data, IDi
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Object { get; }
+ internal InternalBatchErrorsObject? Object { get; }
internal IList Data { get; }
diff --git a/src/Generated/Models/Batch/InternalBatchErrorsObject.cs b/src/Generated/Models/Batch/InternalBatchErrorsObject.cs
new file mode 100644
index 000000000..6da979617
--- /dev/null
+++ b/src/Generated/Models/Batch/InternalBatchErrorsObject.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Batch
+{
+ internal readonly partial struct InternalBatchErrorsObject : IEquatable
+ {
+ private readonly string _value;
+ private const string ListValue = "list";
+
+ public InternalBatchErrorsObject(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalBatchErrorsObject List { get; } = new InternalBatchErrorsObject(ListValue);
+
+ public static bool operator ==(InternalBatchErrorsObject left, InternalBatchErrorsObject right) => left.Equals(right);
+
+ public static bool operator !=(InternalBatchErrorsObject left, InternalBatchErrorsObject right) => !left.Equals(right);
+
+ public static implicit operator InternalBatchErrorsObject(string value) => new InternalBatchErrorsObject(value);
+
+ public static implicit operator InternalBatchErrorsObject?(string value) => value == null ? null : new InternalBatchErrorsObject(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalBatchErrorsObject other && Equals(other);
+
+ public bool Equals(InternalBatchErrorsObject other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs b/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs
index 7a87b100f..cb48106b8 100644
--- a/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs
@@ -419,7 +419,7 @@ protected virtual InternalBatchJob PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchJob(document.RootElement, options);
}
@@ -432,8 +432,8 @@ protected virtual InternalBatchJob PersistableModelCreateCore(BinaryData data, M
public static explicit operator InternalBatchJob(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalBatchJob(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Batch/InternalBatchRequestCounts.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestCounts.Serialization.cs
index 338341627..4693da4d3 100644
--- a/src/Generated/Models/Batch/InternalBatchRequestCounts.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchRequestCounts.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalBatchRequestCounts PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchRequestCounts(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalBatchRequestInput.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestInput.Serialization.cs
index d63d746f1..50391f7d9 100644
--- a/src/Generated/Models/Batch/InternalBatchRequestInput.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchRequestInput.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Method) && _additionalBinaryDataProperties?.ContainsKey("method") != true)
{
writer.WritePropertyName("method"u8);
- writer.WriteStringValue(Method);
+ writer.WriteStringValue(Method.Value.ToString());
}
if (Optional.IsDefined(Url) && _additionalBinaryDataProperties?.ContainsKey("url") != true)
{
@@ -83,7 +83,7 @@ internal static InternalBatchRequestInput DeserializeInternalBatchRequestInput(J
return null;
}
string customId = default;
- string @method = default;
+ InternalBatchRequestInputMethod? @method = default;
Uri url = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
foreach (var prop in element.EnumerateObject())
@@ -95,7 +95,11 @@ internal static InternalBatchRequestInput DeserializeInternalBatchRequestInput(J
}
if (prop.NameEquals("method"u8))
{
- @method = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ @method = new InternalBatchRequestInputMethod(prop.Value.GetString());
continue;
}
if (prop.NameEquals("url"u8))
@@ -135,7 +139,7 @@ protected virtual InternalBatchRequestInput PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchRequestInput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalBatchRequestInput.cs b/src/Generated/Models/Batch/InternalBatchRequestInput.cs
index 984632f2d..7bab85988 100644
--- a/src/Generated/Models/Batch/InternalBatchRequestInput.cs
+++ b/src/Generated/Models/Batch/InternalBatchRequestInput.cs
@@ -15,7 +15,7 @@ public InternalBatchRequestInput()
{
}
- internal InternalBatchRequestInput(string customId, string @method, Uri url, IDictionary additionalBinaryDataProperties)
+ internal InternalBatchRequestInput(string customId, InternalBatchRequestInputMethod? @method, Uri url, IDictionary additionalBinaryDataProperties)
{
CustomId = customId;
Method = @method;
@@ -25,7 +25,7 @@ internal InternalBatchRequestInput(string customId, string @method, Uri url, IDi
public string CustomId { get; set; }
- public string Method { get; set; }
+ internal InternalBatchRequestInputMethod? Method { get; set; }
public Uri Url { get; set; }
diff --git a/src/Generated/Models/Batch/InternalBatchRequestInputMethod.cs b/src/Generated/Models/Batch/InternalBatchRequestInputMethod.cs
new file mode 100644
index 000000000..57ffa95c7
--- /dev/null
+++ b/src/Generated/Models/Batch/InternalBatchRequestInputMethod.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Batch
+{
+ internal readonly partial struct InternalBatchRequestInputMethod : IEquatable
+ {
+ private readonly string _value;
+ private const string POSTValue = "POST";
+
+ public InternalBatchRequestInputMethod(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalBatchRequestInputMethod POST { get; } = new InternalBatchRequestInputMethod(POSTValue);
+
+ public static bool operator ==(InternalBatchRequestInputMethod left, InternalBatchRequestInputMethod right) => left.Equals(right);
+
+ public static bool operator !=(InternalBatchRequestInputMethod left, InternalBatchRequestInputMethod right) => !left.Equals(right);
+
+ public static implicit operator InternalBatchRequestInputMethod(string value) => new InternalBatchRequestInputMethod(value);
+
+ public static implicit operator InternalBatchRequestInputMethod?(string value) => value == null ? null : new InternalBatchRequestInputMethod(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalBatchRequestInputMethod other && Equals(other);
+
+ public bool Equals(InternalBatchRequestInputMethod other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Batch/InternalBatchRequestOutput.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestOutput.Serialization.cs
index cf30b8378..2021683e4 100644
--- a/src/Generated/Models/Batch/InternalBatchRequestOutput.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchRequestOutput.Serialization.cs
@@ -152,7 +152,7 @@ protected virtual InternalBatchRequestOutput PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchRequestOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalBatchRequestOutputError.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestOutputError.Serialization.cs
index 79d104eab..7cc5fc52b 100644
--- a/src/Generated/Models/Batch/InternalBatchRequestOutputError.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchRequestOutputError.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalBatchRequestOutputError PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchRequestOutputError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalBatchRequestOutputResponse.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestOutputResponse.Serialization.cs
index 30d46d38e..890e4294f 100644
--- a/src/Generated/Models/Batch/InternalBatchRequestOutputResponse.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalBatchRequestOutputResponse.Serialization.cs
@@ -169,7 +169,7 @@ protected virtual InternalBatchRequestOutputResponse PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalBatchRequestOutputResponse(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalCreateBatchRequest.Serialization.cs b/src/Generated/Models/Batch/InternalCreateBatchRequest.Serialization.cs
index c56f0e840..191e439e4 100644
--- a/src/Generated/Models/Batch/InternalCreateBatchRequest.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalCreateBatchRequest.Serialization.cs
@@ -173,7 +173,7 @@ protected virtual InternalCreateBatchRequest PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateBatchRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Batch/InternalCreateBatchRequest.cs b/src/Generated/Models/Batch/InternalCreateBatchRequest.cs
index 20141e211..c4350f6ce 100644
--- a/src/Generated/Models/Batch/InternalCreateBatchRequest.cs
+++ b/src/Generated/Models/Batch/InternalCreateBatchRequest.cs
@@ -33,7 +33,7 @@ internal InternalCreateBatchRequest(string inputFileId, InternalCreateBatchReque
internal InternalCreateBatchRequestEndpoint Endpoint { get; }
- public string CompletionWindow { get; } = "24h";
+ internal string CompletionWindow { get; } = "24h";
public IDictionary Metadata { get; }
diff --git a/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs b/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs
index 4bc86c18f..7e486ee77 100644
--- a/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs
+++ b/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalListBatchesResponse PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListBatchesResponse(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalListBatchesResponse PersistableModelCreateCore(BinaryD
public static explicit operator InternalListBatchesResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListBatchesResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs b/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs
index 87e4390d2..971746067 100644
--- a/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs
@@ -181,7 +181,7 @@ protected override ChatMessage PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAssistantChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatAudioOptions.Serialization.cs b/src/Generated/Models/Chat/ChatAudioOptions.Serialization.cs
index 1a3c0f723..628fcf836 100644
--- a/src/Generated/Models/Chat/ChatAudioOptions.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatAudioOptions.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual ChatAudioOptions PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatAudioOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatCompletion.Serialization.cs b/src/Generated/Models/Chat/ChatCompletion.Serialization.cs
index 0f65e0458..8d185efff 100644
--- a/src/Generated/Models/Chat/ChatCompletion.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatCompletion.Serialization.cs
@@ -223,7 +223,7 @@ protected virtual ChatCompletion PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatCompletion(document.RootElement, options);
}
@@ -237,8 +237,8 @@ protected virtual ChatCompletion PersistableModelCreateCore(BinaryData data, Mod
[Experimental("OPENAI001")]
public static explicit operator ChatCompletion(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeChatCompletion(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Chat/ChatCompletionCollectionOptions.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionCollectionOptions.Serialization.cs
index 44c2b99ba..a93df7ba8 100644
--- a/src/Generated/Models/Chat/ChatCompletionCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatCompletionCollectionOptions.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual ChatCompletionCollectionOptions PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatCompletionCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs
index 57751c200..8c1e75828 100644
--- a/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual ChatCompletionDeletionResult PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatCompletionDeletionResult(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual ChatCompletionDeletionResult PersistableModelCreateCore(Binary
public static explicit operator ChatCompletionDeletionResult(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeChatCompletionDeletionResult(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Chat/ChatCompletionMessageCollectionOptions.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionMessageCollectionOptions.Serialization.cs
index 319e957f7..b4d9c7d25 100644
--- a/src/Generated/Models/Chat/ChatCompletionMessageCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatCompletionMessageCollectionOptions.Serialization.cs
@@ -101,7 +101,7 @@ protected virtual ChatCompletionMessageCollectionOptions PersistableModelCreateC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatCompletionMessageCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs
index 60d927d3d..469a3f3ee 100644
--- a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs
@@ -262,7 +262,7 @@ protected virtual ChatCompletionMessageListDatum PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatCompletionMessageListDatum(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs
index bc678e053..7abb1e3e4 100644
--- a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs
+++ b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs
@@ -14,13 +14,12 @@ public partial class ChatCompletionMessageListDatum
{
private protected IDictionary _additionalBinaryDataProperties;
- internal ChatCompletionMessageListDatum(string content, string refusal, ChatMessageRole role, string id)
+ internal ChatCompletionMessageListDatum(string content, string refusal, string id)
{
Content = content;
Refusal = refusal;
ToolCalls = new ChangeTrackingList();
Annotations = new ChangeTrackingList();
- Role = role;
Id = id;
}
diff --git a/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs
index 2ca4070e2..d7b757a70 100644
--- a/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs
@@ -660,7 +660,7 @@ protected virtual ChatCompletionOptions PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatCompletionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatFunction.Serialization.cs b/src/Generated/Models/Chat/ChatFunction.Serialization.cs
index 1cd01040e..d98c5c4d3 100644
--- a/src/Generated/Models/Chat/ChatFunction.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatFunction.Serialization.cs
@@ -151,7 +151,7 @@ protected virtual ChatFunction PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatFunctionCall.Serialization.cs b/src/Generated/Models/Chat/ChatFunctionCall.Serialization.cs
index 8ea7b1598..03494af15 100644
--- a/src/Generated/Models/Chat/ChatFunctionCall.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatFunctionCall.Serialization.cs
@@ -129,7 +129,7 @@ protected virtual ChatFunctionCall PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatFunctionCall(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatFunctionChoice.Serialization.cs b/src/Generated/Models/Chat/ChatFunctionChoice.Serialization.cs
index 8afc67e64..186936997 100644
--- a/src/Generated/Models/Chat/ChatFunctionChoice.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatFunctionChoice.Serialization.cs
@@ -80,7 +80,7 @@ protected virtual ChatFunctionChoice PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatFunctionChoice(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Chat/ChatInputTokenUsageDetails.Serialization.cs
index 460a5b06f..1ff53f686 100644
--- a/src/Generated/Models/Chat/ChatInputTokenUsageDetails.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatInputTokenUsageDetails.Serialization.cs
@@ -133,7 +133,7 @@ protected virtual ChatInputTokenUsageDetails PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatInputTokenUsageDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatMessage.Serialization.cs b/src/Generated/Models/Chat/ChatMessage.Serialization.cs
index 6ee2bd368..d50690972 100644
--- a/src/Generated/Models/Chat/ChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatMessage.Serialization.cs
@@ -123,7 +123,7 @@ protected virtual ChatMessage PersistableModelCreateCore(BinaryData data, ModelR
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatMessageAnnotation.Serialization.cs b/src/Generated/Models/Chat/ChatMessageAnnotation.Serialization.cs
index 6c61356b0..3f0b26612 100644
--- a/src/Generated/Models/Chat/ChatMessageAnnotation.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatMessageAnnotation.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual ChatMessageAnnotation PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatMessageAnnotation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatMessageContentPart.Serialization.cs b/src/Generated/Models/Chat/ChatMessageContentPart.Serialization.cs
index 74425d208..381305925 100644
--- a/src/Generated/Models/Chat/ChatMessageContentPart.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatMessageContentPart.Serialization.cs
@@ -81,7 +81,7 @@ protected virtual ChatMessageContentPart PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatMessageContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs b/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs
index 4e8e25b6d..3050a5a2f 100644
--- a/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual ChatOutputAudio PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatOutputAudio(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatOutputAudioReference.Serialization.cs b/src/Generated/Models/Chat/ChatOutputAudioReference.Serialization.cs
index e3d770ee2..9c3342510 100644
--- a/src/Generated/Models/Chat/ChatOutputAudioReference.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatOutputAudioReference.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual ChatOutputAudioReference PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatOutputAudioReference(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatOutputPrediction.Serialization.cs b/src/Generated/Models/Chat/ChatOutputPrediction.Serialization.cs
index f1196f7fd..c5ab29a7c 100644
--- a/src/Generated/Models/Chat/ChatOutputPrediction.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatOutputPrediction.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual ChatOutputPrediction PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatOutputPrediction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs
index 7f977beed..d61c1e5cd 100644
--- a/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs
@@ -163,7 +163,7 @@ protected virtual ChatOutputTokenUsageDetails PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatOutputTokenUsageDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatResponseFormat.Serialization.cs b/src/Generated/Models/Chat/ChatResponseFormat.Serialization.cs
index c13169f74..4db787b0d 100644
--- a/src/Generated/Models/Chat/ChatResponseFormat.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatResponseFormat.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual ChatResponseFormat PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatResponseFormat(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.Serialization.cs b/src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.Serialization.cs
index 21dc5bbf6..c9755cb37 100644
--- a/src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.Serialization.cs
@@ -184,7 +184,7 @@ protected virtual ChatTokenLogProbabilityDetails PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatTokenLogProbabilityDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.Serialization.cs b/src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.Serialization.cs
index 47ee59489..b1c324399 100644
--- a/src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.Serialization.cs
@@ -163,7 +163,7 @@ protected virtual ChatTokenTopLogProbabilityDetails PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatTokenTopLogProbabilityDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatTokenUsage.Serialization.cs b/src/Generated/Models/Chat/ChatTokenUsage.Serialization.cs
index c269a1839..0929126a5 100644
--- a/src/Generated/Models/Chat/ChatTokenUsage.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatTokenUsage.Serialization.cs
@@ -176,7 +176,7 @@ protected virtual ChatTokenUsage PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatTokenUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatTool.Serialization.cs b/src/Generated/Models/Chat/ChatTool.Serialization.cs
index 96f4b24a0..798d9a71d 100644
--- a/src/Generated/Models/Chat/ChatTool.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatTool.Serialization.cs
@@ -129,7 +129,7 @@ protected virtual ChatTool PersistableModelCreateCore(BinaryData data, ModelRead
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatTool.cs b/src/Generated/Models/Chat/ChatTool.cs
index aa756ff6b..93568d327 100644
--- a/src/Generated/Models/Chat/ChatTool.cs
+++ b/src/Generated/Models/Chat/ChatTool.cs
@@ -12,14 +12,6 @@ public partial class ChatTool
{
private protected IDictionary _additionalBinaryDataProperties;
- internal ChatTool(ChatToolKind kind, InternalFunctionDefinition function)
- {
- Argument.AssertNotNull(function, nameof(function));
-
- Kind = kind;
- Function = function;
- }
-
internal ChatTool(ChatToolKind kind, InternalFunctionDefinition function, IDictionary additionalBinaryDataProperties)
{
Kind = kind;
diff --git a/src/Generated/Models/Chat/ChatToolCall.Serialization.cs b/src/Generated/Models/Chat/ChatToolCall.Serialization.cs
index a25adf582..c5266897d 100644
--- a/src/Generated/Models/Chat/ChatToolCall.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatToolCall.Serialization.cs
@@ -140,7 +140,7 @@ protected virtual ChatToolCall PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatToolCall(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatToolCall.cs b/src/Generated/Models/Chat/ChatToolCall.cs
index a69d697a7..ed6fefe1c 100644
--- a/src/Generated/Models/Chat/ChatToolCall.cs
+++ b/src/Generated/Models/Chat/ChatToolCall.cs
@@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
-using OpenAI;
namespace OpenAI.Chat
{
@@ -12,16 +11,6 @@ public partial class ChatToolCall
{
private protected IDictionary _additionalBinaryDataProperties;
- internal ChatToolCall(string id, ChatToolCallKind kind, InternalChatCompletionMessageToolCallFunction function)
- {
- Argument.AssertNotNull(id, nameof(id));
- Argument.AssertNotNull(function, nameof(function));
-
- Id = id;
- Kind = kind;
- Function = function;
- }
-
internal ChatToolCall(string id, ChatToolCallKind kind, InternalChatCompletionMessageToolCallFunction function, IDictionary additionalBinaryDataProperties)
{
Id = id;
diff --git a/src/Generated/Models/Chat/ChatToolChoice.Serialization.cs b/src/Generated/Models/Chat/ChatToolChoice.Serialization.cs
index 7188a5ebc..9ba07b962 100644
--- a/src/Generated/Models/Chat/ChatToolChoice.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatToolChoice.Serialization.cs
@@ -80,7 +80,7 @@ protected virtual ChatToolChoice PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatToolChoice(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ChatWebSearchOptions.Serialization.cs b/src/Generated/Models/Chat/ChatWebSearchOptions.Serialization.cs
index 74ee9635f..71ffbb711 100644
--- a/src/Generated/Models/Chat/ChatWebSearchOptions.Serialization.cs
+++ b/src/Generated/Models/Chat/ChatWebSearchOptions.Serialization.cs
@@ -130,7 +130,7 @@ protected virtual ChatWebSearchOptions PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatWebSearchOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs b/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs
index dd7032233..428faa6a6 100644
--- a/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs
@@ -95,7 +95,7 @@ protected override ChatMessage PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeDeveloperChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs b/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs
index 5d871707c..2ed6c819e 100644
--- a/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs
@@ -104,7 +104,7 @@ protected override ChatMessage PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFunctionChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.Serialization.cs
index ea176c3d7..84f2cd712 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalChatCompletionFunctionCallOption PersistableModelCreat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionFunctionCallOption(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionList.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionList.Serialization.cs
index 3871055d7..9f1435b64 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionList.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionList.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalChatCompletionList PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionList(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalChatCompletionList PersistableModelCreateCore(BinaryDa
public static explicit operator InternalChatCompletionList(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalChatCompletionList(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionMessageList.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageList.Serialization.cs
index 0395681c5..1d9ccea6a 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionMessageList.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionMessageList.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalChatCompletionMessageList PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionMessageList(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalChatCompletionMessageList PersistableModelCreateCore(B
public static explicit operator InternalChatCompletionMessageList(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalChatCompletionMessageList(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs
index 49b8bda93..4347e7955 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalChatCompletionMessageToolCallChunkFunction Persistable
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionMessageToolCallChunkFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkType.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkType.cs
new file mode 100644
index 000000000..d45b30cb0
--- /dev/null
+++ b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkType.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Chat
+{
+ internal readonly partial struct InternalChatCompletionMessageToolCallChunkType : IEquatable
+ {
+ private readonly string _value;
+ private const string FunctionValue = "function";
+
+ public InternalChatCompletionMessageToolCallChunkType(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalChatCompletionMessageToolCallChunkType Function { get; } = new InternalChatCompletionMessageToolCallChunkType(FunctionValue);
+
+ public static bool operator ==(InternalChatCompletionMessageToolCallChunkType left, InternalChatCompletionMessageToolCallChunkType right) => left.Equals(right);
+
+ public static bool operator !=(InternalChatCompletionMessageToolCallChunkType left, InternalChatCompletionMessageToolCallChunkType right) => !left.Equals(right);
+
+ public static implicit operator InternalChatCompletionMessageToolCallChunkType(string value) => new InternalChatCompletionMessageToolCallChunkType(value);
+
+ public static implicit operator InternalChatCompletionMessageToolCallChunkType?(string value) => value == null ? null : new InternalChatCompletionMessageToolCallChunkType(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalChatCompletionMessageToolCallChunkType other && Equals(other);
+
+ public bool Equals(InternalChatCompletionMessageToolCallChunkType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.Serialization.cs
index 715a2b4ef..79941fe71 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalChatCompletionMessageToolCallFunction PersistableModel
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionMessageToolCallFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.Serialization.cs
index 23c7c8beb..629751ea3 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalChatCompletionNamedToolChoice PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionNamedToolChoice(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.cs b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.cs
index cf5ecd35c..113f7fa5a 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.cs
@@ -26,7 +26,7 @@ internal InternalChatCompletionNamedToolChoice(string kind, InternalChatCompleti
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "function";
+ internal string Kind { get; } = "function";
internal InternalChatCompletionNamedToolChoiceFunction Function { get; }
diff --git a/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs
index ae2def8ad..a4ca4a916 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalChatCompletionNamedToolChoiceFunction PersistableModel
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionNamedToolChoiceFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs
index 8afeaef9f..95cda6e72 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs
@@ -94,7 +94,7 @@ protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartAudio(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs
index 8ec55e6c8..c4a4ce716 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalChatCompletionRequestMessageContentPartAudioInputAudio
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartAudioInputAudio(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs
index fcbc02feb..f1119c0b6 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs
@@ -94,7 +94,7 @@ protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartFile(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs
index ca3309f38..5949aa4fc 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs
@@ -131,7 +131,7 @@ protected virtual InternalChatCompletionRequestMessageContentPartFileFile Persis
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartFileFile(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs
index 9ecece36c..7cd0b6619 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs
@@ -94,7 +94,7 @@ protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartImage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs
index 0c960f17b..2ac07817a 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalChatCompletionRequestMessageContentPartImageImageUrl P
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartImageImageUrl(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs
index be78e871b..6d1c8e0b2 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs
@@ -79,7 +79,7 @@ protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartRefusal(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.Serialization.cs
index fe9f9bcb5..84191cc8f 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.Serialization.cs
@@ -79,7 +79,7 @@ protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionRequestMessageContentPartText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs
index dfb9d26ef..815b4d4db 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs
@@ -245,7 +245,7 @@ protected virtual InternalChatCompletionResponseMessage PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionResponseMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs
index 250d5de68..5acdea183 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs
@@ -12,14 +12,13 @@ internal partial class InternalChatCompletionResponseMessage
{
private protected IDictionary _additionalBinaryDataProperties;
- internal InternalChatCompletionResponseMessage(ChatMessageContent content, string refusal, ChatMessageRole role)
+ internal InternalChatCompletionResponseMessage(ChatMessageContent content, string refusal)
{
// Plugin customization: ensure initialization of collections
Content = content ?? new ChatMessageContent();
Refusal = refusal;
ToolCalls = new ChangeTrackingList();
Annotations = new ChangeTrackingList();
- Role = role;
}
internal InternalChatCompletionResponseMessage(ChatMessageContent content, string refusal, IReadOnlyList toolCalls, IReadOnlyList annotations, ChatMessageRole role, ChatFunctionCall functionCall, ChatOutputAudio audio, IDictionary additionalBinaryDataProperties)
diff --git a/src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs
index 479a15721..ba593bb45 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalChatCompletionResponseMessageAnnotationUrlCitation Per
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionResponseMessageAnnotationUrlCitation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs
index c6ebc90a7..c08bb3820 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalChatCompletionResponseMessageFunctionCall PersistableM
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionResponseMessageFunctionCall(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionStreamOptions.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamOptions.Serialization.cs
index eb679223b..09f112b2b 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionStreamOptions.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionStreamOptions.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalChatCompletionStreamOptions PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionStreamOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs
index 3b42dcf96..4ab8cb369 100644
--- a/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs
@@ -204,7 +204,7 @@ protected virtual InternalChatCompletionStreamResponseDelta PersistableModelCrea
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatCompletionStreamResponseDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalChatOutputPredictionContent.Serialization.cs b/src/Generated/Models/Chat/InternalChatOutputPredictionContent.Serialization.cs
index 3f570b118..1778ac73b 100644
--- a/src/Generated/Models/Chat/InternalChatOutputPredictionContent.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalChatOutputPredictionContent.Serialization.cs
@@ -100,7 +100,7 @@ protected override ChatOutputPrediction PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalChatOutputPredictionContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs
index b834554c3..03d0aecee 100644
--- a/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs
@@ -125,7 +125,7 @@ protected virtual InternalCreateChatCompletionRequestWebSearchOptionsUserLocatio
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateChatCompletionRequestWebSearchOptionsUserLocation1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs
index 1bce30853..934519455 100644
--- a/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs
+++ b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs
@@ -27,7 +27,7 @@ internal InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1(string
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "approximate";
+ internal string Kind { get; } = "approximate";
internal InternalWebSearchLocation Approximate { get; }
diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.Serialization.cs
index 591e90580..bd7178db4 100644
--- a/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.Serialization.cs
@@ -158,7 +158,7 @@ protected virtual InternalCreateChatCompletionResponseChoice PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateChatCompletionResponseChoice(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs
index 692841c98..f7a3b40a7 100644
--- a/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs
@@ -152,7 +152,7 @@ protected virtual InternalCreateChatCompletionResponseChoiceLogprobs Persistable
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateChatCompletionResponseChoiceLogprobs(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs
index 77eb8844a..fb963b387 100644
--- a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs
@@ -106,7 +106,7 @@ protected virtual InternalCreateChatCompletionStreamResponseChoice PersistableMo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateChatCompletionStreamResponseChoice(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs
index f85492249..b5d7b3139 100644
--- a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs
@@ -152,7 +152,7 @@ protected virtual InternalCreateChatCompletionStreamResponseChoiceLogprobs Persi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateChatCompletionStreamResponseChoiceLogprobs(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.Serialization.cs
index acc18bd26..65e93bbaa 100644
--- a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.Serialization.cs
@@ -86,7 +86,7 @@ protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetChatResponseFormatJsonObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs
index 3d2793e44..3d8407137 100644
--- a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs
@@ -101,7 +101,7 @@ protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetChatResponseFormatJsonSchema(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs
index 784ebbbe7..3a124e64f 100644
--- a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs
@@ -162,7 +162,7 @@ protected virtual InternalDotNetChatResponseFormatJsonSchemaJsonSchema Persistab
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetChatResponseFormatJsonSchemaJsonSchema(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.Serialization.cs
index 2137e0f99..29b5f03f8 100644
--- a/src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.Serialization.cs
@@ -86,7 +86,7 @@ protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetChatResponseFormatText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs
index f6f27f3ca..79c52df64 100644
--- a/src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs
@@ -83,7 +83,7 @@ protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatMessageContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs
index 7da2a3ab0..a0f3dbedf 100644
--- a/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs
@@ -88,7 +88,7 @@ protected override ChatMessage PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.Serialization.cs
index 958965f63..2d771704b 100644
--- a/src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.Serialization.cs
@@ -89,7 +89,7 @@ protected override ChatOutputPrediction PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatOutputPrediction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalUnknownChatResponseFormat.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatResponseFormat.Serialization.cs
index 21c6d4720..94acff222 100644
--- a/src/Generated/Models/Chat/InternalUnknownChatResponseFormat.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalUnknownChatResponseFormat.Serialization.cs
@@ -90,7 +90,7 @@ protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeChatResponseFormat(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/InternalUpdateChatCompletionRequest.Serialization.cs b/src/Generated/Models/Chat/InternalUpdateChatCompletionRequest.Serialization.cs
index edfbf01a9..6b568c148 100644
--- a/src/Generated/Models/Chat/InternalUpdateChatCompletionRequest.Serialization.cs
+++ b/src/Generated/Models/Chat/InternalUpdateChatCompletionRequest.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalUpdateChatCompletionRequest PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalUpdateChatCompletionRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs
index 8d844d485..6a8b7d58a 100644
--- a/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs
+++ b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs
@@ -223,7 +223,7 @@ protected virtual StreamingChatCompletionUpdate PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingChatCompletionUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.Serialization.cs
index ddb75d496..5092e71dc 100644
--- a/src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.Serialization.cs
+++ b/src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.Serialization.cs
@@ -125,7 +125,7 @@ protected virtual StreamingChatFunctionCallUpdate PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingChatFunctionCallUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs
index c3ac3bb25..7122d2ff6 100644
--- a/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs
+++ b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs
@@ -150,7 +150,7 @@ protected virtual StreamingChatOutputAudioUpdate PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingChatOutputAudioUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs
index 3df54aef1..799c51a48 100644
--- a/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs
+++ b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs
@@ -159,7 +159,7 @@ protected virtual StreamingChatToolCallUpdate PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeStreamingChatToolCallUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs b/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs
index e006c7226..52e2a2d6f 100644
--- a/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs
@@ -100,7 +100,7 @@ protected override ChatMessage PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeSystemChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs b/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs
index 0b38a9dd2..4b341c455 100644
--- a/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs
@@ -104,7 +104,7 @@ protected override ChatMessage PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeToolChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Chat/UserChatMessage.Serialization.cs b/src/Generated/Models/Chat/UserChatMessage.Serialization.cs
index 687f046cb..84b9a747d 100644
--- a/src/Generated/Models/Chat/UserChatMessage.Serialization.cs
+++ b/src/Generated/Models/Chat/UserChatMessage.Serialization.cs
@@ -100,7 +100,7 @@ protected override ChatMessage PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeUserChatMessage(document.RootElement, options);
}
diff --git a/src/Generated/Models/ContainerResourceExpiresAfterAnchor.cs b/src/Generated/Models/ContainerResourceExpiresAfterAnchor.cs
new file mode 100644
index 000000000..e91b9bf28
--- /dev/null
+++ b/src/Generated/Models/ContainerResourceExpiresAfterAnchor.cs
@@ -0,0 +1,44 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
+
+namespace OpenAI
+{
+ [Experimental("OPENAI001")]
+ public readonly partial struct ContainerResourceExpiresAfterAnchor : IEquatable
+ {
+ private readonly string _value;
+ private const string LastActiveAtValue = "last_active_at";
+
+ public ContainerResourceExpiresAfterAnchor(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ public static ContainerResourceExpiresAfterAnchor LastActiveAt { get; } = new ContainerResourceExpiresAfterAnchor(LastActiveAtValue);
+
+ public static bool operator ==(ContainerResourceExpiresAfterAnchor left, ContainerResourceExpiresAfterAnchor right) => left.Equals(right);
+
+ public static bool operator !=(ContainerResourceExpiresAfterAnchor left, ContainerResourceExpiresAfterAnchor right) => !left.Equals(right);
+
+ public static implicit operator ContainerResourceExpiresAfterAnchor(string value) => new ContainerResourceExpiresAfterAnchor(value);
+
+ public static implicit operator ContainerResourceExpiresAfterAnchor?(string value) => value == null ? null : new ContainerResourceExpiresAfterAnchor(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is ContainerResourceExpiresAfterAnchor other && Equals(other);
+
+ public bool Equals(ContainerResourceExpiresAfterAnchor other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Containers/ContainerCollectionOptions.Serialization.cs b/src/Generated/Models/Containers/ContainerCollectionOptions.Serialization.cs
index 123d25b6a..9d65ac8f0 100644
--- a/src/Generated/Models/Containers/ContainerCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Containers/ContainerCollectionOptions.Serialization.cs
@@ -101,7 +101,7 @@ protected virtual ContainerCollectionOptions PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeContainerCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Containers/ContainerFileCollectionOptions.Serialization.cs b/src/Generated/Models/Containers/ContainerFileCollectionOptions.Serialization.cs
index 589010ca5..96a544e1e 100644
--- a/src/Generated/Models/Containers/ContainerFileCollectionOptions.Serialization.cs
+++ b/src/Generated/Models/Containers/ContainerFileCollectionOptions.Serialization.cs
@@ -101,7 +101,7 @@ protected virtual ContainerFileCollectionOptions PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeContainerFileCollectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Containers/ContainerFileResource.Serialization.cs b/src/Generated/Models/Containers/ContainerFileResource.Serialization.cs
index 29535ca74..7a152197e 100644
--- a/src/Generated/Models/Containers/ContainerFileResource.Serialization.cs
+++ b/src/Generated/Models/Containers/ContainerFileResource.Serialization.cs
@@ -188,7 +188,7 @@ protected virtual ContainerFileResource PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeContainerFileResource(document.RootElement, options);
}
@@ -201,8 +201,8 @@ protected virtual ContainerFileResource PersistableModelCreateCore(BinaryData da
public static explicit operator ContainerFileResource(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeContainerFileResource(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Containers/ContainerResource.Serialization.cs b/src/Generated/Models/Containers/ContainerResource.Serialization.cs
index e6472d32f..d8e19ac5a 100644
--- a/src/Generated/Models/Containers/ContainerResource.Serialization.cs
+++ b/src/Generated/Models/Containers/ContainerResource.Serialization.cs
@@ -180,7 +180,7 @@ protected virtual ContainerResource PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeContainerResource(document.RootElement, options);
}
@@ -193,8 +193,8 @@ protected virtual ContainerResource PersistableModelCreateCore(BinaryData data,
public static explicit operator ContainerResource(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeContainerResource(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Containers/ContainerResourceExpiresAfter.Serialization.cs b/src/Generated/Models/Containers/ContainerResourceExpiresAfter.Serialization.cs
index 3320a26c6..dd6dab337 100644
--- a/src/Generated/Models/Containers/ContainerResourceExpiresAfter.Serialization.cs
+++ b/src/Generated/Models/Containers/ContainerResourceExpiresAfter.Serialization.cs
@@ -29,7 +29,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Anchor) && _additionalBinaryDataProperties?.ContainsKey("anchor") != true)
{
writer.WritePropertyName("anchor"u8);
- writer.WriteStringValue(Anchor);
+ writer.WriteStringValue(Anchor.Value.ToString());
}
if (Optional.IsDefined(Minutes) && _additionalBinaryDataProperties?.ContainsKey("minutes") != true)
{
@@ -77,14 +77,18 @@ internal static ContainerResourceExpiresAfter DeserializeContainerResourceExpire
{
return null;
}
- string anchor = default;
+ ContainerResourceExpiresAfterAnchor? anchor = default;
int? minutes = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
foreach (var prop in element.EnumerateObject())
{
if (prop.NameEquals("anchor"u8))
{
- anchor = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ anchor = new ContainerResourceExpiresAfterAnchor(prop.Value.GetString());
continue;
}
if (prop.NameEquals("minutes"u8))
@@ -124,7 +128,7 @@ protected virtual ContainerResourceExpiresAfter PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeContainerResourceExpiresAfter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Containers/ContainerResourceExpiresAfter.cs b/src/Generated/Models/Containers/ContainerResourceExpiresAfter.cs
index f09fce2bf..1ce8caef5 100644
--- a/src/Generated/Models/Containers/ContainerResourceExpiresAfter.cs
+++ b/src/Generated/Models/Containers/ContainerResourceExpiresAfter.cs
@@ -5,6 +5,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
+using OpenAI;
namespace OpenAI.Containers
{
@@ -17,14 +18,14 @@ internal ContainerResourceExpiresAfter()
{
}
- internal ContainerResourceExpiresAfter(string anchor, int? minutes, IDictionary additionalBinaryDataProperties)
+ internal ContainerResourceExpiresAfter(ContainerResourceExpiresAfterAnchor? anchor, int? minutes, IDictionary additionalBinaryDataProperties)
{
Anchor = anchor;
Minutes = minutes;
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Anchor { get; }
+ public ContainerResourceExpiresAfterAnchor? Anchor { get; }
public int? Minutes { get; }
diff --git a/src/Generated/Models/Containers/CreateContainerBody.Serialization.cs b/src/Generated/Models/Containers/CreateContainerBody.Serialization.cs
index 011d31189..d476e86ba 100644
--- a/src/Generated/Models/Containers/CreateContainerBody.Serialization.cs
+++ b/src/Generated/Models/Containers/CreateContainerBody.Serialization.cs
@@ -165,7 +165,7 @@ protected virtual CreateContainerBody PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCreateContainerBody(document.RootElement, options);
}
diff --git a/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.Serialization.cs b/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.Serialization.cs
index eb718883f..1eb53f45d 100644
--- a/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.Serialization.cs
+++ b/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual CreateContainerBodyExpiresAfter PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCreateContainerBodyExpiresAfter(document.RootElement, options);
}
diff --git a/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.cs b/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.cs
index 3f8cc3952..c1e85e5a6 100644
--- a/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.cs
+++ b/src/Generated/Models/Containers/CreateContainerBodyExpiresAfter.cs
@@ -25,7 +25,7 @@ internal CreateContainerBodyExpiresAfter(string anchor, int minutes, IDictionary
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Anchor { get; } = "last_active_at";
+ internal string Anchor { get; } = "last_active_at";
public int Minutes { get; }
diff --git a/src/Generated/Models/Containers/CreateContainerFileBody.Serialization.cs b/src/Generated/Models/Containers/CreateContainerFileBody.Serialization.cs
index ae63b9dc6..f665e9758 100644
--- a/src/Generated/Models/Containers/CreateContainerFileBody.Serialization.cs
+++ b/src/Generated/Models/Containers/CreateContainerFileBody.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual CreateContainerFileBody PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCreateContainerFileBody(document.RootElement, options);
}
diff --git a/src/Generated/Models/Containers/DeleteContainerFileResponse.Serialization.cs b/src/Generated/Models/Containers/DeleteContainerFileResponse.Serialization.cs
index aef9b314b..97c6efb23 100644
--- a/src/Generated/Models/Containers/DeleteContainerFileResponse.Serialization.cs
+++ b/src/Generated/Models/Containers/DeleteContainerFileResponse.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual DeleteContainerFileResponse PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeDeleteContainerFileResponse(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual DeleteContainerFileResponse PersistableModelCreateCore(BinaryD
public static explicit operator DeleteContainerFileResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeDeleteContainerFileResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Containers/DeleteContainerResponse.Serialization.cs b/src/Generated/Models/Containers/DeleteContainerResponse.Serialization.cs
index 9f77e877c..6b8840dd4 100644
--- a/src/Generated/Models/Containers/DeleteContainerResponse.Serialization.cs
+++ b/src/Generated/Models/Containers/DeleteContainerResponse.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual DeleteContainerResponse PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeDeleteContainerResponse(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual DeleteContainerResponse PersistableModelCreateCore(BinaryData
public static explicit operator DeleteContainerResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeDeleteContainerResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Containers/InternalContainerFileListResource.Serialization.cs b/src/Generated/Models/Containers/InternalContainerFileListResource.Serialization.cs
index f7b370c67..39b5bd8dc 100644
--- a/src/Generated/Models/Containers/InternalContainerFileListResource.Serialization.cs
+++ b/src/Generated/Models/Containers/InternalContainerFileListResource.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalContainerFileListResource PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalContainerFileListResource(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalContainerFileListResource PersistableModelCreateCore(B
public static explicit operator InternalContainerFileListResource(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalContainerFileListResource(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Containers/InternalContainerListResource.Serialization.cs b/src/Generated/Models/Containers/InternalContainerListResource.Serialization.cs
index b970e88e2..fdac31efd 100644
--- a/src/Generated/Models/Containers/InternalContainerListResource.Serialization.cs
+++ b/src/Generated/Models/Containers/InternalContainerListResource.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalContainerListResource PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalContainerListResource(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalContainerListResource PersistableModelCreateCore(Binar
public static explicit operator InternalContainerListResource(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalContainerListResource(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs
index 4733cfcd3..6b21bd8db 100644
--- a/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs
+++ b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs
@@ -183,7 +183,7 @@ protected virtual EmbeddingGenerationOptions PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeEmbeddingGenerationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Embeddings/EmbeddingTokenUsage.Serialization.cs b/src/Generated/Models/Embeddings/EmbeddingTokenUsage.Serialization.cs
index 03e9b2cb6..53396d4cc 100644
--- a/src/Generated/Models/Embeddings/EmbeddingTokenUsage.Serialization.cs
+++ b/src/Generated/Models/Embeddings/EmbeddingTokenUsage.Serialization.cs
@@ -129,7 +129,7 @@ protected virtual EmbeddingTokenUsage PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeEmbeddingTokenUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Embeddings/OpenAIEmbedding.Serialization.cs b/src/Generated/Models/Embeddings/OpenAIEmbedding.Serialization.cs
index b90d2d456..92e5386ec 100644
--- a/src/Generated/Models/Embeddings/OpenAIEmbedding.Serialization.cs
+++ b/src/Generated/Models/Embeddings/OpenAIEmbedding.Serialization.cs
@@ -147,7 +147,7 @@ protected virtual OpenAIEmbedding PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIEmbedding(document.RootElement, options);
}
diff --git a/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs
index 73184c893..ac847cea6 100644
--- a/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs
+++ b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs
@@ -97,7 +97,7 @@ protected virtual OpenAIEmbeddingCollection PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIEmbeddingCollection(document.RootElement, options);
}
@@ -111,8 +111,8 @@ protected virtual OpenAIEmbeddingCollection PersistableModelCreateCore(BinaryDat
[Experimental("OPENAI001")]
public static explicit operator OpenAIEmbeddingCollection(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeOpenAIEmbeddingCollection(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalCreateEvalRequest.Serialization.cs b/src/Generated/Models/Evals/InternalCreateEvalRequest.Serialization.cs
index cd4daa0c2..fc0c6af5f 100644
--- a/src/Generated/Models/Evals/InternalCreateEvalRequest.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalCreateEvalRequest.Serialization.cs
@@ -183,7 +183,7 @@ protected virtual InternalCreateEvalRequest PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateEvalRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalCreateEvalRunRequest.Serialization.cs b/src/Generated/Models/Evals/InternalCreateEvalRunRequest.Serialization.cs
index 2aa9b27ec..b69fac57a 100644
--- a/src/Generated/Models/Evals/InternalCreateEvalRunRequest.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalCreateEvalRunRequest.Serialization.cs
@@ -162,7 +162,7 @@ protected virtual InternalCreateEvalRunRequest PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateEvalRunRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalDeleteEvalResponse.Serialization.cs b/src/Generated/Models/Evals/InternalDeleteEvalResponse.Serialization.cs
index bbffa3f0d..93cade22c 100644
--- a/src/Generated/Models/Evals/InternalDeleteEvalResponse.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalDeleteEvalResponse.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalDeleteEvalResponse PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDeleteEvalResponse(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual InternalDeleteEvalResponse PersistableModelCreateCore(BinaryDa
public static explicit operator InternalDeleteEvalResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalDeleteEvalResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalDeleteEvalRunResponse.Serialization.cs b/src/Generated/Models/Evals/InternalDeleteEvalRunResponse.Serialization.cs
index 86faf0d9f..7e71de73b 100644
--- a/src/Generated/Models/Evals/InternalDeleteEvalRunResponse.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalDeleteEvalRunResponse.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalDeleteEvalRunResponse PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDeleteEvalRunResponse(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual InternalDeleteEvalRunResponse PersistableModelCreateCore(Binar
public static explicit operator InternalDeleteEvalRunResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalDeleteEvalRunResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalEval.Serialization.cs b/src/Generated/Models/Evals/InternalEval.Serialization.cs
index f797abc57..71edfc0ce 100644
--- a/src/Generated/Models/Evals/InternalEval.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEval.Serialization.cs
@@ -245,7 +245,7 @@ protected virtual InternalEval PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEval(document.RootElement, options);
}
@@ -258,8 +258,8 @@ protected virtual InternalEval PersistableModelCreateCore(BinaryData data, Model
public static explicit operator InternalEval(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalEval(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalEvalApiError.Serialization.cs b/src/Generated/Models/Evals/InternalEvalApiError.Serialization.cs
index 1a4f4ae6b..543c20c1a 100644
--- a/src/Generated/Models/Evals/InternalEvalApiError.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalApiError.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalEvalApiError PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalApiError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.Serialization.cs
index 99966fbb8..ec3aa80d7 100644
--- a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.Serialization.cs
@@ -161,7 +161,7 @@ protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalCompletionsRunDataSourceParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs
index fd574a31f..119fdd9f6 100644
--- a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs
@@ -153,7 +153,7 @@ protected virtual InternalEvalCompletionsRunDataSourceParamsInputMessages1 Persi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalCompletionsRunDataSourceParamsInputMessages1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs
index d1dd64417..f53780c15 100644
--- a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs
+++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs
@@ -28,7 +28,7 @@ internal InternalEvalCompletionsRunDataSourceParamsInputMessages1(string kind, I
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "template";
+ internal string Kind { get; } = "template";
public IList Template { get; }
diff --git a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs
index 3402411d2..f07dfa9f3 100644
--- a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalEvalCompletionsRunDataSourceParamsInputMessages2 Persi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalCompletionsRunDataSourceParamsInputMessages2(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs
index d58a3239f..a378fc2f6 100644
--- a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs
+++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs
@@ -26,7 +26,7 @@ internal InternalEvalCompletionsRunDataSourceParamsInputMessages2(string kind, s
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "item_reference";
+ internal string Kind { get; } = "item_reference";
public string ItemReference { get; }
diff --git a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs
index 8e8969d02..ed94eb71c 100644
--- a/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs
@@ -207,7 +207,7 @@ protected virtual InternalEvalCompletionsRunDataSourceParamsSamplingParams Persi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalCompletionsRunDataSourceParamsSamplingParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.Serialization.cs
index 4efc74e30..5edfb0168 100644
--- a/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.Serialization.cs
@@ -145,7 +145,7 @@ protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalCustomDataSourceConfigParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.Serialization.cs
index 4d6c1321d..ba51d2fdc 100644
--- a/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.Serialization.cs
@@ -130,7 +130,7 @@ protected override InternalEvalDataSourceConfigResource PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalCustomDataSourceConfigResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.Serialization.cs
index 7eae7ad2b..0ec5f13c0 100644
--- a/src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalEvalDataSourceConfigParams PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalDataSourceConfigParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.Serialization.cs
index 83dbe11ee..a7ddd5aa4 100644
--- a/src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalEvalDataSourceConfigResource PersistableModelCreateCor
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalDataSourceConfigResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.Serialization.cs
index f28aaf842..155b189d2 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.Serialization.cs
@@ -225,7 +225,7 @@ protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderLabelModelParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.Serialization.cs
index 66a380d17..74d37f24d 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalEvalGraderLabelModelParamsInput PersistableModelCreate
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderLabelModelParamsInput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.Serialization.cs
index 205f48d33..342c67e44 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.Serialization.cs
@@ -206,7 +206,7 @@ protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderLabelModelResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderParams.Serialization.cs
index 7b41d8833..ab827c7ff 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderParams.Serialization.cs
@@ -117,7 +117,7 @@ protected virtual InternalEvalGraderParams PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderPythonParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderPythonParams.Serialization.cs
index f9556209e..6b66f14ca 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderPythonParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderPythonParams.Serialization.cs
@@ -144,7 +144,7 @@ protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderPythonParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderPythonResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderPythonResource.Serialization.cs
index 262a312d5..a8141eea0 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderPythonResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderPythonResource.Serialization.cs
@@ -144,7 +144,7 @@ protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderPythonResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderResource.Serialization.cs
index 0b0c66081..b8adca52f 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderResource.Serialization.cs
@@ -115,7 +115,7 @@ protected virtual InternalEvalGraderResource PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.Serialization.cs
index 62974813b..ed88781c4 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.Serialization.cs
@@ -203,7 +203,7 @@ protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderScoreModelParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.Serialization.cs
index 5bab74a23..89fc7ac01 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.Serialization.cs
@@ -203,7 +203,7 @@ protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderScoreModelResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.Serialization.cs
index c866bc012..34c57a859 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.Serialization.cs
@@ -140,7 +140,7 @@ protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderStringCheckParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.Serialization.cs
index e70fe524e..0a0468ffa 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.Serialization.cs
@@ -152,7 +152,7 @@ protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderTextSimilarityParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.Serialization.cs
index 1533fa4c5..c241aae09 100644
--- a/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.Serialization.cs
@@ -152,7 +152,7 @@ protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderTextSimilarityResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalItem.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItem.Serialization.cs
index e91fc6139..34374f22c 100644
--- a/src/Generated/Models/Evals/InternalEvalItem.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalItem.Serialization.cs
@@ -50,7 +50,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Kind) && _additionalBinaryDataProperties?.ContainsKey("type") != true)
{
writer.WritePropertyName("type"u8);
- writer.WriteStringValue(Kind);
+ writer.WriteStringValue(Kind.Value.ToString());
}
// Plugin customization: remove options.Format != "W" check
if (_additionalBinaryDataProperties != null)
@@ -95,7 +95,7 @@ internal static InternalEvalItem DeserializeInternalEvalItem(JsonElement element
}
InternalEvalItemRole role = default;
BinaryData content = default;
- string kind = default;
+ InternalEvalItemType? kind = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
foreach (var prop in element.EnumerateObject())
{
@@ -111,7 +111,11 @@ internal static InternalEvalItem DeserializeInternalEvalItem(JsonElement element
}
if (prop.NameEquals("type"u8))
{
- kind = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ kind = new InternalEvalItemType(prop.Value.GetString());
continue;
}
// Plugin customization: remove options.Format != "W" check
@@ -142,7 +146,7 @@ protected virtual InternalEvalItem PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalItem.cs b/src/Generated/Models/Evals/InternalEvalItem.cs
index 35f445276..51d44e772 100644
--- a/src/Generated/Models/Evals/InternalEvalItem.cs
+++ b/src/Generated/Models/Evals/InternalEvalItem.cs
@@ -20,7 +20,7 @@ internal InternalEvalItem(InternalEvalItemRole role, BinaryData content)
Content = content;
}
- internal InternalEvalItem(InternalEvalItemRole role, BinaryData content, string kind, IDictionary additionalBinaryDataProperties)
+ internal InternalEvalItem(InternalEvalItemRole role, BinaryData content, InternalEvalItemType? kind, IDictionary additionalBinaryDataProperties)
{
Role = role;
Content = content;
@@ -32,7 +32,7 @@ internal InternalEvalItem(InternalEvalItemRole role, BinaryData content, string
public BinaryData Content { get; set; }
- public string Kind { get; set; }
+ internal InternalEvalItemType? Kind { get; set; }
internal IDictionary SerializedAdditionalRawData
{
diff --git a/src/Generated/Models/Evals/InternalEvalItemContent.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItemContent.Serialization.cs
index 1b4c7883a..16b799de1 100644
--- a/src/Generated/Models/Evals/InternalEvalItemContent.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalItemContent.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual InternalEvalItemContent PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalItemContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalItemContentInputText.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItemContentInputText.Serialization.cs
index 49e22f27e..d24299bb6 100644
--- a/src/Generated/Models/Evals/InternalEvalItemContentInputText.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalItemContentInputText.Serialization.cs
@@ -100,7 +100,7 @@ protected override InternalEvalItemContent PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalItemContentInputText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalItemContentOutputText.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItemContentOutputText.Serialization.cs
index 027c88b5a..043bec533 100644
--- a/src/Generated/Models/Evals/InternalEvalItemContentOutputText.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalItemContentOutputText.Serialization.cs
@@ -100,7 +100,7 @@ protected override InternalEvalItemContent PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalItemContentOutputText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalItemType.cs b/src/Generated/Models/Evals/InternalEvalItemType.cs
new file mode 100644
index 000000000..c438e8162
--- /dev/null
+++ b/src/Generated/Models/Evals/InternalEvalItemType.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Evals
+{
+ internal readonly partial struct InternalEvalItemType : IEquatable
+ {
+ private readonly string _value;
+ private const string MessageValue = "message";
+
+ public InternalEvalItemType(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalEvalItemType Message { get; } = new InternalEvalItemType(MessageValue);
+
+ public static bool operator ==(InternalEvalItemType left, InternalEvalItemType right) => left.Equals(right);
+
+ public static bool operator !=(InternalEvalItemType left, InternalEvalItemType right) => !left.Equals(right);
+
+ public static implicit operator InternalEvalItemType(string value) => new InternalEvalItemType(value);
+
+ public static implicit operator InternalEvalItemType?(string value) => value == null ? null : new InternalEvalItemType(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalEvalItemType other && Equals(other);
+
+ public bool Equals(InternalEvalItemType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.Serialization.cs
index 53aec40de..0c0603383 100644
--- a/src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.Serialization.cs
@@ -107,7 +107,7 @@ protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalJsonlRunDataSourceParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalList.Serialization.cs b/src/Generated/Models/Evals/InternalEvalList.Serialization.cs
index 75418e07a..a362429ce 100644
--- a/src/Generated/Models/Evals/InternalEvalList.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalList.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalEvalList PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalList(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalEvalList PersistableModelCreateCore(BinaryData data, M
public static explicit operator InternalEvalList(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalEvalList(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.Serialization.cs
index d3810aac1..6d3b60210 100644
--- a/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.Serialization.cs
@@ -123,7 +123,7 @@ protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalLogsDataSourceConfigParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.Serialization.cs
index a5ba030f1..e209878df 100644
--- a/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.Serialization.cs
@@ -176,7 +176,7 @@ protected override InternalEvalDataSourceConfigResource PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalLogsDataSourceConfigResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.Serialization.cs
index 31706c10c..6f31e7ff5 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.Serialization.cs
@@ -161,7 +161,7 @@ protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalResponsesRunDataSourceParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs
index 041e1c45f..855337005 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs
@@ -153,7 +153,7 @@ protected virtual InternalEvalResponsesRunDataSourceParamsInputMessages1 Persist
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalResponsesRunDataSourceParamsInputMessages1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs
index 81815dae1..1ce360875 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs
@@ -28,7 +28,7 @@ internal InternalEvalResponsesRunDataSourceParamsInputMessages1(string kind, ILi
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "template";
+ internal string Kind { get; } = "template";
public IList Template { get; }
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs
index 38dfbaa96..96662ef79 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalEvalResponsesRunDataSourceParamsInputMessages2 Persist
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalResponsesRunDataSourceParamsInputMessages2(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs
index b62c3288e..767aa9aec 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs
@@ -26,7 +26,7 @@ internal InternalEvalResponsesRunDataSourceParamsInputMessages2(string kind, str
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "item_reference";
+ internal string Kind { get; } = "item_reference";
public string ItemReference { get; }
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs
index 5c039085a..98ec33735 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs
index 04f181800..517920950 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs
@@ -206,7 +206,7 @@ protected virtual InternalEvalResponsesRunDataSourceParamsSamplingParams Persist
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalResponsesRunDataSourceParamsSamplingParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs
index 45bf44a5e..18a6ba770 100644
--- a/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs
@@ -114,7 +114,7 @@ protected virtual InternalEvalResponsesRunDataSourceParamsSamplingParamsText Per
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalResponsesRunDataSourceParamsSamplingParamsText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRun.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRun.Serialization.cs
index 46edc28d5..723f51bd8 100644
--- a/src/Generated/Models/Evals/InternalEvalRun.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRun.Serialization.cs
@@ -327,7 +327,7 @@ protected virtual InternalEvalRun PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRun(document.RootElement, options);
}
@@ -340,8 +340,8 @@ protected virtual InternalEvalRun PersistableModelCreateCore(BinaryData data, Mo
public static explicit operator InternalEvalRun(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalEvalRun(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunDataContentSource.Serialization.cs
index 2a0ef6ed0..97011e47c 100644
--- a/src/Generated/Models/Evals/InternalEvalRunDataContentSource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunDataContentSource.Serialization.cs
@@ -115,7 +115,7 @@ protected virtual InternalEvalRunDataContentSource PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunDataContentSource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunDataSourceParams.Serialization.cs
index 417c09702..1129554f9 100644
--- a/src/Generated/Models/Evals/InternalEvalRunDataSourceParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunDataSourceParams.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalEvalRunDataSourceParams PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunDataSourceParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunDataSourceResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunDataSourceResource.Serialization.cs
index 770f9ce81..8b302f521 100644
--- a/src/Generated/Models/Evals/InternalEvalRunDataSourceResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunDataSourceResource.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalEvalRunDataSourceResource PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunDataSourceResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.Serialization.cs
index 772983763..416b2ae3f 100644
--- a/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.Serialization.cs
@@ -110,7 +110,7 @@ protected override InternalEvalRunDataContentSource PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunFileContentDataContentSource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs
index ff742bda3..738f0fab0 100644
--- a/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs
@@ -188,7 +188,7 @@ protected virtual InternalEvalRunFileContentDataContentSourceContent Persistable
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunFileContentDataContentSourceContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.Serialization.cs
index 0c373693c..881b63e55 100644
--- a/src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.Serialization.cs
@@ -100,7 +100,7 @@ protected override InternalEvalRunDataContentSource PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunFileIdDataContentSource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunList.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunList.Serialization.cs
index 4bfce8682..7c1b714c6 100644
--- a/src/Generated/Models/Evals/InternalEvalRunList.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunList.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalEvalRunList PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunList(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalEvalRunList PersistableModelCreateCore(BinaryData data
public static explicit operator InternalEvalRunList(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalEvalRunList(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunOutputItem.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItem.Serialization.cs
index d2641487f..3de79b27b 100644
--- a/src/Generated/Models/Evals/InternalEvalRunOutputItem.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunOutputItem.Serialization.cs
@@ -306,7 +306,7 @@ protected virtual InternalEvalRunOutputItem PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunOutputItem(document.RootElement, options);
}
@@ -319,8 +319,8 @@ protected virtual InternalEvalRunOutputItem PersistableModelCreateCore(BinaryDat
public static explicit operator InternalEvalRunOutputItem(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalEvalRunOutputItem(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunOutputItemList.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemList.Serialization.cs
index 4ed0161b9..177e989de 100644
--- a/src/Generated/Models/Evals/InternalEvalRunOutputItemList.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemList.Serialization.cs
@@ -174,7 +174,7 @@ protected virtual InternalEvalRunOutputItemList PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunOutputItemList(document.RootElement, options);
}
@@ -187,8 +187,8 @@ protected virtual InternalEvalRunOutputItemList PersistableModelCreateCore(Binar
public static explicit operator InternalEvalRunOutputItemList(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalEvalRunOutputItemList(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunOutputItemSample.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSample.Serialization.cs
index 78a3e6d4f..149113c31 100644
--- a/src/Generated/Models/Evals/InternalEvalRunOutputItemSample.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSample.Serialization.cs
@@ -243,7 +243,7 @@ protected virtual InternalEvalRunOutputItemSample PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunOutputItemSample(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.Serialization.cs
index bd4e887ca..865c6b2ee 100644
--- a/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalEvalRunOutputItemSampleInput PersistableModelCreateCor
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunOutputItemSampleInput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.Serialization.cs
index 3646b6248..d4f04d733 100644
--- a/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalEvalRunOutputItemSampleOutput PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunOutputItemSampleOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.Serialization.cs
index 4261d1e4a..12e4eb99e 100644
--- a/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalEvalRunOutputItemSampleUsage PersistableModelCreateCor
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunOutputItemSampleUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunPerModelUsage.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunPerModelUsage.Serialization.cs
index 8df75e0c9..5047f1173 100644
--- a/src/Generated/Models/Evals/InternalEvalRunPerModelUsage.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunPerModelUsage.Serialization.cs
@@ -175,7 +175,7 @@ protected virtual InternalEvalRunPerModelUsage PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunPerModelUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.Serialization.cs
index 309c04941..71b1668a2 100644
--- a/src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalEvalRunPerTestingCriteriaResult PersistableModelCreate
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunPerTestingCriteriaResult(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.Serialization.cs
index 4dd61e751..2e72d956a 100644
--- a/src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.Serialization.cs
@@ -322,7 +322,7 @@ protected override InternalEvalRunDataContentSource PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunResponsesDataContentSource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunResultCounts.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunResultCounts.Serialization.cs
index e3406109c..1f297080c 100644
--- a/src/Generated/Models/Evals/InternalEvalRunResultCounts.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunResultCounts.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalEvalRunResultCounts PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunResultCounts(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs
index 62f311347..250d21a19 100644
--- a/src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs
@@ -206,7 +206,7 @@ protected override InternalEvalRunDataContentSource PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunStoredCompletionsDataContentSource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs
index 997015243..ae01be46f 100644
--- a/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs
@@ -130,7 +130,7 @@ protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalStoredCompletionsDataSourceConfigParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs
index 2bb688964..ca61dea9f 100644
--- a/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs
@@ -176,7 +176,7 @@ protected override InternalEvalDataSourceConfigResource PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalStoredCompletionsDataSourceConfigResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalMetadataPropertyForRequest.Serialization.cs b/src/Generated/Models/Evals/InternalMetadataPropertyForRequest.Serialization.cs
index 605fe02d2..ccae4839b 100644
--- a/src/Generated/Models/Evals/InternalMetadataPropertyForRequest.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalMetadataPropertyForRequest.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalMetadataPropertyForRequest PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalMetadataPropertyForRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.Serialization.cs
index ca5a80cbd..cbd398450 100644
--- a/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalDataSourceConfigParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.Serialization.cs
index dbb0946e3..d1d7976b9 100644
--- a/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalEvalDataSourceConfigResource PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalDataSourceConfigResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUnknownEvalGraderParams.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalGraderParams.Serialization.cs
index d764a80a9..87958114f 100644
--- a/src/Generated/Models/Evals/InternalUnknownEvalGraderParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUnknownEvalGraderParams.Serialization.cs
@@ -90,7 +90,7 @@ protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUnknownEvalGraderResource.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalGraderResource.Serialization.cs
index 4cef4d0c9..61cf266ed 100644
--- a/src/Generated/Models/Evals/InternalUnknownEvalGraderResource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUnknownEvalGraderResource.Serialization.cs
@@ -90,7 +90,7 @@ protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalGraderResource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUnknownEvalItemContent.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalItemContent.Serialization.cs
index 85da64aec..b234783f4 100644
--- a/src/Generated/Models/Evals/InternalUnknownEvalItemContent.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUnknownEvalItemContent.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalEvalItemContent PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalItemContent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.Serialization.cs
index 823a76f03..f5d5b03ca 100644
--- a/src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalEvalRunDataContentSource PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunDataContentSource(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.Serialization.cs
index 15a274788..e4d4e59fa 100644
--- a/src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalEvalRunDataSourceParams(document.RootElement, options);
}
diff --git a/src/Generated/Models/Evals/InternalUpdateEvalRequest.Serialization.cs b/src/Generated/Models/Evals/InternalUpdateEvalRequest.Serialization.cs
index 727eb74cf..ae6eb2beb 100644
--- a/src/Generated/Models/Evals/InternalUpdateEvalRequest.Serialization.cs
+++ b/src/Generated/Models/Evals/InternalUpdateEvalRequest.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalUpdateEvalRequest PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalUpdateEvalRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Files/FileDeletionResult.Serialization.cs b/src/Generated/Models/Files/FileDeletionResult.Serialization.cs
index cbf58e6c8..45c72f513 100644
--- a/src/Generated/Models/Files/FileDeletionResult.Serialization.cs
+++ b/src/Generated/Models/Files/FileDeletionResult.Serialization.cs
@@ -141,7 +141,7 @@ protected virtual FileDeletionResult PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileDeletionResult(document.RootElement, options);
}
@@ -155,8 +155,8 @@ protected virtual FileDeletionResult PersistableModelCreateCore(BinaryData data,
[Experimental("OPENAI001")]
public static explicit operator FileDeletionResult(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeFileDeletionResult(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Files/InternalAddUploadPartRequest.Serialization.cs b/src/Generated/Models/Files/InternalAddUploadPartRequest.Serialization.cs
index ee470cd35..414592b4b 100644
--- a/src/Generated/Models/Files/InternalAddUploadPartRequest.Serialization.cs
+++ b/src/Generated/Models/Files/InternalAddUploadPartRequest.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalAddUploadPartRequest PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalAddUploadPartRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Files/InternalCompleteUploadRequest.Serialization.cs b/src/Generated/Models/Files/InternalCompleteUploadRequest.Serialization.cs
index 8a6dc84d5..9692c18e2 100644
--- a/src/Generated/Models/Files/InternalCompleteUploadRequest.Serialization.cs
+++ b/src/Generated/Models/Files/InternalCompleteUploadRequest.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalCompleteUploadRequest PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCompleteUploadRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Files/InternalCreateUploadRequest.Serialization.cs b/src/Generated/Models/Files/InternalCreateUploadRequest.Serialization.cs
index 56d43413a..bd1bf36bc 100644
--- a/src/Generated/Models/Files/InternalCreateUploadRequest.Serialization.cs
+++ b/src/Generated/Models/Files/InternalCreateUploadRequest.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalCreateUploadRequest PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateUploadRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Files/InternalFileUploadOptions.Serialization.cs b/src/Generated/Models/Files/InternalFileUploadOptions.Serialization.cs
index 635c2e510..ab5d0741a 100644
--- a/src/Generated/Models/Files/InternalFileUploadOptions.Serialization.cs
+++ b/src/Generated/Models/Files/InternalFileUploadOptions.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual InternalFileUploadOptions PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFileUploadOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Files/InternalUpload.Serialization.cs b/src/Generated/Models/Files/InternalUpload.Serialization.cs
index 09c441ebc..7126c0603 100644
--- a/src/Generated/Models/Files/InternalUpload.Serialization.cs
+++ b/src/Generated/Models/Files/InternalUpload.Serialization.cs
@@ -69,7 +69,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Object) && _additionalBinaryDataProperties?.ContainsKey("object") != true)
{
writer.WritePropertyName("object"u8);
- writer.WriteStringValue(Object);
+ writer.WriteStringValue(Object.Value.ToString());
}
if (Optional.IsDefined(File) && _additionalBinaryDataProperties?.ContainsKey("file") != true)
{
@@ -124,7 +124,7 @@ internal static InternalUpload DeserializeInternalUpload(JsonElement element, Mo
string purpose = default;
InternalUploadStatus status = default;
DateTimeOffset expiresAt = default;
- string @object = default;
+ InternalUploadObject? @object = default;
OpenAIFile @file = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
foreach (var prop in element.EnumerateObject())
@@ -166,7 +166,11 @@ internal static InternalUpload DeserializeInternalUpload(JsonElement element, Mo
}
if (prop.NameEquals("object"u8))
{
- @object = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ @object = new InternalUploadObject(prop.Value.GetString());
continue;
}
if (prop.NameEquals("file"u8))
@@ -217,7 +221,7 @@ protected virtual InternalUpload PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalUpload(document.RootElement, options);
}
@@ -230,8 +234,8 @@ protected virtual InternalUpload PersistableModelCreateCore(BinaryData data, Mod
public static explicit operator InternalUpload(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalUpload(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Files/InternalUpload.cs b/src/Generated/Models/Files/InternalUpload.cs
index 846d003db..2049df4e2 100644
--- a/src/Generated/Models/Files/InternalUpload.cs
+++ b/src/Generated/Models/Files/InternalUpload.cs
@@ -22,7 +22,7 @@ internal InternalUpload(string id, DateTimeOffset createdAt, string filename, in
ExpiresAt = expiresAt;
}
- internal InternalUpload(string id, DateTimeOffset createdAt, string filename, int bytes, string purpose, InternalUploadStatus status, DateTimeOffset expiresAt, string @object, OpenAIFile @file, IDictionary additionalBinaryDataProperties)
+ internal InternalUpload(string id, DateTimeOffset createdAt, string filename, int bytes, string purpose, InternalUploadStatus status, DateTimeOffset expiresAt, InternalUploadObject? @object, OpenAIFile @file, IDictionary additionalBinaryDataProperties)
{
Id = id;
CreatedAt = createdAt;
@@ -50,7 +50,7 @@ internal InternalUpload(string id, DateTimeOffset createdAt, string filename, in
public DateTimeOffset ExpiresAt { get; }
- public string Object { get; }
+ internal InternalUploadObject? Object { get; }
public OpenAIFile File { get; }
diff --git a/src/Generated/Models/Files/InternalUploadObject.cs b/src/Generated/Models/Files/InternalUploadObject.cs
new file mode 100644
index 000000000..46f61c659
--- /dev/null
+++ b/src/Generated/Models/Files/InternalUploadObject.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Files
+{
+ internal readonly partial struct InternalUploadObject : IEquatable
+ {
+ private readonly string _value;
+ private const string UploadValue = "upload";
+
+ public InternalUploadObject(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalUploadObject Upload { get; } = new InternalUploadObject(UploadValue);
+
+ public static bool operator ==(InternalUploadObject left, InternalUploadObject right) => left.Equals(right);
+
+ public static bool operator !=(InternalUploadObject left, InternalUploadObject right) => !left.Equals(right);
+
+ public static implicit operator InternalUploadObject(string value) => new InternalUploadObject(value);
+
+ public static implicit operator InternalUploadObject?(string value) => value == null ? null : new InternalUploadObject(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalUploadObject other && Equals(other);
+
+ public bool Equals(InternalUploadObject other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Files/InternalUploadPart.Serialization.cs b/src/Generated/Models/Files/InternalUploadPart.Serialization.cs
index cda4b7c95..56ea9cc35 100644
--- a/src/Generated/Models/Files/InternalUploadPart.Serialization.cs
+++ b/src/Generated/Models/Files/InternalUploadPart.Serialization.cs
@@ -147,7 +147,7 @@ protected virtual InternalUploadPart PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalUploadPart(document.RootElement, options);
}
@@ -160,8 +160,8 @@ protected virtual InternalUploadPart PersistableModelCreateCore(BinaryData data,
public static explicit operator InternalUploadPart(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalUploadPart(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Files/OpenAIFile.Serialization.cs b/src/Generated/Models/Files/OpenAIFile.Serialization.cs
index f665382d1..82529271d 100644
--- a/src/Generated/Models/Files/OpenAIFile.Serialization.cs
+++ b/src/Generated/Models/Files/OpenAIFile.Serialization.cs
@@ -233,7 +233,7 @@ protected virtual OpenAIFile PersistableModelCreateCore(BinaryData data, ModelRe
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIFile(document.RootElement, options);
}
@@ -247,8 +247,8 @@ protected virtual OpenAIFile PersistableModelCreateCore(BinaryData data, ModelRe
[Experimental("OPENAI001")]
public static explicit operator OpenAIFile(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeOpenAIFile(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Files/OpenAIFileCollection.Serialization.cs b/src/Generated/Models/Files/OpenAIFileCollection.Serialization.cs
index cbfee9d63..0241484a2 100644
--- a/src/Generated/Models/Files/OpenAIFileCollection.Serialization.cs
+++ b/src/Generated/Models/Files/OpenAIFileCollection.Serialization.cs
@@ -102,7 +102,7 @@ protected virtual OpenAIFileCollection PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIFileCollection(document.RootElement, options);
}
@@ -116,8 +116,8 @@ protected virtual OpenAIFileCollection PersistableModelCreateCore(BinaryData dat
[Experimental("OPENAI001")]
public static explicit operator OpenAIFileCollection(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeOpenAIFileCollection(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/FineTuning/FineTuningCheckpoint.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningCheckpoint.Serialization.cs
index 314963dd8..f65f03af0 100644
--- a/src/Generated/Models/FineTuning/FineTuningCheckpoint.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningCheckpoint.Serialization.cs
@@ -187,7 +187,7 @@ protected virtual FineTuningCheckpoint PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningCheckpoint(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs
index fd01f2e9e..07d4f08c8 100644
--- a/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs
@@ -211,7 +211,7 @@ protected virtual FineTuningCheckpointMetrics PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningCheckpointMetrics(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningError.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningError.Serialization.cs
index c76bdffb3..c9614d11e 100644
--- a/src/Generated/Models/FineTuning/FineTuningError.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningError.Serialization.cs
@@ -147,7 +147,7 @@ protected virtual FineTuningError PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningError(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningEvent.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningEvent.Serialization.cs
index 4b5e48385..d2e314789 100644
--- a/src/Generated/Models/FineTuning/FineTuningEvent.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningEvent.Serialization.cs
@@ -202,7 +202,7 @@ protected virtual FineTuningEvent PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningEvent(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs
index e5108a6e6..8415cbad4 100644
--- a/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs
@@ -169,7 +169,7 @@ private FineTuningHyperparameters PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningHyperparameters(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningIntegration.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningIntegration.Serialization.cs
index bbe378975..0dd7b11ff 100644
--- a/src/Generated/Models/FineTuning/FineTuningIntegration.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningIntegration.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual FineTuningIntegration PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningIntegration(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.Serialization.cs
index 8c45c1645..22c423521 100644
--- a/src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.Serialization.cs
@@ -182,7 +182,7 @@ protected virtual FineTuningIntegrationWandbWandb PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningIntegrationWandbWandb(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningOptions.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningOptions.Serialization.cs
index 77e01dfe3..e1d514cad 100644
--- a/src/Generated/Models/FineTuning/FineTuningOptions.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningOptions.Serialization.cs
@@ -271,7 +271,7 @@ protected virtual FineTuningOptions PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs
index 6f1d787c8..87f013219 100644
--- a/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs
+++ b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs
@@ -158,7 +158,7 @@ protected virtual FineTuningTrainingMethod PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningTrainingMethod(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs b/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs
index 55bf383c6..721b33614 100644
--- a/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs
+++ b/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs
@@ -143,7 +143,7 @@ protected virtual HyperparameterOptions PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeHyperparameterOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs b/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs
index 94c9b13a6..3cdd3325c 100644
--- a/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs
+++ b/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs
@@ -186,7 +186,7 @@ protected virtual HyperparametersForDPO PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeHyperparametersForDPO(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs b/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs
index 5e1f9bfd1..577f435a0 100644
--- a/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs
+++ b/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs
@@ -164,7 +164,7 @@ protected virtual HyperparametersForSupervised PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeHyperparametersForSupervised(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs
index a905d95d0..8272c4013 100644
--- a/src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalCreateFineTuningCheckpointPermissionRequest Persistabl
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateFineTuningCheckpointPermissionRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs
index 42a3532f3..67dbc6981 100644
--- a/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs
@@ -182,7 +182,7 @@ protected virtual InternalCreateFineTuningJobRequestWandbIntegrationWandb Persis
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateFineTuningJobRequestWandbIntegrationWandb(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs
index 4988068a8..121f9a50d 100644
--- a/src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalDeleteFineTuningCheckpointPermissionResponse Persistab
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDeleteFineTuningCheckpointPermissionResponse(document.RootElement, options);
}
@@ -149,8 +149,8 @@ protected virtual InternalDeleteFineTuningCheckpointPermissionResponse Persistab
public static explicit operator InternalDeleteFineTuningCheckpointPermissionResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalDeleteFineTuningCheckpointPermissionResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.Serialization.cs
index f721f5e4e..6844f5177 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalFineTuneReinforcementMethod PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuneReinforcementMethod(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.Serialization.cs
index ef6dda545..b2b4bb287 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalFineTuningCheckpointPermission PersistableModelCreateC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningCheckpointPermission(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuningIntegration.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningIntegration.Serialization.cs
index 0ddf175dd..da794c4cb 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuningIntegration.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuningIntegration.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual InternalFineTuningIntegration PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningIntegration(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.Serialization.cs
index 5b094cc14..761e62c6c 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.Serialization.cs
@@ -100,7 +100,7 @@ protected override InternalFineTuningIntegration PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningIntegrationWandb(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs
index 8de4aea90..9a4368be4 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs
@@ -489,7 +489,7 @@ protected virtual InternalFineTuningJob PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningJob(document.RootElement, options);
}
@@ -502,8 +502,8 @@ protected virtual InternalFineTuningJob PersistableModelCreateCore(BinaryData da
public static explicit operator InternalFineTuningJob(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalFineTuningJob(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.Serialization.cs
index f1e94d598..272aef02e 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalFineTuningJobRequestMethodDpo PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningJobRequestMethodDpo(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.Serialization.cs
index 9751bc43d..6c0b49ae9 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalFineTuningJobRequestMethodSupervised PersistableModelC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningJobRequestMethodSupervised(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.Serialization.cs
index 697d595ae..53c7bb8be 100644
--- a/src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.Serialization.cs
@@ -125,7 +125,7 @@ protected virtual InternalFineTuningJobsPageToken PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningJobsPageToken(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs
index dd5c8274c..4d4107f55 100644
--- a/src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs
@@ -184,7 +184,7 @@ protected virtual InternalListFineTuningCheckpointPermissionResponse Persistable
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListFineTuningCheckpointPermissionResponse(document.RootElement, options);
}
@@ -197,8 +197,8 @@ protected virtual InternalListFineTuningCheckpointPermissionResponse Persistable
public static explicit operator InternalListFineTuningCheckpointPermissionResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListFineTuningCheckpointPermissionResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.Serialization.cs
index e5b209b77..c3cc4f029 100644
--- a/src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.Serialization.cs
@@ -184,7 +184,7 @@ protected virtual InternalListFineTuningJobCheckpointsResponse PersistableModelC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListFineTuningJobCheckpointsResponse(document.RootElement, options);
}
@@ -197,8 +197,8 @@ protected virtual InternalListFineTuningJobCheckpointsResponse PersistableModelC
public static explicit operator InternalListFineTuningJobCheckpointsResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListFineTuningJobCheckpointsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.Serialization.cs
index 6f56e35f9..aa7d40c68 100644
--- a/src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalListFineTuningJobEventsResponse PersistableModelCreate
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListFineTuningJobEventsResponse(document.RootElement, options);
}
@@ -159,8 +159,8 @@ protected virtual InternalListFineTuningJobEventsResponse PersistableModelCreate
public static explicit operator InternalListFineTuningJobEventsResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListFineTuningJobEventsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.Serialization.cs
index 815408341..131311139 100644
--- a/src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual InternalListPaginatedFineTuningJobsResponse PersistableModelCr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalListPaginatedFineTuningJobsResponse(document.RootElement, options);
}
@@ -159,8 +159,8 @@ protected virtual InternalListPaginatedFineTuningJobsResponse PersistableModelCr
public static explicit operator InternalListPaginatedFineTuningJobsResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalListPaginatedFineTuningJobsResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.Serialization.cs b/src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.Serialization.cs
index 9a9feb8cf..01ca45058 100644
--- a/src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.Serialization.cs
+++ b/src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.Serialization.cs
@@ -208,7 +208,7 @@ protected virtual InternalTodoFineTuneChatRequestInput PersistableModelCreateCor
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalTodoFineTuneChatRequestInput(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs b/src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs
index dec1c7a6e..c1c8535a4 100644
--- a/src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs
+++ b/src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs
@@ -89,7 +89,7 @@ protected override FineTuningIntegration PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuningIntegration(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/UnknownFineTuningIntegration.Serialization.cs b/src/Generated/Models/FineTuning/UnknownFineTuningIntegration.Serialization.cs
index cbf202b4e..2a6a40353 100644
--- a/src/Generated/Models/FineTuning/UnknownFineTuningIntegration.Serialization.cs
+++ b/src/Generated/Models/FineTuning/UnknownFineTuningIntegration.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalFineTuningIntegration PersistableModelCreateCore(Bina
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFineTuningIntegration(document.RootElement, options);
}
diff --git a/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.Serialization.cs b/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.Serialization.cs
index 1bf423977..24b819f87 100644
--- a/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.Serialization.cs
+++ b/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.Serialization.cs
@@ -100,7 +100,7 @@ protected override FineTuningIntegration PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeWeightsAndBiasesIntegration(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/FineTuneReinforcementHyperparameters.Serialization.cs b/src/Generated/Models/Graders/FineTuneReinforcementHyperparameters.Serialization.cs
index fff73f89a..cb206477c 100644
--- a/src/Generated/Models/Graders/FineTuneReinforcementHyperparameters.Serialization.cs
+++ b/src/Generated/Models/Graders/FineTuneReinforcementHyperparameters.Serialization.cs
@@ -254,7 +254,7 @@ protected virtual FineTuneReinforcementHyperparameters PersistableModelCreateCor
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFineTuneReinforcementHyperparameters(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/Grader.Serialization.cs b/src/Generated/Models/Graders/Grader.Serialization.cs
index 0f09cd16c..ca84643d2 100644
--- a/src/Generated/Models/Graders/Grader.Serialization.cs
+++ b/src/Generated/Models/Graders/Grader.Serialization.cs
@@ -119,7 +119,7 @@ protected virtual Grader PersistableModelCreateCore(BinaryData data, ModelReader
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGrader(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/GraderLabelModel.Serialization.cs b/src/Generated/Models/Graders/GraderLabelModel.Serialization.cs
index f96fd3dce..3c07167f6 100644
--- a/src/Generated/Models/Graders/GraderLabelModel.Serialization.cs
+++ b/src/Generated/Models/Graders/GraderLabelModel.Serialization.cs
@@ -206,7 +206,7 @@ protected override Grader PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGraderLabelModel(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/GraderMulti.Serialization.cs b/src/Generated/Models/Graders/GraderMulti.Serialization.cs
index a79d8e4a4..28986eab3 100644
--- a/src/Generated/Models/Graders/GraderMulti.Serialization.cs
+++ b/src/Generated/Models/Graders/GraderMulti.Serialization.cs
@@ -129,7 +129,7 @@ protected override Grader PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGraderMulti(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/GraderPython.Serialization.cs b/src/Generated/Models/Graders/GraderPython.Serialization.cs
index 65e60ffba..ee4df9ff7 100644
--- a/src/Generated/Models/Graders/GraderPython.Serialization.cs
+++ b/src/Generated/Models/Graders/GraderPython.Serialization.cs
@@ -122,7 +122,7 @@ protected override Grader PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGraderPython(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/GraderScoreModel.Serialization.cs b/src/Generated/Models/Graders/GraderScoreModel.Serialization.cs
index cea9ea4aa..3319e71ec 100644
--- a/src/Generated/Models/Graders/GraderScoreModel.Serialization.cs
+++ b/src/Generated/Models/Graders/GraderScoreModel.Serialization.cs
@@ -187,7 +187,7 @@ protected override Grader PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGraderScoreModel(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/GraderStringCheck.Serialization.cs b/src/Generated/Models/Graders/GraderStringCheck.Serialization.cs
index 99574163d..0f60dba04 100644
--- a/src/Generated/Models/Graders/GraderStringCheck.Serialization.cs
+++ b/src/Generated/Models/Graders/GraderStringCheck.Serialization.cs
@@ -139,7 +139,7 @@ protected override Grader PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGraderStringCheck(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/GraderTextSimilarity.Serialization.cs b/src/Generated/Models/Graders/GraderTextSimilarity.Serialization.cs
index 03718253f..87b4e6414 100644
--- a/src/Generated/Models/Graders/GraderTextSimilarity.Serialization.cs
+++ b/src/Generated/Models/Graders/GraderTextSimilarity.Serialization.cs
@@ -139,7 +139,7 @@ protected override Grader PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGraderTextSimilarity(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/RunGraderRequest.Serialization.cs b/src/Generated/Models/Graders/RunGraderRequest.Serialization.cs
index d853cdd7c..7c7d66e34 100644
--- a/src/Generated/Models/Graders/RunGraderRequest.Serialization.cs
+++ b/src/Generated/Models/Graders/RunGraderRequest.Serialization.cs
@@ -153,7 +153,7 @@ protected virtual RunGraderRequest PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunGraderRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/RunGraderResponse.Serialization.cs b/src/Generated/Models/Graders/RunGraderResponse.Serialization.cs
index 1c83b2991..4c21eb8ee 100644
--- a/src/Generated/Models/Graders/RunGraderResponse.Serialization.cs
+++ b/src/Generated/Models/Graders/RunGraderResponse.Serialization.cs
@@ -161,7 +161,7 @@ protected virtual RunGraderResponse PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunGraderResponse(document.RootElement, options);
}
@@ -174,8 +174,8 @@ protected virtual RunGraderResponse PersistableModelCreateCore(BinaryData data,
public static explicit operator RunGraderResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeRunGraderResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Graders/RunGraderResponseMetadata.Serialization.cs b/src/Generated/Models/Graders/RunGraderResponseMetadata.Serialization.cs
index 753ce8fb5..5ac9edd7f 100644
--- a/src/Generated/Models/Graders/RunGraderResponseMetadata.Serialization.cs
+++ b/src/Generated/Models/Graders/RunGraderResponseMetadata.Serialization.cs
@@ -218,7 +218,7 @@ protected virtual RunGraderResponseMetadata PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunGraderResponseMetadata(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/RunGraderResponseMetadataErrors.Serialization.cs b/src/Generated/Models/Graders/RunGraderResponseMetadataErrors.Serialization.cs
index 13df8b74e..43f59d390 100644
--- a/src/Generated/Models/Graders/RunGraderResponseMetadataErrors.Serialization.cs
+++ b/src/Generated/Models/Graders/RunGraderResponseMetadataErrors.Serialization.cs
@@ -307,7 +307,7 @@ protected virtual RunGraderResponseMetadataErrors PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRunGraderResponseMetadataErrors(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/UnknownGrader.Serialization.cs b/src/Generated/Models/Graders/UnknownGrader.Serialization.cs
index 03eada674..72ad24950 100644
--- a/src/Generated/Models/Graders/UnknownGrader.Serialization.cs
+++ b/src/Generated/Models/Graders/UnknownGrader.Serialization.cs
@@ -89,7 +89,7 @@ protected override Grader PersistableModelCreateCore(BinaryData data, ModelReade
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGrader(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/ValidateGraderRequest.Serialization.cs b/src/Generated/Models/Graders/ValidateGraderRequest.Serialization.cs
index f20e2d0ae..d7585fa2f 100644
--- a/src/Generated/Models/Graders/ValidateGraderRequest.Serialization.cs
+++ b/src/Generated/Models/Graders/ValidateGraderRequest.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual ValidateGraderRequest PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeValidateGraderRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Graders/ValidateGraderResponse.Serialization.cs b/src/Generated/Models/Graders/ValidateGraderResponse.Serialization.cs
index 0e67bd0b3..04070d43f 100644
--- a/src/Generated/Models/Graders/ValidateGraderResponse.Serialization.cs
+++ b/src/Generated/Models/Graders/ValidateGraderResponse.Serialization.cs
@@ -121,7 +121,7 @@ protected virtual ValidateGraderResponse PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeValidateGraderResponse(document.RootElement, options);
}
@@ -134,8 +134,8 @@ protected virtual ValidateGraderResponse PersistableModelCreateCore(BinaryData d
public static explicit operator ValidateGraderResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeValidateGraderResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/ImageGenToolModel.cs b/src/Generated/Models/ImageGenToolModel.cs
new file mode 100644
index 000000000..bf22ce845
--- /dev/null
+++ b/src/Generated/Models/ImageGenToolModel.cs
@@ -0,0 +1,44 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
+
+namespace OpenAI
+{
+ [Experimental("OPENAI001")]
+ public readonly partial struct ImageGenToolModel : IEquatable
+ {
+ private readonly string _value;
+ private const string GptImage1Value = "gpt-image-1";
+
+ public ImageGenToolModel(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ public static ImageGenToolModel GptImage1 { get; } = new ImageGenToolModel(GptImage1Value);
+
+ public static bool operator ==(ImageGenToolModel left, ImageGenToolModel right) => left.Equals(right);
+
+ public static bool operator !=(ImageGenToolModel left, ImageGenToolModel right) => !left.Equals(right);
+
+ public static implicit operator ImageGenToolModel(string value) => new ImageGenToolModel(value);
+
+ public static implicit operator ImageGenToolModel?(string value) => value == null ? null : new ImageGenToolModel(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is ImageGenToolModel other && Equals(other);
+
+ public bool Equals(ImageGenToolModel other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Images/GeneratedImage.Serialization.cs b/src/Generated/Models/Images/GeneratedImage.Serialization.cs
index d8cd82d96..1cd6c0c61 100644
--- a/src/Generated/Models/Images/GeneratedImage.Serialization.cs
+++ b/src/Generated/Models/Images/GeneratedImage.Serialization.cs
@@ -144,7 +144,7 @@ protected virtual GeneratedImage PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGeneratedImage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs b/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs
index 81a753c8f..31702c7a4 100644
--- a/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs
+++ b/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs
@@ -156,7 +156,7 @@ protected virtual GeneratedImageCollection PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeGeneratedImageCollection(document.RootElement, options);
}
@@ -170,8 +170,8 @@ protected virtual GeneratedImageCollection PersistableModelCreateCore(BinaryData
[Experimental("OPENAI001")]
public static explicit operator GeneratedImageCollection(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeGeneratedImageCollection(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Images/ImageEditOptions.Serialization.cs b/src/Generated/Models/Images/ImageEditOptions.Serialization.cs
index 99a46696b..6d122e30c 100644
--- a/src/Generated/Models/Images/ImageEditOptions.Serialization.cs
+++ b/src/Generated/Models/Images/ImageEditOptions.Serialization.cs
@@ -269,7 +269,7 @@ protected virtual ImageEditOptions PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeImageEditOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs b/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs
index 3ec0c7db1..4fb48a693 100644
--- a/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs
+++ b/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs
@@ -302,7 +302,7 @@ protected virtual ImageGenerationOptions PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeImageGenerationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs
index dcb8b64f0..44a8c1dc5 100644
--- a/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs
+++ b/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual ImageInputTokenUsageDetails PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeImageInputTokenUsageDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs
index 40120b7cc..b57644040 100644
--- a/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs
+++ b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs
@@ -146,7 +146,7 @@ protected virtual ImageTokenUsage PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeImageTokenUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs b/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs
index 24037ffce..47b79a7bd 100644
--- a/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs
+++ b/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs
@@ -200,7 +200,7 @@ protected virtual ImageVariationOptions PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeImageVariationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalLogProbProperties.Serialization.cs b/src/Generated/Models/Internal/InternalLogProbProperties.Serialization.cs
index 8c8b4a7de..588de00c6 100644
--- a/src/Generated/Models/Internal/InternalLogProbProperties.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalLogProbProperties.Serialization.cs
@@ -145,7 +145,7 @@ protected virtual InternalLogProbProperties PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalLogProbProperties(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalResponseFormat.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormat.Serialization.cs
index 5f9e348ed..41d1a6ae0 100644
--- a/src/Generated/Models/Internal/InternalResponseFormat.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalResponseFormat.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalResponseFormat PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalResponseFormat(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalResponseFormatJsonObject.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonObject.Serialization.cs
index ed82f589e..0918db385 100644
--- a/src/Generated/Models/Internal/InternalResponseFormatJsonObject.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalResponseFormatJsonObject.Serialization.cs
@@ -85,7 +85,7 @@ protected override InternalResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalResponseFormatJsonObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalResponseFormatJsonSchema.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchema.Serialization.cs
index 9c117f575..8c63be675 100644
--- a/src/Generated/Models/Internal/InternalResponseFormatJsonSchema.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchema.Serialization.cs
@@ -100,7 +100,7 @@ protected override InternalResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalResponseFormatJsonSchema(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs
index 600f17245..b8af60d74 100644
--- a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs
@@ -162,7 +162,7 @@ protected virtual InternalResponseFormatJsonSchemaJsonSchema PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalResponseFormatJsonSchemaJsonSchema(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.Serialization.cs
index d29f3c9d6..40ee6eb51 100644
--- a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.Serialization.cs
@@ -89,7 +89,7 @@ protected virtual InternalResponseFormatJsonSchemaSchema PersistableModelCreateC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalResponseFormatJsonSchemaSchema(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalResponseFormatText.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatText.Serialization.cs
index a3be343cf..30209b480 100644
--- a/src/Generated/Models/Internal/InternalResponseFormatText.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalResponseFormatText.Serialization.cs
@@ -85,7 +85,7 @@ protected override InternalResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalResponseFormatText(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalUnknownResponseFormat.Serialization.cs b/src/Generated/Models/Internal/InternalUnknownResponseFormat.Serialization.cs
index 3a242ee41..d8758e982 100644
--- a/src/Generated/Models/Internal/InternalUnknownResponseFormat.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalUnknownResponseFormat.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalResponseFormat PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalResponseFormat(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/InternalWebSearchLocation.Serialization.cs b/src/Generated/Models/Internal/InternalWebSearchLocation.Serialization.cs
index f22235c9b..0667e29fb 100644
--- a/src/Generated/Models/Internal/InternalWebSearchLocation.Serialization.cs
+++ b/src/Generated/Models/Internal/InternalWebSearchLocation.Serialization.cs
@@ -142,7 +142,7 @@ protected virtual InternalWebSearchLocation PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalWebSearchLocation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/OpenAIError.Serialization.cs b/src/Generated/Models/Internal/OpenAIError.Serialization.cs
index 2857752df..4be86d0b6 100644
--- a/src/Generated/Models/Internal/OpenAIError.Serialization.cs
+++ b/src/Generated/Models/Internal/OpenAIError.Serialization.cs
@@ -170,7 +170,7 @@ protected virtual OpenAIError PersistableModelCreateCore(BinaryData data, ModelR
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Internal/OpenAIErrorResponse.Serialization.cs b/src/Generated/Models/Internal/OpenAIErrorResponse.Serialization.cs
index bdded8a68..c37c9fb28 100644
--- a/src/Generated/Models/Internal/OpenAIErrorResponse.Serialization.cs
+++ b/src/Generated/Models/Internal/OpenAIErrorResponse.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual OpenAIErrorResponse PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIErrorResponse(document.RootElement, options);
}
diff --git a/src/Generated/Models/InternalFunctionDefinition.Serialization.cs b/src/Generated/Models/InternalFunctionDefinition.Serialization.cs
index c3ab41e19..6df458d36 100644
--- a/src/Generated/Models/InternalFunctionDefinition.Serialization.cs
+++ b/src/Generated/Models/InternalFunctionDefinition.Serialization.cs
@@ -161,7 +161,7 @@ protected virtual InternalFunctionDefinition PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalFunctionDefinition(document.RootElement, options);
}
diff --git a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.Serialization.cs
index 6f8980db3..31b027cc6 100644
--- a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.Serialization.cs
+++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.Serialization.cs
@@ -431,7 +431,7 @@ protected virtual InternalCreateCompletionRequest PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateCompletionRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.Serialization.cs
index 7538d6288..fa5da2296 100644
--- a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.Serialization.cs
+++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.Serialization.cs
@@ -203,7 +203,7 @@ protected virtual InternalCreateCompletionResponse PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateCompletionResponse(document.RootElement, options);
}
@@ -216,8 +216,8 @@ protected virtual InternalCreateCompletionResponse PersistableModelCreateCore(Bi
public static explicit operator InternalCreateCompletionResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalCreateCompletionResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.Serialization.cs
index 1f5ce1e4f..a4779acda 100644
--- a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.Serialization.cs
+++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.Serialization.cs
@@ -158,7 +158,7 @@ protected virtual InternalCreateCompletionResponseChoice PersistableModelCreateC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateCompletionResponseChoice(document.RootElement, options);
}
diff --git a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs
index 2592e1352..0ae740f31 100644
--- a/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs
+++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs
@@ -233,7 +233,7 @@ protected virtual InternalCreateCompletionResponseChoiceLogprobs PersistableMode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateCompletionResponseChoiceLogprobs(document.RootElement, options);
}
diff --git a/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs b/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs
index 8d027b3fa..c53eb9ce1 100644
--- a/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs
+++ b/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs
@@ -141,7 +141,7 @@ protected virtual ModelDeletionResult PersistableModelCreateCore(BinaryData data
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeModelDeletionResult(document.RootElement, options);
}
@@ -155,8 +155,8 @@ protected virtual ModelDeletionResult PersistableModelCreateCore(BinaryData data
[Experimental("OPENAI001")]
public static explicit operator ModelDeletionResult(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeModelDeletionResult(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Models/OpenAIModel.Serialization.cs b/src/Generated/Models/Models/OpenAIModel.Serialization.cs
index 058101bf4..8539c8d78 100644
--- a/src/Generated/Models/Models/OpenAIModel.Serialization.cs
+++ b/src/Generated/Models/Models/OpenAIModel.Serialization.cs
@@ -152,7 +152,7 @@ protected virtual OpenAIModel PersistableModelCreateCore(BinaryData data, ModelR
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIModel(document.RootElement, options);
}
@@ -166,8 +166,8 @@ protected virtual OpenAIModel PersistableModelCreateCore(BinaryData data, ModelR
[Experimental("OPENAI001")]
public static explicit operator OpenAIModel(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeOpenAIModel(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs b/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs
index b6a9d848e..e0e6e7b02 100644
--- a/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs
+++ b/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs
@@ -87,7 +87,7 @@ protected virtual OpenAIModelCollection PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOpenAIModelCollection(document.RootElement, options);
}
@@ -101,8 +101,8 @@ protected virtual OpenAIModelCollection PersistableModelCreateCore(BinaryData da
[Experimental("OPENAI001")]
public static explicit operator OpenAIModelCollection(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeOpenAIModelCollection(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.Serialization.cs
index f8f233c5c..80afed00e 100644
--- a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.Serialization.cs
+++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalCreateModerationRequestInput2 PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateModerationRequestInput2(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.cs
index 5ba7b010b..f5ff94471 100644
--- a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.cs
+++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.cs
@@ -26,7 +26,7 @@ internal InternalCreateModerationRequestInput2(string kind, InternalCreateModera
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "image_url";
+ internal string Kind { get; } = "image_url";
internal InternalCreateModerationRequestInputImageUrl ImageUrl { get; }
diff --git a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.Serialization.cs
index 84cce037e..43792a556 100644
--- a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.Serialization.cs
+++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalCreateModerationRequestInput3 PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateModerationRequestInput3(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.cs
index 293eadf8d..abb1d66f7 100644
--- a/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.cs
+++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.cs
@@ -26,7 +26,7 @@ internal InternalCreateModerationRequestInput3(string kind, string text, IDictio
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "text";
+ internal string Kind { get; } = "text";
public string Text { get; }
diff --git a/src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.Serialization.cs
index 8b7f92301..96e8ed84f 100644
--- a/src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.Serialization.cs
+++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalCreateModerationRequestInputImageUrl PersistableModelC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateModerationRequestInputImageUrl(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs
index 9f502c732..db8cd0d55 100644
--- a/src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs
+++ b/src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs
@@ -545,7 +545,7 @@ protected virtual InternalCreateModerationResponseResultCategoryAppliedInputType
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalCreateModerationResponseResultCategoryAppliedInputTypes(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/InternalModerationCategories.Serialization.cs b/src/Generated/Models/Moderations/InternalModerationCategories.Serialization.cs
index 05185889c..e28ba03f6 100644
--- a/src/Generated/Models/Moderations/InternalModerationCategories.Serialization.cs
+++ b/src/Generated/Models/Moderations/InternalModerationCategories.Serialization.cs
@@ -259,7 +259,7 @@ protected virtual InternalModerationCategories PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalModerationCategories(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/InternalModerationCategoryScores.Serialization.cs b/src/Generated/Models/Moderations/InternalModerationCategoryScores.Serialization.cs
index 678048def..3360f7c06 100644
--- a/src/Generated/Models/Moderations/InternalModerationCategoryScores.Serialization.cs
+++ b/src/Generated/Models/Moderations/InternalModerationCategoryScores.Serialization.cs
@@ -259,7 +259,7 @@ protected virtual InternalModerationCategoryScores PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalModerationCategoryScores(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/ModerationOptions.Serialization.cs b/src/Generated/Models/Moderations/ModerationOptions.Serialization.cs
index 41a17144e..84efa2720 100644
--- a/src/Generated/Models/Moderations/ModerationOptions.Serialization.cs
+++ b/src/Generated/Models/Moderations/ModerationOptions.Serialization.cs
@@ -131,7 +131,7 @@ protected virtual ModerationOptions PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeModerationOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/ModerationResult.Serialization.cs b/src/Generated/Models/Moderations/ModerationResult.Serialization.cs
index f82e17619..163cc26c0 100644
--- a/src/Generated/Models/Moderations/ModerationResult.Serialization.cs
+++ b/src/Generated/Models/Moderations/ModerationResult.Serialization.cs
@@ -85,7 +85,7 @@ protected virtual ModerationResult PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeModerationResult(document.RootElement, options);
}
diff --git a/src/Generated/Models/Moderations/ModerationResultCollection.Serialization.cs b/src/Generated/Models/Moderations/ModerationResultCollection.Serialization.cs
index ac1c71028..a289f7ec4 100644
--- a/src/Generated/Models/Moderations/ModerationResultCollection.Serialization.cs
+++ b/src/Generated/Models/Moderations/ModerationResultCollection.Serialization.cs
@@ -92,7 +92,7 @@ protected virtual ModerationResultCollection PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeModerationResultCollection(document.RootElement, options);
}
@@ -106,8 +106,8 @@ protected virtual ModerationResultCollection PersistableModelCreateCore(BinaryDa
[Experimental("OPENAI001")]
public static explicit operator ModerationResultCollection(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeModerationResultCollection(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Realtime/ConversationContentPart.Serialization.cs b/src/Generated/Models/Realtime/ConversationContentPart.Serialization.cs
index 2e6f1c284..c7af0feb1 100644
--- a/src/Generated/Models/Realtime/ConversationContentPart.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationContentPart.Serialization.cs
@@ -115,7 +115,7 @@ protected virtual ConversationContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationFunctionTool.Serialization.cs b/src/Generated/Models/Realtime/ConversationFunctionTool.Serialization.cs
index f75206a75..5aca0ea05 100644
--- a/src/Generated/Models/Realtime/ConversationFunctionTool.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationFunctionTool.Serialization.cs
@@ -133,7 +133,7 @@ protected override ConversationTool PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationFunctionTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs
index 126fb02ce..d2fbd6509 100644
--- a/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs
@@ -143,7 +143,7 @@ protected virtual ConversationInputTokenUsageDetails PersistableModelCreateCore(
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationInputTokenUsageDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.Serialization.cs
index 0cfa2125f..705e30877 100644
--- a/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual ConversationOutputTokenUsageDetails PersistableModelCreateCore
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationOutputTokenUsageDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.Serialization.cs b/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.Serialization.cs
index 7701a419e..29007383e 100644
--- a/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.Serialization.cs
@@ -48,7 +48,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (_additionalBinaryDataProperties?.ContainsKey("reset_seconds") != true)
{
writer.WritePropertyName("reset_seconds"u8);
- writer.WriteNumberValue(Convert.ToDouble(TimeUntilReset.ToString("s\\.FFF")));
+ writer.WriteNumberValue(TimeUntilReset.TotalSeconds);
}
// Plugin customization: remove options.Format != "W" check
if (_additionalBinaryDataProperties != null)
@@ -146,7 +146,7 @@ protected virtual ConversationRateLimitDetailsItem PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationRateLimitDetailsItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs b/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs
index 48ceab643..c5053fa6e 100644
--- a/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs
@@ -331,7 +331,7 @@ protected virtual ConversationResponseOptions PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationResponseOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.Serialization.cs b/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.Serialization.cs
index e3c8b8c94..14e0fa0c9 100644
--- a/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationSessionConfiguredUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs b/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs
index 2dea60b28..b4043e05d 100644
--- a/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs
@@ -339,7 +339,7 @@ protected virtual ConversationSessionOptions PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationSessionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.Serialization.cs
index 1dabab99c..5a9758768 100644
--- a/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationSessionStartedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs
index f07304e3d..597453993 100644
--- a/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs
@@ -143,7 +143,7 @@ protected virtual ConversationStatusDetails PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationStatusDetails(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs b/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs
index 88790d060..010593584 100644
--- a/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs
@@ -179,7 +179,7 @@ protected virtual ConversationTokenUsage PersistableModelCreateCore(BinaryData d
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationTokenUsage(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ConversationTool.Serialization.cs b/src/Generated/Models/Realtime/ConversationTool.Serialization.cs
index bfc6aab39..ad419edbf 100644
--- a/src/Generated/Models/Realtime/ConversationTool.Serialization.cs
+++ b/src/Generated/Models/Realtime/ConversationTool.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual ConversationTool PersistableModelCreateCore(BinaryData data, M
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputAudioClearedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioClearedUpdate.Serialization.cs
index 286ebc34a..db130b8ed 100644
--- a/src/Generated/Models/Realtime/InputAudioClearedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputAudioClearedUpdate.Serialization.cs
@@ -91,7 +91,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputAudioClearedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputAudioCommittedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioCommittedUpdate.Serialization.cs
index df16b1285..b72bbddee 100644
--- a/src/Generated/Models/Realtime/InputAudioCommittedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputAudioCommittedUpdate.Serialization.cs
@@ -117,7 +117,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputAudioCommittedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.Serialization.cs
index 0d71d7fe7..a4090a513 100644
--- a/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.Serialization.cs
@@ -117,7 +117,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputAudioSpeechFinishedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.Serialization.cs
index 61b2f847a..e268f791e 100644
--- a/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.Serialization.cs
@@ -117,7 +117,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputAudioSpeechStartedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.Serialization.cs
index 850621711..f92f5149d 100644
--- a/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.Serialization.cs
@@ -164,7 +164,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputAudioTranscriptionDeltaUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.Serialization.cs
index d2b0ee631..df8528ace 100644
--- a/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.Serialization.cs
@@ -134,7 +134,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputAudioTranscriptionFailedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.Serialization.cs
index 28a533beb..582ff75c7 100644
--- a/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.Serialization.cs
@@ -160,7 +160,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputAudioTranscriptionFinishedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputNoiseReductionOptions.Serialization.cs b/src/Generated/Models/Realtime/InputNoiseReductionOptions.Serialization.cs
index 55f559f15..58b24485a 100644
--- a/src/Generated/Models/Realtime/InputNoiseReductionOptions.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputNoiseReductionOptions.Serialization.cs
@@ -92,7 +92,7 @@ protected virtual InputNoiseReductionOptions PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputNoiseReductionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InputTranscriptionOptions.Serialization.cs b/src/Generated/Models/Realtime/InputTranscriptionOptions.Serialization.cs
index 811c8e528..d2cc71bcc 100644
--- a/src/Generated/Models/Realtime/InputTranscriptionOptions.Serialization.cs
+++ b/src/Generated/Models/Realtime/InputTranscriptionOptions.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InputTranscriptionOptions PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputTranscriptionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.Serialization.cs b/src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.Serialization.cs
index b5b4ec90d..30ddb4476 100644
--- a/src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.Serialization.cs
@@ -145,7 +145,7 @@ protected virtual InternalDotNetRealtimeLogProbProperties PersistableModelCreate
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalDotNetRealtimeLogProbProperties(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs
index 7d3042d18..942431af8 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs
@@ -85,7 +85,7 @@ protected override InputNoiseReductionOptions PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeAudioFarFieldNoiseReduction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs
index 65aed3ad5..a375fdd23 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs
@@ -85,7 +85,7 @@ protected override InputNoiseReductionOptions PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeAudioNearFieldNoiseReduction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEvent.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEvent.Serialization.cs
index 9066138c2..99f8cf584 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEvent.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEvent.Serialization.cs
@@ -136,7 +136,7 @@ protected virtual InternalRealtimeClientEvent PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEvent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.Serialization.cs
index b9e82a1e3..4b5bce7bd 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.Serialization.cs
@@ -117,7 +117,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventConversationItemCreate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.Serialization.cs
index 55d5aa1c7..e92a93bb8 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.Serialization.cs
@@ -106,7 +106,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventConversationItemDelete(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs
index 39037a624..23e155b2e 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs
@@ -106,7 +106,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventConversationItemRetrieve(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs
index cc581f62d..72392205c 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs
@@ -134,7 +134,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventConversationItemTruncate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs
index a79d2adcb..654834a9b 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs
@@ -106,7 +106,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventInputAudioBufferAppend(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs
index 042f608df..3c409bff2 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs
@@ -91,7 +91,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventInputAudioBufferClear(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs
index f8ebaee11..4b86a7a99 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs
@@ -91,7 +91,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventInputAudioBufferCommit(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs
index 7c3fc6ace..b3dbd8aaf 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs
@@ -91,7 +91,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventOutputAudioBufferClear(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.Serialization.cs
index ab98fbc04..7803a1585 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.Serialization.cs
@@ -102,7 +102,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventResponseCancel(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.Serialization.cs
index 3790ea58c..33e0b5c76 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.Serialization.cs
@@ -106,7 +106,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventResponseCreate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.Serialization.cs
index 0ba9b9cf5..2919795ad 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventSessionUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs
index fa6de996c..521f15225 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEventTranscriptionSessionUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.Serialization.cs
index aca829ec0..6c3c821e2 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.Serialization.cs
@@ -138,7 +138,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestAssistantMessageItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.Serialization.cs
index 65db2f8a0..36fb736af 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.Serialization.cs
@@ -96,7 +96,7 @@ protected override ConversationContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestAudioContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.Serialization.cs
index 11997140d..93f71931c 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.Serialization.cs
@@ -150,7 +150,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestFunctionCallItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs
index a8a2bb847..44841c67c 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs
@@ -117,7 +117,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestFunctionCallOutputItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.Serialization.cs
index 476438f19..b619c5bf8 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.Serialization.cs
@@ -98,7 +98,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestMessageItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.Serialization.cs
index 5bf81e8ee..a4c71bde3 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.Serialization.cs
@@ -138,7 +138,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestSystemMessageItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.Serialization.cs
index c18b1c7d9..f9704c46c 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.Serialization.cs
@@ -100,7 +100,7 @@ protected override ConversationContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestTextContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.Serialization.cs
index 9d2680722..68eec1fc8 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.Serialization.cs
@@ -138,7 +138,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestUserMessageItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs
index 5cacbb700..eebfcb57e 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, null, default, null, default, default, null, null)
+ internal InternalRealtimeResponse() : this(null, default, default, null, null, null, null, null, default, null, default, default, null, null)
{
}
@@ -38,7 +38,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Object) && _additionalBinaryDataProperties?.ContainsKey("object") != true)
{
writer.WritePropertyName("object"u8);
- writer.WriteStringValue(Object);
+ writer.WriteStringValue(Object.Value.ToString());
}
if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true)
{
@@ -172,7 +172,7 @@ internal static InternalRealtimeResponse DeserializeInternalRealtimeResponse(Jso
return null;
}
string id = default;
- string @object = default;
+ InternalRealtimeResponseObject? @object = default;
ConversationStatus? status = default;
ConversationStatusDetails statusDetails = default;
IReadOnlyList output = default;
@@ -194,7 +194,11 @@ internal static InternalRealtimeResponse DeserializeInternalRealtimeResponse(Jso
}
if (prop.NameEquals("object"u8))
{
- @object = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ @object = new InternalRealtimeResponseObject(prop.Value.GetString());
continue;
}
if (prop.NameEquals("status"u8))
@@ -357,7 +361,7 @@ protected virtual InternalRealtimeResponse PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponse(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponse.cs b/src/Generated/Models/Realtime/InternalRealtimeResponse.cs
index 3404d2167..15dba2673 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponse.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponse.cs
@@ -20,7 +20,7 @@ internal InternalRealtimeResponse(IDictionary metadata)
Modalities = new ChangeTrackingList();
}
- 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)
+ internal InternalRealtimeResponse(string id, InternalRealtimeResponseObject? @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;
@@ -41,7 +41,7 @@ internal InternalRealtimeResponse(string id, string @object, ConversationStatus?
public string Id { get; }
- public string Object { get; }
+ internal InternalRealtimeResponseObject? Object { get; }
public ConversationStatus? Status { get; }
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.Serialization.cs
index c3ed50fd9..7de284f2b 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.Serialization.cs
@@ -112,7 +112,7 @@ protected override ConversationContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseAudioContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.Serialization.cs
index bd90c53e3..30119e041 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.Serialization.cs
@@ -158,7 +158,7 @@ protected override InternalRealtimeResponseItem PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseFunctionCallItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs
index cbf763801..e82f878d7 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs
@@ -134,7 +134,7 @@ protected override InternalRealtimeResponseItem PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseFunctionCallOutputItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseItem.Serialization.cs
index 698f7a272..f1b4a59c8 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseItem.Serialization.cs
@@ -130,7 +130,7 @@ protected virtual InternalRealtimeResponseItem PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs
index 1501fe24a..9a19d207f 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs
@@ -156,7 +156,7 @@ protected override InternalRealtimeResponseItem PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseMessageItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseObject.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseObject.cs
new file mode 100644
index 000000000..98d8a1c07
--- /dev/null
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseObject.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Realtime
+{
+ internal readonly partial struct InternalRealtimeResponseObject : IEquatable
+ {
+ private readonly string _value;
+ private const string RealtimeResponseValue = "realtime.response";
+
+ public InternalRealtimeResponseObject(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalRealtimeResponseObject RealtimeResponse { get; } = new InternalRealtimeResponseObject(RealtimeResponseValue);
+
+ public static bool operator ==(InternalRealtimeResponseObject left, InternalRealtimeResponseObject right) => left.Equals(right);
+
+ public static bool operator !=(InternalRealtimeResponseObject left, InternalRealtimeResponseObject right) => !left.Equals(right);
+
+ public static implicit operator InternalRealtimeResponseObject(string value) => new InternalRealtimeResponseObject(value);
+
+ public static implicit operator InternalRealtimeResponseObject?(string value) => value == null ? null : new InternalRealtimeResponseObject(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalRealtimeResponseObject other && Equals(other);
+
+ public bool Equals(InternalRealtimeResponseObject other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs
index 3093f5047..8045749cb 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs
@@ -341,7 +341,7 @@ protected virtual InternalRealtimeResponseSession PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseSession(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.Serialization.cs
index 5e6d95874..c8e72bbb3 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalRealtimeResponseStatusDetailsError PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseStatusDetailsError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.Serialization.cs
index 03dd9d2e0..0b3868189 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.Serialization.cs
@@ -100,7 +100,7 @@ protected override ConversationContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseTextContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.Serialization.cs
index 2a016bf43..46dda3626 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.Serialization.cs
@@ -120,7 +120,7 @@ protected override TurnDetectionOptions PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSemanticVadTurnDetection(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.Serialization.cs
index 33a712c2c..6792cd24f 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventConversationCreated(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs
index 0d0fc9a66..5224d26e5 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs
@@ -120,7 +120,7 @@ protected virtual InternalRealtimeServerEventConversationCreatedConversation Per
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventConversationCreatedConversation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs
index d49c38f5b..914ec05c2 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs
@@ -142,7 +142,7 @@ protected virtual InternalRealtimeServerEventConversationItemInputAudioTranscrip
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.Serialization.cs
index 81c58f68d..c1b1f9fd3 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.Serialization.cs
@@ -178,7 +178,7 @@ protected virtual InternalRealtimeServerEventErrorError PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventErrorError(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs
index 4643e6dde..cd5d4106f 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventOutputAudioBufferCleared(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs
index 16ccba27f..cff4c0312 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventOutputAudioBufferStarted(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs
index 27bb77178..b94c63121 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventOutputAudioBufferStopped(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs
index 4fe20eff8..357768925 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventResponseAudioDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs
index 6425a15df..0d551ff64 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventResponseAudioTranscriptDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs
index 7caed253b..6ddfe2a58 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventResponseContentPartAdded(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs
index 1edb59b5c..85d934d16 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventResponseContentPartDone(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs
index fcd50a266..bb0943ce1 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventResponseFunctionCallArgumentsDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs
index 1f7d49308..31aa97526 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventResponseFunctionCallArgumentsDone(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.Serialization.cs
index 4130f9110..0b5ebe134 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerEventResponseTextDelta(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.Serialization.cs
index e7d13c754..f04304c5e 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.Serialization.cs
@@ -149,7 +149,7 @@ protected override TurnDetectionOptions PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeServerVadTurnDetection(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.Serialization.cs
index ef2d19a65..70d30c065 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.Serialization.cs
@@ -383,7 +383,7 @@ protected virtual InternalRealtimeSessionCreateRequest PersistableModelCreateCor
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateRequest(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs
index ec34ec3a1..a0dda19a9 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRealtimeSessionCreateRequestClientSecret PersistableMo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateRequestClientSecret(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs
index 92533b40c..b7c06c12e 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs
@@ -29,7 +29,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Anchor) && _additionalBinaryDataProperties?.ContainsKey("anchor") != true)
{
writer.WritePropertyName("anchor"u8);
- writer.WriteStringValue(Anchor);
+ writer.WriteStringValue(Anchor.Value.ToString());
}
if (Optional.IsDefined(Seconds) && _additionalBinaryDataProperties?.ContainsKey("seconds") != true)
{
@@ -77,14 +77,18 @@ internal static InternalRealtimeSessionCreateRequestClientSecretExpiresAt Deseri
{
return null;
}
- string anchor = default;
+ InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor? anchor = default;
int? seconds = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
foreach (var prop in element.EnumerateObject())
{
if (prop.NameEquals("anchor"u8))
{
- anchor = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ anchor = new InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor(prop.Value.GetString());
continue;
}
if (prop.NameEquals("seconds"u8))
@@ -124,7 +128,7 @@ protected virtual InternalRealtimeSessionCreateRequestClientSecretExpiresAt Pers
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateRequestClientSecretExpiresAt(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs
index cb44a3bb5..2e1de1a6a 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs
@@ -15,14 +15,14 @@ public InternalRealtimeSessionCreateRequestClientSecretExpiresAt()
{
}
- internal InternalRealtimeSessionCreateRequestClientSecretExpiresAt(string anchor, int? seconds, IDictionary additionalBinaryDataProperties)
+ internal InternalRealtimeSessionCreateRequestClientSecretExpiresAt(InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor? anchor, int? seconds, IDictionary additionalBinaryDataProperties)
{
Anchor = anchor;
Seconds = seconds;
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Anchor { get; set; }
+ internal InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor? Anchor { get; set; }
public int? Seconds { get; set; }
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor.cs
new file mode 100644
index 000000000..f048a2b85
--- /dev/null
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Realtime
+{
+ internal readonly partial struct InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor : IEquatable
+ {
+ private readonly string _value;
+ private const string CreatedAtValue = "created_at";
+
+ public InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor CreatedAt { get; } = new InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor(CreatedAtValue);
+
+ public static bool operator ==(InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor left, InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor right) => left.Equals(right);
+
+ public static bool operator !=(InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor left, InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor right) => !left.Equals(right);
+
+ public static implicit operator InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor(string value) => new InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor(value);
+
+ public static implicit operator InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor?(string value) => value == null ? null : new InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor other && Equals(other);
+
+ public bool Equals(InternalRealtimeSessionCreateRequestClientSecretExpiresAtAnchor other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs
index 3205a2651..c16f17849 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateRequestInputAudioNoiseReduction1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs
index 4c1ca5323..f33f592d8 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs
@@ -131,7 +131,7 @@ protected virtual InternalRealtimeSessionCreateRequestInputAudioTranscription Pe
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateRequestInputAudioTranscription(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs
index 02d7d3adc..0db72011e 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs
@@ -142,7 +142,7 @@ protected virtual InternalRealtimeSessionCreateRequestTracing1 PersistableModelC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateRequestTracing1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs
index a64c37881..53d6adfe1 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs
@@ -211,7 +211,7 @@ protected virtual InternalRealtimeSessionCreateRequestTurnDetection PersistableM
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateRequestTurnDetection(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.Serialization.cs
index cae237de8..8fbaff1d9 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.Serialization.cs
@@ -351,7 +351,7 @@ protected virtual InternalRealtimeSessionCreateResponse PersistableModelCreateCo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateResponse(document.RootElement, options);
}
@@ -364,8 +364,8 @@ protected virtual InternalRealtimeSessionCreateResponse PersistableModelCreateCo
public static explicit operator InternalRealtimeSessionCreateResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalRealtimeSessionCreateResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs
index b451d965c..2b1e3dac3 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalRealtimeSessionCreateResponseClientSecret PersistableM
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateResponseClientSecret(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs
index 2ac5de615..780be3570 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual InternalRealtimeSessionCreateResponseInputAudioTranscription P
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateResponseInputAudioTranscription(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs
index 3c35311f2..b32a793f9 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs
@@ -142,7 +142,7 @@ protected virtual InternalRealtimeSessionCreateResponseTracing1 PersistableModel
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateResponseTracing1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs
index e62468378..e6050e830 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs
@@ -154,7 +154,7 @@ protected virtual InternalRealtimeSessionCreateResponseTurnDetection Persistable
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeSessionCreateResponseTurnDetection(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.Serialization.cs
index c8954422e..3e2d0ab39 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.Serialization.cs
@@ -100,7 +100,7 @@ protected override InternalRealtimeToolChoiceObject PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeToolChoiceFunctionObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs
index 2f7d370d0..0158378f1 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRealtimeToolChoiceFunctionObjectFunction PersistableMo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeToolChoiceFunctionObjectFunction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.Serialization.cs
index 7e901fad6..e8e09aaad 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual InternalRealtimeToolChoiceObject PersistableModelCreateCore(Bi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeToolChoiceObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs
index a58234dbb..7c79b2f35 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateRequestClientSecret
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateRequestClientSecret(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs
index 1b51ce340..3f2cfec5c 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs
@@ -29,7 +29,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(Anchor) && _additionalBinaryDataProperties?.ContainsKey("anchor") != true)
{
writer.WritePropertyName("anchor"u8);
- writer.WriteStringValue(Anchor);
+ writer.WriteStringValue(Anchor.Value.ToString());
}
if (Optional.IsDefined(Seconds) && _additionalBinaryDataProperties?.ContainsKey("seconds") != true)
{
@@ -77,14 +77,18 @@ internal static InternalRealtimeTranscriptionSessionCreateRequestClientSecretExp
{
return null;
}
- string anchor = default;
+ InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor? anchor = default;
int? seconds = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
foreach (var prop in element.EnumerateObject())
{
if (prop.NameEquals("anchor"u8))
{
- anchor = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ anchor = new InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor(prop.Value.GetString());
continue;
}
if (prop.NameEquals("seconds"u8))
@@ -124,7 +128,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateRequestClientSecretE
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs
index bbdb9c8f5..71b4c16a3 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs
@@ -15,14 +15,14 @@ public InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt()
{
}
- internal InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt(string anchor, int? seconds, IDictionary additionalBinaryDataProperties)
+ internal InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt(InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor? anchor, int? seconds, IDictionary additionalBinaryDataProperties)
{
Anchor = anchor;
Seconds = seconds;
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Anchor { get; set; }
+ internal InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor? Anchor { get; set; }
public int? Seconds { get; set; }
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor.cs
new file mode 100644
index 000000000..becedef53
--- /dev/null
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor.cs
@@ -0,0 +1,43 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+using OpenAI;
+
+namespace OpenAI.Realtime
+{
+ internal readonly partial struct InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor : IEquatable
+ {
+ private readonly string _value;
+ private const string CreatedAtValue = "created_at";
+
+ public InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor(string value)
+ {
+ Argument.AssertNotNull(value, nameof(value));
+
+ _value = value;
+ }
+
+ internal static InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor CreatedAt { get; } = new InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor(CreatedAtValue);
+
+ public static bool operator ==(InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor left, InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor right) => left.Equals(right);
+
+ public static bool operator !=(InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor left, InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor right) => !left.Equals(right);
+
+ public static implicit operator InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor(string value) => new InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor(value);
+
+ public static implicit operator InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor?(string value) => value == null ? null : new InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor(value);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor other && Equals(other);
+
+ public bool Equals(InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+
+ public override string ToString() => _value;
+ }
+}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs
index a59f956e9..21777b307 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs
@@ -113,7 +113,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoi
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs
index 6b2df0fb6..cfc5fa4bf 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateRequestInputAudioTra
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs
index f7249a0c1..d0e6212d0 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs
@@ -211,7 +211,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateRequestTurnDetection
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateRequestTurnDetection(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs
index ebb6c1a31..975b5349c 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs
@@ -186,7 +186,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateResponse Persistable
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateResponse(document.RootElement, options);
}
@@ -199,8 +199,8 @@ protected virtual InternalRealtimeTranscriptionSessionCreateResponse Persistable
public static explicit operator InternalRealtimeTranscriptionSessionCreateResponse(ClientResult result)
{
- using PipelineResponse response = result.GetRawResponse();
- using JsonDocument document = JsonDocument.Parse(response.Content);
+ PipelineResponse response = result.GetRawResponse();
+ using JsonDocument document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
return DeserializeInternalRealtimeTranscriptionSessionCreateResponse(document.RootElement, ModelSerializationExtensions.WireOptions);
}
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs
index 5048b849c..aa18665f5 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs
@@ -124,7 +124,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateResponseClientSecret
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateResponseClientSecret(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs
index 49b348287..7e360cc61 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateResponseInputAudioTr
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs
index 75e8acc1a..1c4f13fa7 100644
--- a/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs
@@ -154,7 +154,7 @@ protected virtual InternalRealtimeTranscriptionSessionCreateResponseTurnDetectio
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeTranscriptionSessionCreateResponseTurnDetection(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.Serialization.cs b/src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.Serialization.cs
index ea8999024..06ff73b9d 100644
--- a/src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.Serialization.cs
@@ -149,7 +149,7 @@ protected virtual InternalTranscriptTextDeltaEventLogprob PersistableModelCreate
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalTranscriptTextDeltaEventLogprob(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.Serialization.cs b/src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.Serialization.cs
index 00cec008b..164a46be2 100644
--- a/src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.Serialization.cs
@@ -149,7 +149,7 @@ protected virtual InternalTranscriptTextDoneEventLogprob PersistableModelCreateC
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalTranscriptTextDoneEventLogprob(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs b/src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs
index d1cf9330b..fee879862 100644
--- a/src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs
@@ -89,7 +89,7 @@ protected override InputNoiseReductionOptions PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInputNoiseReductionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalVadConfig.Serialization.cs b/src/Generated/Models/Realtime/InternalVadConfig.Serialization.cs
index a83db55a0..aefe5a465 100644
--- a/src/Generated/Models/Realtime/InternalVadConfig.Serialization.cs
+++ b/src/Generated/Models/Realtime/InternalVadConfig.Serialization.cs
@@ -154,7 +154,7 @@ protected virtual InternalVadConfig PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalVadConfig(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/InternalVadConfig.cs b/src/Generated/Models/Realtime/InternalVadConfig.cs
index 07eeea743..9e2e09656 100644
--- a/src/Generated/Models/Realtime/InternalVadConfig.cs
+++ b/src/Generated/Models/Realtime/InternalVadConfig.cs
@@ -24,7 +24,7 @@ internal InternalVadConfig(string kind, int? prefixPaddingMs, int? silenceDurati
_additionalBinaryDataProperties = additionalBinaryDataProperties;
}
- public string Kind { get; } = "server_vad";
+ internal string Kind { get; } = "server_vad";
public int? PrefixPaddingMs { get; set; }
diff --git a/src/Generated/Models/Realtime/ItemCreatedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemCreatedUpdate.Serialization.cs
index cb699fcbe..3c49e74eb 100644
--- a/src/Generated/Models/Realtime/ItemCreatedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ItemCreatedUpdate.Serialization.cs
@@ -117,7 +117,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeItemCreatedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ItemDeletedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemDeletedUpdate.Serialization.cs
index ca9324a8c..efba54f9c 100644
--- a/src/Generated/Models/Realtime/ItemDeletedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ItemDeletedUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeItemDeletedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ItemRetrievedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemRetrievedUpdate.Serialization.cs
index 1ff6c328a..3b5c2d66e 100644
--- a/src/Generated/Models/Realtime/ItemRetrievedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ItemRetrievedUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeItemRetrievedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ItemTruncatedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemTruncatedUpdate.Serialization.cs
index cdc200482..b1bc2f412 100644
--- a/src/Generated/Models/Realtime/ItemTruncatedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ItemTruncatedUpdate.Serialization.cs
@@ -134,7 +134,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeItemTruncatedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.Serialization.cs
index 15c521f7b..e96dc9651 100644
--- a/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.Serialization.cs
@@ -146,7 +146,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOutputAudioFinishedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.Serialization.cs
index 6ca5c46d6..2f8984bfa 100644
--- a/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOutputAudioTranscriptionFinishedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.Serialization.cs
index 4c8859934..6838ceafd 100644
--- a/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.Serialization.cs
@@ -134,7 +134,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOutputStreamingFinishedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.Serialization.cs
index c91122d8e..1a52c077a 100644
--- a/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.Serialization.cs
@@ -134,7 +134,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOutputStreamingStartedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/OutputTextFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputTextFinishedUpdate.Serialization.cs
index 5662f2b48..8369dbde2 100644
--- a/src/Generated/Models/Realtime/OutputTextFinishedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/OutputTextFinishedUpdate.Serialization.cs
@@ -158,7 +158,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeOutputTextFinishedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/RateLimitsUpdate.Serialization.cs b/src/Generated/Models/Realtime/RateLimitsUpdate.Serialization.cs
index 56e7975ee..be8361b2c 100644
--- a/src/Generated/Models/Realtime/RateLimitsUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/RateLimitsUpdate.Serialization.cs
@@ -116,7 +116,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRateLimitsUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/RealtimeErrorUpdate.Serialization.cs b/src/Generated/Models/Realtime/RealtimeErrorUpdate.Serialization.cs
index 0ac5bd3d2..46a379871 100644
--- a/src/Generated/Models/Realtime/RealtimeErrorUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/RealtimeErrorUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRealtimeErrorUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/RealtimeItem.Serialization.cs b/src/Generated/Models/Realtime/RealtimeItem.Serialization.cs
index 821ad0262..9876f11be 100644
--- a/src/Generated/Models/Realtime/RealtimeItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/RealtimeItem.Serialization.cs
@@ -118,7 +118,7 @@ protected virtual RealtimeItem PersistableModelCreateCore(BinaryData data, Model
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRealtimeItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/RealtimeUpdate.Serialization.cs b/src/Generated/Models/Realtime/RealtimeUpdate.Serialization.cs
index 393b8d101..869d6a959 100644
--- a/src/Generated/Models/Realtime/RealtimeUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/RealtimeUpdate.Serialization.cs
@@ -97,7 +97,7 @@ protected virtual RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mod
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRealtimeUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ResponseFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ResponseFinishedUpdate.Serialization.cs
index 1cc470fee..7a601ef98 100644
--- a/src/Generated/Models/Realtime/ResponseFinishedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ResponseFinishedUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeResponseFinishedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/ResponseStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ResponseStartedUpdate.Serialization.cs
index bc0d189f4..68c616a1c 100644
--- a/src/Generated/Models/Realtime/ResponseStartedUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/ResponseStartedUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeResponseStartedUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.Serialization.cs b/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.Serialization.cs
index 29f8aa283..7142aec6b 100644
--- a/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.Serialization.cs
+++ b/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.Serialization.cs
@@ -106,7 +106,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeTranscriptionSessionConfiguredUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs b/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs
index de7abdc25..7b1133166 100644
--- a/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs
+++ b/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs
@@ -244,7 +244,7 @@ protected virtual TranscriptionSessionOptions PersistableModelCreateCore(BinaryD
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeTranscriptionSessionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/TurnDetectionOptions.Serialization.cs b/src/Generated/Models/Realtime/TurnDetectionOptions.Serialization.cs
index 717814ea4..d21976c71 100644
--- a/src/Generated/Models/Realtime/TurnDetectionOptions.Serialization.cs
+++ b/src/Generated/Models/Realtime/TurnDetectionOptions.Serialization.cs
@@ -102,7 +102,7 @@ protected virtual TurnDetectionOptions PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeTurnDetectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeClientEvent.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeClientEvent.Serialization.cs
index e292d7bf3..3eadd295b 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeClientEvent.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeClientEvent.Serialization.cs
@@ -95,7 +95,7 @@ protected override InternalRealtimeClientEvent PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeClientEvent(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeContentPart.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeContentPart.Serialization.cs
index e40750156..fd35891c0 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeContentPart.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeContentPart.Serialization.cs
@@ -89,7 +89,7 @@ protected override ConversationContentPart PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationContentPart(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeRequestItem.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeRequestItem.Serialization.cs
index 06e802737..2b45099a5 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeRequestItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeRequestItem.Serialization.cs
@@ -95,7 +95,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRealtimeItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.Serialization.cs
index 44fd02f9c..8962aee27 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.Serialization.cs
@@ -111,7 +111,7 @@ protected override RealtimeItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeRequestMessageItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeResponseItem.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeResponseItem.Serialization.cs
index 6764fdb6c..de8d4978b 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeResponseItem.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeResponseItem.Serialization.cs
@@ -106,7 +106,7 @@ protected override InternalRealtimeResponseItem PersistableModelCreateCore(Binar
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeServerEvent.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeServerEvent.Serialization.cs
index 799255601..23b63e053 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeServerEvent.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeServerEvent.Serialization.cs
@@ -95,7 +95,7 @@ protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, Mo
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeRealtimeUpdate(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeTool.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeTool.Serialization.cs
index af3b10bfd..dcbb0c08a 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeTool.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeTool.Serialization.cs
@@ -89,7 +89,7 @@ protected override ConversationTool PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeConversationTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.Serialization.cs
index 02bdd9925..69f88c967 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.Serialization.cs
@@ -89,7 +89,7 @@ protected override InternalRealtimeToolChoiceObject PersistableModelCreateCore(B
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeInternalRealtimeToolChoiceObject(document.RootElement, options);
}
diff --git a/src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.Serialization.cs
index 9cb51db36..cad20dac9 100644
--- a/src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.Serialization.cs
+++ b/src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.Serialization.cs
@@ -109,7 +109,7 @@ protected override TurnDetectionOptions PersistableModelCreateCore(BinaryData da
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeTurnDetectionOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/AutomaticCodeInterpreterToolContainerConfiguration.Serialization.cs b/src/Generated/Models/Responses/AutomaticCodeInterpreterToolContainerConfiguration.Serialization.cs
index 9e3af73c6..679e11c00 100644
--- a/src/Generated/Models/Responses/AutomaticCodeInterpreterToolContainerConfiguration.Serialization.cs
+++ b/src/Generated/Models/Responses/AutomaticCodeInterpreterToolContainerConfiguration.Serialization.cs
@@ -122,7 +122,7 @@ protected override CodeInterpreterToolContainerConfiguration PersistableModelCre
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeAutomaticCodeInterpreterToolContainerConfiguration(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CodeInterpreterCallImageOutput.Serialization.cs b/src/Generated/Models/Responses/CodeInterpreterCallImageOutput.Serialization.cs
index 3f7c713e4..d0f09841b 100644
--- a/src/Generated/Models/Responses/CodeInterpreterCallImageOutput.Serialization.cs
+++ b/src/Generated/Models/Responses/CodeInterpreterCallImageOutput.Serialization.cs
@@ -100,7 +100,7 @@ protected override CodeInterpreterCallOutput PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterCallImageOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CodeInterpreterCallLogsOutput.Serialization.cs b/src/Generated/Models/Responses/CodeInterpreterCallLogsOutput.Serialization.cs
index 0946be354..2386d3aaa 100644
--- a/src/Generated/Models/Responses/CodeInterpreterCallLogsOutput.Serialization.cs
+++ b/src/Generated/Models/Responses/CodeInterpreterCallLogsOutput.Serialization.cs
@@ -100,7 +100,7 @@ protected override CodeInterpreterCallOutput PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterCallLogsOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CodeInterpreterCallOutput.Serialization.cs b/src/Generated/Models/Responses/CodeInterpreterCallOutput.Serialization.cs
index cfdf62761..4a7736b94 100644
--- a/src/Generated/Models/Responses/CodeInterpreterCallOutput.Serialization.cs
+++ b/src/Generated/Models/Responses/CodeInterpreterCallOutput.Serialization.cs
@@ -111,7 +111,7 @@ protected virtual CodeInterpreterCallOutput PersistableModelCreateCore(BinaryDat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterCallOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CodeInterpreterCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/CodeInterpreterCallResponseItem.Serialization.cs
index 756fb4bc6..13add5b64 100644
--- a/src/Generated/Models/Responses/CodeInterpreterCallResponseItem.Serialization.cs
+++ b/src/Generated/Models/Responses/CodeInterpreterCallResponseItem.Serialization.cs
@@ -161,7 +161,7 @@ protected override ResponseItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterCallResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CodeInterpreterTool.Serialization.cs b/src/Generated/Models/Responses/CodeInterpreterTool.Serialization.cs
index 4df77ed82..6a8d40b3b 100644
--- a/src/Generated/Models/Responses/CodeInterpreterTool.Serialization.cs
+++ b/src/Generated/Models/Responses/CodeInterpreterTool.Serialization.cs
@@ -100,7 +100,7 @@ protected override ResponseTool PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CodeInterpreterToolContainer.Serialization.cs b/src/Generated/Models/Responses/CodeInterpreterToolContainer.Serialization.cs
index 7ca40e554..426d32e04 100644
--- a/src/Generated/Models/Responses/CodeInterpreterToolContainer.Serialization.cs
+++ b/src/Generated/Models/Responses/CodeInterpreterToolContainer.Serialization.cs
@@ -46,7 +46,7 @@ protected virtual CodeInterpreterToolContainer PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterToolContainer(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CodeInterpreterToolContainerConfiguration.Serialization.cs b/src/Generated/Models/Responses/CodeInterpreterToolContainerConfiguration.Serialization.cs
index cc16fb5ee..75a8d47d3 100644
--- a/src/Generated/Models/Responses/CodeInterpreterToolContainerConfiguration.Serialization.cs
+++ b/src/Generated/Models/Responses/CodeInterpreterToolContainerConfiguration.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual CodeInterpreterToolContainerConfiguration PersistableModelCrea
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCodeInterpreterToolContainerConfiguration(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ComputerCallAction.Serialization.cs b/src/Generated/Models/Responses/ComputerCallAction.Serialization.cs
index fd2a15e38..87d0cc9ee 100644
--- a/src/Generated/Models/Responses/ComputerCallAction.Serialization.cs
+++ b/src/Generated/Models/Responses/ComputerCallAction.Serialization.cs
@@ -125,7 +125,7 @@ protected virtual ComputerCallAction PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeComputerCallAction(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ComputerCallOutput.Serialization.cs b/src/Generated/Models/Responses/ComputerCallOutput.Serialization.cs
index 582ef511b..badb96c38 100644
--- a/src/Generated/Models/Responses/ComputerCallOutput.Serialization.cs
+++ b/src/Generated/Models/Responses/ComputerCallOutput.Serialization.cs
@@ -109,7 +109,7 @@ protected virtual ComputerCallOutput PersistableModelCreateCore(BinaryData data,
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeComputerCallOutput(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs
index beb3eb912..e305f05b8 100644
--- a/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs
+++ b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs
@@ -162,7 +162,7 @@ protected override ResponseItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeComputerCallOutputResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs
index ce66f5f24..2990390fe 100644
--- a/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs
+++ b/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs
@@ -158,7 +158,7 @@ protected override ResponseItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeComputerCallResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ComputerCallSafetyCheck.Serialization.cs b/src/Generated/Models/Responses/ComputerCallSafetyCheck.Serialization.cs
index 3d7d474b4..ed7718cb0 100644
--- a/src/Generated/Models/Responses/ComputerCallSafetyCheck.Serialization.cs
+++ b/src/Generated/Models/Responses/ComputerCallSafetyCheck.Serialization.cs
@@ -135,7 +135,7 @@ protected virtual ComputerCallSafetyCheck PersistableModelCreateCore(BinaryData
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeComputerCallSafetyCheck(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ComputerTool.Serialization.cs b/src/Generated/Models/Responses/ComputerTool.Serialization.cs
index e043c1666..bf35906b3 100644
--- a/src/Generated/Models/Responses/ComputerTool.Serialization.cs
+++ b/src/Generated/Models/Responses/ComputerTool.Serialization.cs
@@ -122,7 +122,7 @@ protected override ResponseTool PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeComputerTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/CustomMcpToolCallApprovalPolicy.Serialization.cs b/src/Generated/Models/Responses/CustomMcpToolCallApprovalPolicy.Serialization.cs
index 99fc5ff16..74886356a 100644
--- a/src/Generated/Models/Responses/CustomMcpToolCallApprovalPolicy.Serialization.cs
+++ b/src/Generated/Models/Responses/CustomMcpToolCallApprovalPolicy.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual CustomMcpToolCallApprovalPolicy PersistableModelCreateCore(Bin
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeCustomMcpToolCallApprovalPolicy(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FileCitationMessageAnnotation.Serialization.cs b/src/Generated/Models/Responses/FileCitationMessageAnnotation.Serialization.cs
index d4ea06223..fc501f744 100644
--- a/src/Generated/Models/Responses/FileCitationMessageAnnotation.Serialization.cs
+++ b/src/Generated/Models/Responses/FileCitationMessageAnnotation.Serialization.cs
@@ -111,7 +111,7 @@ protected override ResponseMessageAnnotation PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileCitationMessageAnnotation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FilePathMessageAnnotation.Serialization.cs b/src/Generated/Models/Responses/FilePathMessageAnnotation.Serialization.cs
index ad8c57169..c45c7d8d4 100644
--- a/src/Generated/Models/Responses/FilePathMessageAnnotation.Serialization.cs
+++ b/src/Generated/Models/Responses/FilePathMessageAnnotation.Serialization.cs
@@ -111,7 +111,7 @@ protected override ResponseMessageAnnotation PersistableModelCreateCore(BinaryDa
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFilePathMessageAnnotation(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs
index 36acc46f6..0632265cd 100644
--- a/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs
+++ b/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs
@@ -172,7 +172,7 @@ protected override ResponseItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileSearchCallResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FileSearchCallResult.Serialization.cs b/src/Generated/Models/Responses/FileSearchCallResult.Serialization.cs
index a5d145125..a3079d27b 100644
--- a/src/Generated/Models/Responses/FileSearchCallResult.Serialization.cs
+++ b/src/Generated/Models/Responses/FileSearchCallResult.Serialization.cs
@@ -197,7 +197,7 @@ protected virtual FileSearchCallResult PersistableModelCreateCore(BinaryData dat
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileSearchCallResult(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FileSearchTool.Serialization.cs b/src/Generated/Models/Responses/FileSearchTool.Serialization.cs
index 5bad0310a..30e8a68e4 100644
--- a/src/Generated/Models/Responses/FileSearchTool.Serialization.cs
+++ b/src/Generated/Models/Responses/FileSearchTool.Serialization.cs
@@ -181,7 +181,7 @@ protected override ResponseTool PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileSearchTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FileSearchToolRankingOptions.Serialization.cs b/src/Generated/Models/Responses/FileSearchToolRankingOptions.Serialization.cs
index 6fd4ee958..dc431be0f 100644
--- a/src/Generated/Models/Responses/FileSearchToolRankingOptions.Serialization.cs
+++ b/src/Generated/Models/Responses/FileSearchToolRankingOptions.Serialization.cs
@@ -128,7 +128,7 @@ protected virtual FileSearchToolRankingOptions PersistableModelCreateCore(Binary
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFileSearchToolRankingOptions(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs
index 4280f6c2e..53f787fc9 100644
--- a/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs
+++ b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs
@@ -136,7 +136,7 @@ protected override ResponseItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFunctionCallOutputResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs
index 2564316da..9d0ef2c71 100644
--- a/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs
+++ b/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs
@@ -148,7 +148,7 @@ protected override ResponseItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFunctionCallResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/FunctionTool.Serialization.cs b/src/Generated/Models/Responses/FunctionTool.Serialization.cs
index e8be7ffa8..c6eeb5cde 100644
--- a/src/Generated/Models/Responses/FunctionTool.Serialization.cs
+++ b/src/Generated/Models/Responses/FunctionTool.Serialization.cs
@@ -175,7 +175,7 @@ protected override ResponseTool PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeFunctionTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ImageGenerationCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/ImageGenerationCallResponseItem.Serialization.cs
index d452bff67..90d769b9e 100644
--- a/src/Generated/Models/Responses/ImageGenerationCallResponseItem.Serialization.cs
+++ b/src/Generated/Models/Responses/ImageGenerationCallResponseItem.Serialization.cs
@@ -130,7 +130,7 @@ protected override ResponseItem PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeImageGenerationCallResponseItem(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ImageGenerationTool.Serialization.cs b/src/Generated/Models/Responses/ImageGenerationTool.Serialization.cs
index d5a7a8a13..622a2c1bd 100644
--- a/src/Generated/Models/Responses/ImageGenerationTool.Serialization.cs
+++ b/src/Generated/Models/Responses/ImageGenerationTool.Serialization.cs
@@ -30,7 +30,7 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri
if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true)
{
writer.WritePropertyName("model"u8);
- writer.WriteStringValue(Model);
+ writer.WriteStringValue(Model.Value.ToString());
}
if (Optional.IsDefined(Quality) && _additionalBinaryDataProperties?.ContainsKey("quality") != true)
{
@@ -100,7 +100,7 @@ internal static ImageGenerationTool DeserializeImageGenerationTool(JsonElement e
}
InternalToolType kind = default;
IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary();
- string model = default;
+ ImageGenToolModel? model = default;
ImageGenerationToolQuality? quality = default;
ImageGenerationToolSize? size = default;
ImageGenerationToolOutputFileFormat? outputFileFormat = default;
@@ -119,7 +119,11 @@ internal static ImageGenerationTool DeserializeImageGenerationTool(JsonElement e
}
if (prop.NameEquals("model"u8))
{
- model = prop.Value.GetString();
+ if (prop.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ model = new ImageGenToolModel(prop.Value.GetString());
continue;
}
if (prop.NameEquals("quality"u8))
@@ -243,7 +247,7 @@ protected override ResponseTool PersistableModelCreateCore(BinaryData data, Mode
switch (format)
{
case "J":
- using (JsonDocument document = JsonDocument.Parse(data))
+ using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions))
{
return DeserializeImageGenerationTool(document.RootElement, options);
}
diff --git a/src/Generated/Models/Responses/ImageGenerationTool.cs b/src/Generated/Models/Responses/ImageGenerationTool.cs
index 4f8014cb4..321cbd19f 100644
--- a/src/Generated/Models/Responses/ImageGenerationTool.cs
+++ b/src/Generated/Models/Responses/ImageGenerationTool.cs
@@ -5,17 +5,18 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
+using OpenAI;
namespace OpenAI.Responses
{
[Experimental("OPENAI001")]
public partial class ImageGenerationTool : ResponseTool
{
- public ImageGenerationTool() : this(InternalToolType.ImageGeneration, null, null, default, default, default, default, default, default, default, null, default)
+ public ImageGenerationTool() : this(InternalToolType.ImageGeneration, null, default, default, default, default, default, default, default, default, null, default)
{
}
- internal ImageGenerationTool(InternalToolType kind, IDictionary additionalBinaryDataProperties, string model, ImageGenerationToolQuality? quality, ImageGenerationToolSize? size, ImageGenerationToolOutputFileFormat? outputFileFormat, int? outputCompressionFactor, ImageGenerationToolModerationLevel? moderationLevel, ImageGenerationToolBackground? background, ImageGenerationToolInputFidelityLevel? inputFidelityLevel, ImageGenerationToolInputImageMask inputImageMask, int? partialImageCount) : base(kind, additionalBinaryDataProperties)
+ internal ImageGenerationTool(InternalToolType kind, IDictionary additionalBinaryDataProperties, ImageGenToolModel? model, ImageGenerationToolQuality? quality, ImageGenerationToolSize? size, ImageGenerationToolOutputFileFormat? outputFileFormat, int? outputCompressionFactor, ImageGenerationToolModerationLevel? moderationLevel, ImageGenerationToolBackground? background, ImageGenerationToolInputFidelityLevel? inputFidelityLevel, ImageGenerationToolInputImageMask inputImageMask, int? partialImageCount) : base(kind, additionalBinaryDataProperties)
{
Model = model;
Quality = quality;
@@ -29,7 +30,7 @@ internal ImageGenerationTool(InternalToolType kind, IDictionary tools = default, ToolResources toolResources = default, IReadOnlyDictionary metadata = default, float? temperature = default, float? nucleusSamplingFactor = default, AssistantResponseFormat responseFormat = default)
+ 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, float? nucleusSamplingFactor = default, AssistantResponseFormat responseFormat = default)
{
tools ??= new ChangeTrackingList();
metadata ??= new ChangeTrackingDictionary();
return new Assistant(
id,
- @object,
+ "assistant",
createdAt,
name,
description,
@@ -119,9 +119,9 @@ public static AssistantModificationOptions AssistantModificationOptions(string m
additionalBinaryDataProperties: null);
}
- public static AssistantDeletionResult AssistantDeletionResult(string assistantId = default, bool deleted = default, string @object = default)
+ public static AssistantDeletionResult AssistantDeletionResult(string assistantId = default, bool deleted = default)
{
- return new AssistantDeletionResult(assistantId, deleted, @object, additionalBinaryDataProperties: null);
+ return new AssistantDeletionResult(assistantId, deleted, "assistant.deleted", additionalBinaryDataProperties: null);
}
public static TranscribedWord TranscribedWord(string word = default, TimeSpan startTime = default, TimeSpan endTime = default)
@@ -164,12 +164,12 @@ public static StreamingAudioTranscriptionTextDoneUpdate StreamingAudioTranscript
return new StreamingAudioTranscriptionTextDoneUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDone, additionalBinaryDataProperties: null, text, transcriptionTokenLogProbabilities.ToList());
}
- public static AudioTranslation AudioTranslation(string task = default, string language = default, TimeSpan? duration = default, string text = default, IEnumerable segments = default)
+ public static AudioTranslation AudioTranslation(string language = default, TimeSpan? duration = default, string text = default, IEnumerable segments = default)
{
segments ??= new ChangeTrackingList();
return new AudioTranslation(
- task,
+ "translate",
language,
duration,
text,
@@ -295,9 +295,9 @@ public static StreamingChatFunctionCallUpdate StreamingChatFunctionCallUpdate(st
return new StreamingChatFunctionCallUpdate(functionName, functionArgumentsUpdate, additionalBinaryDataProperties: null);
}
- public static ChatCompletionDeletionResult ChatCompletionDeletionResult(string @object = default, string chatCompletionId = default, bool deleted = default)
+ public static ChatCompletionDeletionResult ChatCompletionDeletionResult(string chatCompletionId = default, bool deleted = default)
{
- return new ChatCompletionDeletionResult(@object, chatCompletionId, deleted, additionalBinaryDataProperties: null);
+ return new ChatCompletionDeletionResult("chat.completion.deleted", 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)
@@ -312,7 +312,7 @@ public static ContainerResource ContainerResource(string id = default, string @o
additionalBinaryDataProperties: null);
}
- public static ContainerResourceExpiresAfter ContainerResourceExpiresAfter(string anchor = default, int? minutes = default)
+ public static ContainerResourceExpiresAfter ContainerResourceExpiresAfter(ContainerResourceExpiresAfterAnchor? anchor = default, int? minutes = default)
{
return new ContainerResourceExpiresAfter(anchor, minutes, additionalBinaryDataProperties: null);
}
@@ -324,14 +324,14 @@ public static CreateContainerBody CreateContainerBody(string name = default, IEn
return new CreateContainerBody(name, fileIds.ToList(), expiresAfter, additionalBinaryDataProperties: null);
}
- public static CreateContainerBodyExpiresAfter CreateContainerBodyExpiresAfter(string anchor = default, int minutes = default)
+ public static CreateContainerBodyExpiresAfter CreateContainerBodyExpiresAfter(int minutes = default)
{
- return new CreateContainerBodyExpiresAfter(anchor, minutes, additionalBinaryDataProperties: null);
+ return new CreateContainerBodyExpiresAfter("last_active_at", minutes, additionalBinaryDataProperties: null);
}
- public static DeleteContainerResponse DeleteContainerResponse(string id = default, string @object = default, bool deleted = default)
+ public static DeleteContainerResponse DeleteContainerResponse(string id = default)
{
- return new DeleteContainerResponse(id, @object, deleted, additionalBinaryDataProperties: null);
+ return new DeleteContainerResponse(id, "container.deleted", true, additionalBinaryDataProperties: null);
}
public static CreateContainerFileBody CreateContainerFileBody(string fileId = default, BinaryData @file = default)
@@ -352,9 +352,9 @@ public static ContainerFileResource ContainerFileResource(string id = default, s
additionalBinaryDataProperties: null);
}
- public static DeleteContainerFileResponse DeleteContainerFileResponse(string id = default, string @object = default, bool deleted = default)
+ public static DeleteContainerFileResponse DeleteContainerFileResponse(string id = default)
{
- return new DeleteContainerFileResponse(id, @object, deleted, additionalBinaryDataProperties: null);
+ return new DeleteContainerFileResponse(id, "container.file.deleted", true, additionalBinaryDataProperties: null);
}
public static OpenAIEmbeddingCollection OpenAIEmbeddingCollection(IEnumerable data = default, string model = default, string @object = default, EmbeddingTokenUsage usage = default)
@@ -387,7 +387,7 @@ public static OpenAIFileCollection OpenAIFileCollection(IEnumerable
serializedAdditionalRawData: null);
}
- 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)
+ public static OpenAIFile OpenAIFile(string id = default, long? sizeInBytesLong = default, DateTimeOffset createdAt = default, DateTimeOffset? expiresAt = default, string filename = default, FilePurpose purpose = default, FileStatus status = default, string statusDetails = default)
{
return new OpenAIFile(
id,
@@ -395,16 +395,16 @@ public static OpenAIFile OpenAIFile(string id = default, long? sizeInBytesLong =
createdAt,
expiresAt,
filename,
- @object,
+ "file",
purpose,
status,
statusDetails,
additionalBinaryDataProperties: null);
}
- public static FileDeletionResult FileDeletionResult(string fileId = default, string @object = default, bool deleted = default)
+ public static FileDeletionResult FileDeletionResult(string fileId = default, bool deleted = default)
{
- return new FileDeletionResult(fileId, @object, deleted, additionalBinaryDataProperties: null);
+ return new FileDeletionResult(fileId, "file", deleted, additionalBinaryDataProperties: null);
}
public static HyperparametersForSupervised HyperparametersForSupervised(BinaryData batchSize = default, BinaryData learningRateMultiplier = default, BinaryData nEpochs = default)
@@ -464,7 +464,7 @@ public static FineTuningHyperparameters FineTuningHyperparameters(BinaryData bat
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)
+ public static FineTuningCheckpoint FineTuningCheckpoint(string id = default, DateTimeOffset createdAt = default, string modelId = default, int stepNumber = default, FineTuningCheckpointMetrics metrics = default, string jobId = default)
{
return new FineTuningCheckpoint(
id,
@@ -473,7 +473,7 @@ public static FineTuningCheckpoint FineTuningCheckpoint(string id = default, Dat
stepNumber,
metrics,
jobId,
- @object,
+ default,
additionalBinaryDataProperties: null);
}
@@ -632,7 +632,7 @@ public static McpToolDefinition McpToolDefinition(string name = default, string
return new McpToolDefinition(name, description, inputSchema, annotations, additionalBinaryDataProperties: null);
}
- 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? backgroundModeEnabled = 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)
+ 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? backgroundModeEnabled = default, int? maxOutputTokenCount = default, string instructions = default, ResponseTextOptions textOptions = default, IEnumerable tools = default, ResponseToolChoice toolChoice = default, ResponseTruncationMode? truncationMode = default, string id = 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();
@@ -655,7 +655,7 @@ public static OpenAIResponse OpenAIResponse(IDictionary metadata
toolChoice,
truncationMode,
id,
- @object,
+ "response",
status,
createdAt,
error,
@@ -697,9 +697,9 @@ public static ResponseOutputTokenUsageDetails ResponseOutputTokenUsageDetails(in
return new ResponseOutputTokenUsageDetails(reasoningTokenCount, additionalBinaryDataProperties: null);
}
- public static ResponseDeletionResult ResponseDeletionResult(string id = default, string @object = default, bool deleted = default)
+ public static ResponseDeletionResult ResponseDeletionResult(string id = default)
{
- return new ResponseDeletionResult(id, @object, deleted, additionalBinaryDataProperties: null);
+ return new ResponseDeletionResult(id, "response.deleted", true, additionalBinaryDataProperties: null);
}
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)
@@ -786,7 +786,7 @@ public static MessageCreationAttachment MessageCreationAttachment(string fileId
return new MessageCreationAttachment(fileId, tools.ToList(), additionalBinaryDataProperties: null);
}
- 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)
+ 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, Assistants.MessageRole role = default, IEnumerable content = default, string assistantId = default, string runId = default, IEnumerable attachments = default, IReadOnlyDictionary metadata = default)
{
content ??= new ChangeTrackingList();
attachments ??= new ChangeTrackingList();
@@ -794,7 +794,7 @@ public static ThreadMessage ThreadMessage(string id = default, string @object =
return new ThreadMessage(
id,
- @object,
+ "thread.message",
createdAt,
threadId,
status,
@@ -822,9 +822,9 @@ public static MessageModificationOptions MessageModificationOptions(IDictionary<
return new MessageModificationOptions(metadata, additionalBinaryDataProperties: null);
}
- public static MessageDeletionResult MessageDeletionResult(string messageId = default, bool deleted = default, string @object = default)
+ public static MessageDeletionResult MessageDeletionResult(string messageId = default, bool deleted = default)
{
- return new MessageDeletionResult(messageId, deleted, @object, additionalBinaryDataProperties: null);
+ return new MessageDeletionResult(messageId, deleted, "thread.message.deleted", additionalBinaryDataProperties: null);
}
public static ModerationResultCollection ModerationResultCollection(string id = default, string model = default, IEnumerable results = default)
@@ -901,13 +901,13 @@ public static ToolOutput ToolOutput(string toolCallId = default, string output =
return new ToolOutput(toolCallId, output, additionalBinaryDataProperties: null);
}
- 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)
+ 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, 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,
+ "thread.run.step",
createdAt,
assistantId,
threadId,
@@ -937,9 +937,9 @@ public static RunStepFileSearchResult RunStepFileSearchResult(string fileId = de
return new RunStepFileSearchResult(fileId, fileName, score, content.ToList(), additionalBinaryDataProperties: null);
}
- public static RunStepFileSearchResultContent RunStepFileSearchResultContent(RunStepFileSearchResultContentKind kind = default, string text = default)
+ public static RunStepFileSearchResultContent RunStepFileSearchResultContent(string text = default)
{
- return new RunStepFileSearchResultContent(kind, text, additionalBinaryDataProperties: null);
+ return new RunStepFileSearchResultContent(RunStepFileSearchResultContentKind.Text, text, additionalBinaryDataProperties: null);
}
public static RunStepError RunStepError(RunStepErrorCode code = default, string message = default)
@@ -952,13 +952,13 @@ public static RunStepTokenUsage RunStepTokenUsage(int outputTokenCount = default
return new RunStepTokenUsage(outputTokenCount, inputTokenCount, totalTokenCount, additionalBinaryDataProperties: null);
}
- public static AssistantThread AssistantThread(string id = default, string @object = default, DateTimeOffset createdAt = default, ToolResources toolResources = default, IReadOnlyDictionary metadata = default)
+ public static AssistantThread AssistantThread(string id = default, DateTimeOffset createdAt = default, ToolResources toolResources = default, IReadOnlyDictionary metadata = default)
{
metadata ??= new ChangeTrackingDictionary();
return new AssistantThread(
id,
- @object,
+ "thread",
createdAt,
toolResources,
metadata,
@@ -972,18 +972,18 @@ public static ThreadModificationOptions ThreadModificationOptions(ToolResources
return new ThreadModificationOptions(toolResources, metadata, additionalBinaryDataProperties: null);
}
- public static ThreadDeletionResult ThreadDeletionResult(string threadId = default, bool deleted = default, string @object = default)
+ public static ThreadDeletionResult ThreadDeletionResult(string threadId = default, bool deleted = default)
{
- return new ThreadDeletionResult(threadId, deleted, @object, additionalBinaryDataProperties: null);
+ return new ThreadDeletionResult(threadId, deleted, "thread.deleted", additionalBinaryDataProperties: null);
}
- 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)
+ public static VectorStore VectorStore(string id = 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,
+ "vector_store",
createdAt,
name,
usageBytes,
@@ -1007,9 +1007,9 @@ public static VectorStoreFileCounts VectorStoreFileCounts(int inProgress = defau
additionalBinaryDataProperties: null);
}
- public static VectorStoreExpirationPolicy VectorStoreExpirationPolicy(VectorStoreExpirationAnchor anchor = default, int days = default)
+ public static VectorStoreExpirationPolicy VectorStoreExpirationPolicy(int days = default)
{
- return new VectorStoreExpirationPolicy(anchor, days, additionalBinaryDataProperties: null);
+ return new VectorStoreExpirationPolicy(VectorStoreExpirationAnchor.LastActiveAt, days, additionalBinaryDataProperties: null);
}
public static VectorStoreCreationOptions VectorStoreCreationOptions(IEnumerable fileIds = default, string name = default, VectorStoreExpirationPolicy expirationPolicy = default, FileChunkingStrategy chunkingStrategy = default, IDictionary metadata = default)
@@ -1033,9 +1033,9 @@ public static VectorStoreModificationOptions VectorStoreModificationOptions(stri
return new VectorStoreModificationOptions(name, expirationPolicy, metadata, additionalBinaryDataProperties: null);
}
- public static VectorStoreDeletionResult VectorStoreDeletionResult(string vectorStoreId = default, bool deleted = default, string @object = default)
+ public static VectorStoreDeletionResult VectorStoreDeletionResult(string vectorStoreId = default, bool deleted = default)
{
- return new VectorStoreDeletionResult(vectorStoreId, deleted, @object, additionalBinaryDataProperties: null);
+ return new VectorStoreDeletionResult(vectorStoreId, deleted, "vector_store.deleted", additionalBinaryDataProperties: null);
}
public static VectorStoreFileBatch VectorStoreFileBatch(string batchId = default, DateTimeOffset createdAt = default, string vectorStoreId = default, VectorStoreFileBatchStatus status = default, VectorStoreFileCounts fileCounts = default, object @object = default)
@@ -1050,13 +1050,13 @@ public static VectorStoreFileBatch VectorStoreFileBatch(string batchId = default
additionalBinaryDataProperties: null);
}
- public static VectorStoreFile VectorStoreFile(string fileId = default, string @object = default, int size = default, DateTimeOffset createdAt = default, string vectorStoreId = default, VectorStoreFileStatus status = default, VectorStoreFileError lastError = default, FileChunkingStrategy chunkingStrategy = default, IDictionary attributes = default)
+ public static VectorStoreFile VectorStoreFile(string fileId = default, int size = default, DateTimeOffset createdAt = default, string vectorStoreId = default, VectorStoreFileStatus status = default, VectorStoreFileError lastError = default, FileChunkingStrategy chunkingStrategy = default, IDictionary attributes = default)
{
attributes ??= new ChangeTrackingDictionary();
return new VectorStoreFile(
fileId,
- @object,
+ "vector_store.file",
size,
createdAt,
vectorStoreId,
@@ -1072,9 +1072,9 @@ public static VectorStoreFileError VectorStoreFileError(VectorStoreFileErrorCode
return new VectorStoreFileError(code, message, additionalBinaryDataProperties: null);
}
- public static FileFromStoreRemovalResult FileFromStoreRemovalResult(string fileId = default, bool removed = default, string @object = default)
+ public static FileFromStoreRemovalResult FileFromStoreRemovalResult(string fileId = default, bool removed = default)
{
- return new FileFromStoreRemovalResult(fileId, removed, @object, additionalBinaryDataProperties: null);
+ return new FileFromStoreRemovalResult(fileId, removed, "vector_store.file.deleted", additionalBinaryDataProperties: null);
}
public static OpenAIModelCollection OpenAIModelCollection(string @object = default, IEnumerable data = default)
@@ -1084,14 +1084,14 @@ public static OpenAIModelCollection OpenAIModelCollection(string @object = defau
return new OpenAIModelCollection(@object, data.ToList(), serializedAdditionalRawData: null);
}
- public static OpenAIModel OpenAIModel(string id = default, DateTimeOffset createdAt = default, string @object = default, string ownedBy = default)
+ public static OpenAIModel OpenAIModel(string id = default, DateTimeOffset createdAt = default, string ownedBy = default)
{
- return new OpenAIModel(id, createdAt, @object, ownedBy, additionalBinaryDataProperties: null);
+ return new OpenAIModel(id, createdAt, "model", ownedBy, additionalBinaryDataProperties: null);
}
- public static ModelDeletionResult ModelDeletionResult(string modelId = default, bool deleted = default, string @object = default)
+ public static ModelDeletionResult ModelDeletionResult(string modelId = default, bool deleted = default)
{
- return new ModelDeletionResult(modelId, deleted, @object, additionalBinaryDataProperties: null);
+ return new ModelDeletionResult(modelId, deleted, "model", additionalBinaryDataProperties: null);
}
public static InputTranscriptionOptions InputTranscriptionOptions(InputTranscriptionModel? model = default, string language = default, string prompt = default)
@@ -1271,14 +1271,14 @@ public static RunStepCollectionOptions RunStepCollectionOptions(string afterId =
return new RunStepCollectionOptions(afterId, beforeId, pageSizeLimit, order, additionalBinaryDataProperties: null);
}
- 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)
+ public static AudioTranscription AudioTranscription(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(
- task,
+ "transcribe",
language,
duration,
text,
diff --git a/src/Generated/OpenAIResponseClient.RestClient.cs b/src/Generated/OpenAIResponseClient.RestClient.cs
index 3f81aea69..47d3ecd95 100644
--- a/src/Generated/OpenAIResponseClient.RestClient.cs
+++ b/src/Generated/OpenAIResponseClient.RestClient.cs
@@ -44,11 +44,11 @@ internal virtual PipelineMessage CreateGetResponseRequest(string responseId, IEn
}
if (stream != null)
{
- uri.AppendQuery("stream", TypeFormatters.ConvertToString(stream, null), true);
+ uri.AppendQuery("stream", TypeFormatters.ConvertToString(stream), true);
}
if (startingAfter != null)
{
- uri.AppendQuery("starting_after", TypeFormatters.ConvertToString(startingAfter, null), true);
+ uri.AppendQuery("starting_after", TypeFormatters.ConvertToString(startingAfter), true);
}
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
PipelineRequest request = message.Request;
@@ -93,7 +93,7 @@ internal virtual PipelineMessage CreateGetInputItemsRequest(string responseId, i
uri.AppendPath("/input_items", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
diff --git a/src/Generated/OpenAIResponseClient.cs b/src/Generated/OpenAIResponseClient.cs
index 5d2b736b2..4f9f6be20 100644
--- a/src/Generated/OpenAIResponseClient.cs
+++ b/src/Generated/OpenAIResponseClient.cs
@@ -116,7 +116,7 @@ public virtual CollectionResult GetInputItems(string responseId, R
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetInputItemsAsync(string responseId, ResponseItemCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -130,7 +130,7 @@ public virtual AsyncCollectionResult GetInputItemsAsync(string res
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
}
}
diff --git a/src/Generated/VectorStoreClient.RestClient.cs b/src/Generated/VectorStoreClient.RestClient.cs
index 5143ce908..3894f1708 100644
--- a/src/Generated/VectorStoreClient.RestClient.cs
+++ b/src/Generated/VectorStoreClient.RestClient.cs
@@ -21,7 +21,7 @@ internal virtual PipelineMessage CreateGetVectorStoresRequest(int? limit, string
uri.AppendPath("/vector_stores", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -155,7 +155,7 @@ internal virtual PipelineMessage CreateGetVectorStoreFilesInBatchRequest(string
uri.AppendPath("/files", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
@@ -189,7 +189,7 @@ internal virtual PipelineMessage CreateGetVectorStoreFilesRequest(string vectorS
uri.AppendPath("/files", false);
if (limit != null)
{
- uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true);
+ uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit), true);
}
if (order != null)
{
diff --git a/src/Generated/VectorStoreClient.cs b/src/Generated/VectorStoreClient.cs
index fc85cef6a..e79e9d5ba 100644
--- a/src/Generated/VectorStoreClient.cs
+++ b/src/Generated/VectorStoreClient.cs
@@ -53,7 +53,7 @@ public virtual CollectionResult GetVectorStores(VectorStoreCollecti
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetVectorStoresAsync(VectorStoreCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -64,7 +64,7 @@ public virtual AsyncCollectionResult GetVectorStoresAsync(VectorSto
options?.Order?.ToString(),
options?.AfterId,
options?.BeforeId,
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual ClientResult CreateVectorStore(BinaryContent content, RequestOptions options = null)
@@ -235,7 +235,7 @@ public virtual CollectionResult GetVectorStoreFilesInBatch(stri
options?.AfterId,
options?.BeforeId,
options?.Filter?.ToString(),
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetVectorStoreFilesInBatchAsync(string vectorStoreId, string batchId, VectorStoreFileCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -252,7 +252,7 @@ public virtual AsyncCollectionResult GetVectorStoreFilesInBatch
options?.AfterId,
options?.BeforeId,
options?.Filter?.ToString(),
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual CollectionResult GetVectorStoreFiles(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options)
@@ -297,7 +297,7 @@ public virtual CollectionResult GetVectorStoreFiles(string vect
options?.AfterId,
options?.BeforeId,
options?.Filter?.ToString(),
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual AsyncCollectionResult GetVectorStoreFilesAsync(string vectorStoreId, VectorStoreFileCollectionOptions options = default, CancellationToken cancellationToken = default)
@@ -312,7 +312,7 @@ public virtual AsyncCollectionResult GetVectorStoreFilesAsync(s
options?.AfterId,
options?.BeforeId,
options?.Filter?.ToString(),
- cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null);
+ cancellationToken.ToRequestOptions());
}
public virtual ClientResult AddFileToVectorStore(string vectorStoreId, BinaryContent content, RequestOptions options = null)
diff --git a/tspCodeModel.json b/tspCodeModel.json
index 2d2ce0250..8118302f5 100644
--- a/tspCodeModel.json
+++ b/tspCodeModel.json
@@ -1530,8 +1530,8 @@
{
"$id": "126",
"kind": "enum",
- "name": "BatchStatus",
- "crossLanguageDefinitionId": "OpenAI.Batch.status.anonymous",
+ "name": "BatchErrorsObject",
+ "crossLanguageDefinitionId": "",
"valueType": {
"$id": "127",
"kind": "string",
@@ -1543,104 +1543,142 @@
{
"$id": "128",
"kind": "enumvalue",
+ "name": "list",
+ "value": "list",
+ "valueType": {
+ "$id": "129",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "126"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "130",
+ "kind": "enum",
+ "name": "BatchStatus",
+ "crossLanguageDefinitionId": "OpenAI.Batch.status.anonymous",
+ "valueType": {
+ "$id": "131",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "132",
+ "kind": "enumvalue",
"name": "validating",
"value": "validating",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
},
{
- "$id": "129",
+ "$id": "133",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
},
{
- "$id": "130",
+ "$id": "134",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
},
{
- "$id": "131",
+ "$id": "135",
"kind": "enumvalue",
"name": "finalizing",
"value": "finalizing",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
},
{
- "$id": "132",
+ "$id": "136",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
},
{
- "$id": "133",
+ "$id": "137",
"kind": "enumvalue",
"name": "expired",
"value": "expired",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
},
{
- "$id": "134",
+ "$id": "138",
"kind": "enumvalue",
"name": "cancelling",
"value": "cancelling",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
},
{
- "$id": "135",
+ "$id": "139",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "127"
+ "$ref": "131"
},
"enumType": {
- "$ref": "126"
+ "$ref": "130"
},
"decorators": []
}
@@ -1652,12 +1690,12 @@
"decorators": []
},
{
- "$id": "136",
+ "$id": "140",
"kind": "enum",
"name": "CreateChatCompletionResponseChoiceFinishReason",
"crossLanguageDefinitionId": "OpenAI.CreateChatCompletionResponse.choice.finish_reason.anonymous",
"valueType": {
- "$id": "137",
+ "$id": "141",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1665,67 +1703,67 @@
},
"values": [
{
- "$id": "138",
+ "$id": "142",
"kind": "enumvalue",
"name": "stop",
"value": "stop",
"valueType": {
- "$ref": "137"
+ "$ref": "141"
},
"enumType": {
- "$ref": "136"
+ "$ref": "140"
},
"decorators": []
},
{
- "$id": "139",
+ "$id": "143",
"kind": "enumvalue",
"name": "length",
"value": "length",
"valueType": {
- "$ref": "137"
+ "$ref": "141"
},
"enumType": {
- "$ref": "136"
+ "$ref": "140"
},
"decorators": []
},
{
- "$id": "140",
+ "$id": "144",
"kind": "enumvalue",
"name": "tool_calls",
"value": "tool_calls",
"valueType": {
- "$ref": "137"
+ "$ref": "141"
},
"enumType": {
- "$ref": "136"
+ "$ref": "140"
},
"decorators": []
},
{
- "$id": "141",
+ "$id": "145",
"kind": "enumvalue",
"name": "content_filter",
"value": "content_filter",
"valueType": {
- "$ref": "137"
+ "$ref": "141"
},
"enumType": {
- "$ref": "136"
+ "$ref": "140"
},
"decorators": []
},
{
- "$id": "142",
+ "$id": "146",
"kind": "enumvalue",
"name": "function_call",
"value": "function_call",
"valueType": {
- "$ref": "137"
+ "$ref": "141"
},
"enumType": {
- "$ref": "136"
+ "$ref": "140"
},
"decorators": []
}
@@ -1737,144 +1775,84 @@
"decorators": []
},
{
- "$id": "143",
- "kind": "enum",
- "name": "ChatToolCallKind",
- "crossLanguageDefinitionId": "OpenAI.ChatToolCallKind",
- "valueType": {
- "$id": "144",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "values": [
- {
- "$id": "145",
- "kind": "enumvalue",
- "name": "function",
- "value": "function",
- "valueType": {
- "$ref": "144"
- },
- "enumType": {
- "$ref": "143"
- },
- "decorators": []
- }
- ],
- "namespace": "OpenAI",
- "isFixed": true,
- "isFlags": false,
- "usage": "Input,Output,Json",
- "decorators": []
- },
- {
- "$id": "146",
+ "$id": "147",
"kind": "enum",
- "name": "ChatCompletionRole",
- "crossLanguageDefinitionId": "OpenAI.ChatCompletionRole",
+ "name": "DotNetChatServiceTier",
+ "crossLanguageDefinitionId": "OpenAI.DotNetChatServiceTier",
"valueType": {
- "$id": "147",
+ "$id": "148",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
"values": [
- {
- "$id": "148",
- "kind": "enumvalue",
- "name": "system",
- "value": "system",
- "valueType": {
- "$ref": "147"
- },
- "enumType": {
- "$ref": "146"
- },
- "decorators": []
- },
{
"$id": "149",
"kind": "enumvalue",
- "name": "developer",
- "value": "developer",
+ "name": "auto",
+ "value": "auto",
"valueType": {
- "$ref": "147"
+ "$ref": "148"
},
"enumType": {
- "$ref": "146"
+ "$ref": "147"
},
"decorators": []
},
{
"$id": "150",
"kind": "enumvalue",
- "name": "user",
- "value": "user",
+ "name": "default",
+ "value": "default",
"valueType": {
- "$ref": "147"
+ "$ref": "148"
},
"enumType": {
- "$ref": "146"
+ "$ref": "147"
},
"decorators": []
},
{
"$id": "151",
"kind": "enumvalue",
- "name": "assistant",
- "value": "assistant",
+ "name": "flex",
+ "value": "flex",
"valueType": {
- "$ref": "147"
+ "$ref": "148"
},
"enumType": {
- "$ref": "146"
+ "$ref": "147"
},
"decorators": []
},
{
"$id": "152",
"kind": "enumvalue",
- "name": "tool",
- "value": "tool",
+ "name": "scale",
+ "value": "scale",
"valueType": {
- "$ref": "147"
+ "$ref": "148"
},
"enumType": {
- "$ref": "146"
- },
- "decorators": []
- },
- {
- "$id": "153",
- "kind": "enumvalue",
- "name": "function",
- "value": "function",
- "valueType": {
"$ref": "147"
},
- "enumType": {
- "$ref": "146"
- },
"decorators": []
}
],
"namespace": "OpenAI",
- "doc": "The role of the author of a message",
"isFixed": true,
"isFlags": false,
"usage": "Input,Output,Json",
"decorators": []
},
{
- "$id": "154",
+ "$id": "153",
"kind": "enum",
- "name": "DotNetChatServiceTier",
- "crossLanguageDefinitionId": "OpenAI.DotNetChatServiceTier",
+ "name": "ChatCompletionRole",
+ "crossLanguageDefinitionId": "OpenAI.ChatCompletionRole",
"valueType": {
- "$id": "155",
+ "$id": "154",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1882,71 +1860,98 @@
},
"values": [
{
- "$id": "156",
+ "$id": "155",
"kind": "enumvalue",
- "name": "auto",
- "value": "auto",
+ "name": "system",
+ "value": "system",
"valueType": {
- "$ref": "155"
+ "$ref": "154"
},
"enumType": {
+ "$ref": "153"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "156",
+ "kind": "enumvalue",
+ "name": "developer",
+ "value": "developer",
+ "valueType": {
"$ref": "154"
},
+ "enumType": {
+ "$ref": "153"
+ },
"decorators": []
},
{
"$id": "157",
"kind": "enumvalue",
- "name": "default",
- "value": "default",
+ "name": "user",
+ "value": "user",
"valueType": {
- "$ref": "155"
+ "$ref": "154"
},
"enumType": {
- "$ref": "154"
+ "$ref": "153"
},
"decorators": []
},
{
"$id": "158",
"kind": "enumvalue",
- "name": "flex",
- "value": "flex",
+ "name": "assistant",
+ "value": "assistant",
"valueType": {
- "$ref": "155"
+ "$ref": "154"
},
"enumType": {
- "$ref": "154"
+ "$ref": "153"
},
"decorators": []
},
{
"$id": "159",
"kind": "enumvalue",
- "name": "scale",
- "value": "scale",
+ "name": "tool",
+ "value": "tool",
"valueType": {
- "$ref": "155"
+ "$ref": "154"
},
"enumType": {
+ "$ref": "153"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "160",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
"$ref": "154"
},
+ "enumType": {
+ "$ref": "153"
+ },
"decorators": []
}
],
"namespace": "OpenAI",
+ "doc": "The role of the author of a message",
"isFixed": true,
"isFlags": false,
"usage": "Input,Output,Json",
"decorators": []
},
{
- "$id": "160",
+ "$id": "161",
"kind": "enum",
"name": "ChatCompletionRequestMessageContentPartType",
"crossLanguageDefinitionId": "OpenAI.ChatCompletionRequestMessageContentPartType",
"valueType": {
- "$id": "161",
+ "$id": "162",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1954,67 +1959,67 @@
},
"values": [
{
- "$id": "162",
+ "$id": "163",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "161"
+ "$ref": "162"
},
"enumType": {
- "$ref": "160"
+ "$ref": "161"
},
"decorators": []
},
{
- "$id": "163",
+ "$id": "164",
"kind": "enumvalue",
"name": "file",
"value": "file",
"valueType": {
- "$ref": "161"
+ "$ref": "162"
},
"enumType": {
- "$ref": "160"
+ "$ref": "161"
},
"decorators": []
},
{
- "$id": "164",
+ "$id": "165",
"kind": "enumvalue",
"name": "input_audio",
"value": "input_audio",
"valueType": {
- "$ref": "161"
+ "$ref": "162"
},
"enumType": {
- "$ref": "160"
+ "$ref": "161"
},
"decorators": []
},
{
- "$id": "165",
+ "$id": "166",
"kind": "enumvalue",
"name": "image_url",
"value": "image_url",
"valueType": {
- "$ref": "161"
+ "$ref": "162"
},
"enumType": {
- "$ref": "160"
+ "$ref": "161"
},
"decorators": []
},
{
- "$id": "166",
+ "$id": "167",
"kind": "enumvalue",
"name": "refusal",
"value": "refusal",
"valueType": {
- "$ref": "161"
+ "$ref": "162"
},
"enumType": {
- "$ref": "160"
+ "$ref": "161"
},
"decorators": []
}
@@ -2026,12 +2031,12 @@
"decorators": []
},
{
- "$id": "167",
+ "$id": "168",
"kind": "enum",
"name": "ChatCompletionRequestMessageContentPartImageImageUrlDetail",
"crossLanguageDefinitionId": "OpenAI.ChatCompletionRequestMessageContentPartImage.image_url.detail.anonymous",
"valueType": {
- "$id": "168",
+ "$id": "169",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2039,41 +2044,41 @@
},
"values": [
{
- "$id": "169",
+ "$id": "170",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "168"
+ "$ref": "169"
},
"enumType": {
- "$ref": "167"
+ "$ref": "168"
},
"decorators": []
},
{
- "$id": "170",
+ "$id": "171",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "168"
+ "$ref": "169"
},
"enumType": {
- "$ref": "167"
+ "$ref": "168"
},
"decorators": []
},
{
- "$id": "171",
+ "$id": "172",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "168"
+ "$ref": "169"
},
"enumType": {
- "$ref": "167"
+ "$ref": "168"
},
"decorators": []
}
@@ -2085,12 +2090,12 @@
"decorators": []
},
{
- "$id": "172",
+ "$id": "173",
"kind": "enum",
"name": "ChatCompletionRequestMessageContentPartAudioInputAudioFormat",
"crossLanguageDefinitionId": "OpenAI.ChatCompletionRequestMessageContentPartAudio.input_audio.format.anonymous",
"valueType": {
- "$id": "173",
+ "$id": "174",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2098,28 +2103,28 @@
},
"values": [
{
- "$id": "174",
+ "$id": "175",
"kind": "enumvalue",
"name": "wav",
"value": "wav",
"valueType": {
- "$ref": "173"
+ "$ref": "174"
},
"enumType": {
- "$ref": "172"
+ "$ref": "173"
},
"decorators": []
},
{
- "$id": "175",
+ "$id": "176",
"kind": "enumvalue",
"name": "mp3",
"value": "mp3",
"valueType": {
- "$ref": "173"
+ "$ref": "174"
},
"enumType": {
- "$ref": "172"
+ "$ref": "173"
},
"decorators": []
}
@@ -2131,12 +2136,12 @@
"decorators": []
},
{
- "$id": "176",
+ "$id": "177",
"kind": "enum",
"name": "ModelIdsShared",
"crossLanguageDefinitionId": "OpenAI.ModelIdsShared",
"valueType": {
- "$id": "177",
+ "$id": "178",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2144,717 +2149,717 @@
},
"values": [
{
- "$id": "178",
+ "$id": "179",
"kind": "enumvalue",
"name": "gpt-4.1",
"value": "gpt-4.1",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "179",
+ "$id": "180",
"kind": "enumvalue",
"name": "gpt-4.1-mini",
"value": "gpt-4.1-mini",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "180",
+ "$id": "181",
"kind": "enumvalue",
"name": "gpt-4.1-nano",
"value": "gpt-4.1-nano",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "181",
+ "$id": "182",
"kind": "enumvalue",
"name": "gpt-4.1-2025-04-14",
"value": "gpt-4.1-2025-04-14",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "182",
+ "$id": "183",
"kind": "enumvalue",
"name": "gpt-4.1-mini-2025-04-14",
"value": "gpt-4.1-mini-2025-04-14",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "183",
+ "$id": "184",
"kind": "enumvalue",
"name": "gpt-4.1-nano-2025-04-14",
"value": "gpt-4.1-nano-2025-04-14",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "184",
+ "$id": "185",
"kind": "enumvalue",
"name": "o4-mini",
"value": "o4-mini",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "185",
+ "$id": "186",
"kind": "enumvalue",
"name": "o4-mini-2025-04-16",
"value": "o4-mini-2025-04-16",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "186",
+ "$id": "187",
"kind": "enumvalue",
"name": "o3",
"value": "o3",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "187",
+ "$id": "188",
"kind": "enumvalue",
"name": "o3-2025-04-16",
"value": "o3-2025-04-16",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "188",
+ "$id": "189",
"kind": "enumvalue",
"name": "o3-mini",
"value": "o3-mini",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "189",
+ "$id": "190",
"kind": "enumvalue",
"name": "o3-mini-2025-01-31",
"value": "o3-mini-2025-01-31",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "190",
+ "$id": "191",
"kind": "enumvalue",
"name": "o1",
"value": "o1",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "191",
+ "$id": "192",
"kind": "enumvalue",
"name": "o1-2024-12-17",
"value": "o1-2024-12-17",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "192",
+ "$id": "193",
"kind": "enumvalue",
"name": "o1-preview",
"value": "o1-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "193",
+ "$id": "194",
"kind": "enumvalue",
"name": "o1-preview-2024-09-12",
"value": "o1-preview-2024-09-12",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "194",
+ "$id": "195",
"kind": "enumvalue",
"name": "o1-mini",
"value": "o1-mini",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "195",
+ "$id": "196",
"kind": "enumvalue",
"name": "o1-mini-2024-09-12",
"value": "o1-mini-2024-09-12",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "196",
+ "$id": "197",
"kind": "enumvalue",
"name": "gpt-4o",
"value": "gpt-4o",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "197",
+ "$id": "198",
"kind": "enumvalue",
"name": "gpt-4o-2024-11-20",
"value": "gpt-4o-2024-11-20",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "198",
+ "$id": "199",
"kind": "enumvalue",
"name": "gpt-4o-2024-08-06",
"value": "gpt-4o-2024-08-06",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "199",
+ "$id": "200",
"kind": "enumvalue",
"name": "gpt-4o-2024-05-13",
"value": "gpt-4o-2024-05-13",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "200",
+ "$id": "201",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview",
"value": "gpt-4o-audio-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "201",
+ "$id": "202",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview-2024-10-01",
"value": "gpt-4o-audio-preview-2024-10-01",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "202",
+ "$id": "203",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview-2024-12-17",
"value": "gpt-4o-audio-preview-2024-12-17",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "203",
+ "$id": "204",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview-2025-06-03",
"value": "gpt-4o-audio-preview-2025-06-03",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "204",
+ "$id": "205",
"kind": "enumvalue",
"name": "gpt-4o-mini-audio-preview",
"value": "gpt-4o-mini-audio-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "205",
+ "$id": "206",
"kind": "enumvalue",
"name": "gpt-4o-mini-audio-preview-2024-12-17",
"value": "gpt-4o-mini-audio-preview-2024-12-17",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "206",
+ "$id": "207",
"kind": "enumvalue",
"name": "gpt-4o-search-preview",
"value": "gpt-4o-search-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "207",
+ "$id": "208",
"kind": "enumvalue",
"name": "gpt-4o-mini-search-preview",
"value": "gpt-4o-mini-search-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "208",
+ "$id": "209",
"kind": "enumvalue",
"name": "gpt-4o-search-preview-2025-03-11",
"value": "gpt-4o-search-preview-2025-03-11",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "209",
+ "$id": "210",
"kind": "enumvalue",
"name": "gpt-4o-mini-search-preview-2025-03-11",
"value": "gpt-4o-mini-search-preview-2025-03-11",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "210",
+ "$id": "211",
"kind": "enumvalue",
"name": "chatgpt-4o-latest",
"value": "chatgpt-4o-latest",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "211",
+ "$id": "212",
"kind": "enumvalue",
"name": "codex-mini-latest",
"value": "codex-mini-latest",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "212",
+ "$id": "213",
"kind": "enumvalue",
"name": "gpt-4o-mini",
"value": "gpt-4o-mini",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "213",
+ "$id": "214",
"kind": "enumvalue",
"name": "gpt-4o-mini-2024-07-18",
"value": "gpt-4o-mini-2024-07-18",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "214",
+ "$id": "215",
"kind": "enumvalue",
"name": "gpt-4-turbo",
"value": "gpt-4-turbo",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "215",
+ "$id": "216",
"kind": "enumvalue",
"name": "gpt-4-turbo-2024-04-09",
"value": "gpt-4-turbo-2024-04-09",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "216",
+ "$id": "217",
"kind": "enumvalue",
"name": "gpt-4-0125-preview",
"value": "gpt-4-0125-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "217",
+ "$id": "218",
"kind": "enumvalue",
"name": "gpt-4-turbo-preview",
"value": "gpt-4-turbo-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "218",
+ "$id": "219",
"kind": "enumvalue",
"name": "gpt-4-1106-preview",
"value": "gpt-4-1106-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "219",
+ "$id": "220",
"kind": "enumvalue",
"name": "gpt-4-vision-preview",
"value": "gpt-4-vision-preview",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "220",
+ "$id": "221",
"kind": "enumvalue",
"name": "gpt-4",
"value": "gpt-4",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "221",
+ "$id": "222",
"kind": "enumvalue",
"name": "gpt-4-0314",
"value": "gpt-4-0314",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "222",
+ "$id": "223",
"kind": "enumvalue",
"name": "gpt-4-0613",
"value": "gpt-4-0613",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "223",
+ "$id": "224",
"kind": "enumvalue",
"name": "gpt-4-32k",
"value": "gpt-4-32k",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "224",
+ "$id": "225",
"kind": "enumvalue",
"name": "gpt-4-32k-0314",
"value": "gpt-4-32k-0314",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "225",
+ "$id": "226",
"kind": "enumvalue",
"name": "gpt-4-32k-0613",
"value": "gpt-4-32k-0613",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "226",
+ "$id": "227",
"kind": "enumvalue",
"name": "gpt-3.5-turbo",
"value": "gpt-3.5-turbo",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "227",
+ "$id": "228",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-16k",
"value": "gpt-3.5-turbo-16k",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "228",
+ "$id": "229",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0301",
"value": "gpt-3.5-turbo-0301",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "229",
+ "$id": "230",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0613",
"value": "gpt-3.5-turbo-0613",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "230",
+ "$id": "231",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-1106",
"value": "gpt-3.5-turbo-1106",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "231",
+ "$id": "232",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0125",
"value": "gpt-3.5-turbo-0125",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
},
{
- "$id": "232",
+ "$id": "233",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-16k-0613",
"value": "gpt-3.5-turbo-16k-0613",
"valueType": {
- "$ref": "177"
+ "$ref": "178"
},
"enumType": {
- "$ref": "176"
+ "$ref": "177"
},
"decorators": []
}
@@ -2866,12 +2871,12 @@
"decorators": []
},
{
- "$id": "233",
+ "$id": "234",
"kind": "enum",
"name": "CreateChatCompletionRequestModality",
"crossLanguageDefinitionId": "OpenAI.CreateChatCompletionRequest.modality.anonymous",
"valueType": {
- "$id": "234",
+ "$id": "235",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2879,28 +2884,28 @@
},
"values": [
{
- "$id": "235",
+ "$id": "236",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "234"
+ "$ref": "235"
},
"enumType": {
- "$ref": "233"
+ "$ref": "234"
},
"decorators": []
},
{
- "$id": "236",
+ "$id": "237",
"kind": "enumvalue",
"name": "audio",
"value": "audio",
"valueType": {
- "$ref": "234"
+ "$ref": "235"
},
"enumType": {
- "$ref": "233"
+ "$ref": "234"
},
"decorators": []
}
@@ -2912,12 +2917,12 @@
"decorators": []
},
{
- "$id": "237",
+ "$id": "238",
"kind": "enum",
"name": "WebSearchContextSize",
"crossLanguageDefinitionId": "OpenAI.WebSearchContextSize",
"valueType": {
- "$id": "238",
+ "$id": "239",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2925,41 +2930,41 @@
},
"values": [
{
- "$id": "239",
+ "$id": "240",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "238"
+ "$ref": "239"
},
"enumType": {
- "$ref": "237"
+ "$ref": "238"
},
"decorators": []
},
{
- "$id": "240",
+ "$id": "241",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "238"
+ "$ref": "239"
},
"enumType": {
- "$ref": "237"
+ "$ref": "238"
},
"decorators": []
},
{
- "$id": "241",
+ "$id": "242",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "238"
+ "$ref": "239"
},
"enumType": {
- "$ref": "237"
+ "$ref": "238"
},
"decorators": []
}
@@ -2972,12 +2977,12 @@
"decorators": []
},
{
- "$id": "242",
+ "$id": "243",
"kind": "enum",
"name": "CreateChatCompletionRequestAudioFormat",
"crossLanguageDefinitionId": "OpenAI.CreateChatCompletionRequest.audio.format.anonymous",
"valueType": {
- "$id": "243",
+ "$id": "244",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2985,80 +2990,80 @@
},
"values": [
{
- "$id": "244",
+ "$id": "245",
"kind": "enumvalue",
"name": "wav",
"value": "wav",
"valueType": {
- "$ref": "243"
+ "$ref": "244"
},
"enumType": {
- "$ref": "242"
+ "$ref": "243"
},
"decorators": []
},
{
- "$id": "245",
+ "$id": "246",
"kind": "enumvalue",
"name": "aac",
"value": "aac",
"valueType": {
- "$ref": "243"
+ "$ref": "244"
},
"enumType": {
- "$ref": "242"
+ "$ref": "243"
},
"decorators": []
},
{
- "$id": "246",
+ "$id": "247",
"kind": "enumvalue",
"name": "mp3",
"value": "mp3",
"valueType": {
- "$ref": "243"
+ "$ref": "244"
},
"enumType": {
- "$ref": "242"
+ "$ref": "243"
},
"decorators": []
},
{
- "$id": "247",
+ "$id": "248",
"kind": "enumvalue",
"name": "flac",
"value": "flac",
"valueType": {
- "$ref": "243"
+ "$ref": "244"
},
"enumType": {
- "$ref": "242"
+ "$ref": "243"
},
"decorators": []
},
{
- "$id": "248",
+ "$id": "249",
"kind": "enumvalue",
"name": "opus",
"value": "opus",
"valueType": {
- "$ref": "243"
+ "$ref": "244"
},
"enumType": {
- "$ref": "242"
+ "$ref": "243"
},
"decorators": []
},
{
- "$id": "249",
+ "$id": "250",
"kind": "enumvalue",
"name": "pcm16",
"value": "pcm16",
"valueType": {
- "$ref": "243"
+ "$ref": "244"
},
"enumType": {
- "$ref": "242"
+ "$ref": "243"
},
"decorators": []
}
@@ -3070,12 +3075,12 @@
"decorators": []
},
{
- "$id": "250",
+ "$id": "251",
"kind": "enum",
"name": "ChatOutputPredictionType",
"crossLanguageDefinitionId": "OpenAI.ChatOutputPredictionType",
"valueType": {
- "$id": "251",
+ "$id": "252",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3083,15 +3088,15 @@
},
"values": [
{
- "$id": "252",
+ "$id": "253",
"kind": "enumvalue",
"name": "static_content",
"value": "content",
"valueType": {
- "$ref": "251"
+ "$ref": "252"
},
"enumType": {
- "$ref": "250"
+ "$ref": "251"
},
"decorators": []
}
@@ -3103,45 +3108,12 @@
"decorators": []
},
{
- "$id": "253",
- "kind": "enum",
- "name": "ChatToolKind",
- "crossLanguageDefinitionId": "OpenAI.ChatToolKind",
- "valueType": {
- "$id": "254",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "values": [
- {
- "$id": "255",
- "kind": "enumvalue",
- "name": "function",
- "value": "function",
- "valueType": {
- "$ref": "254"
- },
- "enumType": {
- "$ref": "253"
- },
- "decorators": []
- }
- ],
- "namespace": "OpenAI",
- "isFixed": true,
- "isFlags": false,
- "usage": "Input,Json",
- "decorators": []
- },
- {
- "$id": "256",
+ "$id": "254",
"kind": "enum",
"name": "CreateChatCompletionRequestToolChoice",
"crossLanguageDefinitionId": "OpenAI.CreateChatCompletionRequest.tool_choice.anonymous",
"valueType": {
- "$id": "257",
+ "$id": "255",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3149,41 +3121,41 @@
},
"values": [
{
- "$id": "258",
+ "$id": "256",
"kind": "enumvalue",
"name": "none",
"value": "none",
"valueType": {
- "$ref": "257"
+ "$ref": "255"
},
"enumType": {
- "$ref": "256"
+ "$ref": "254"
},
"decorators": []
},
{
- "$id": "259",
+ "$id": "257",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "257"
+ "$ref": "255"
},
"enumType": {
- "$ref": "256"
+ "$ref": "254"
},
"decorators": []
},
{
- "$id": "260",
+ "$id": "258",
"kind": "enumvalue",
"name": "required",
"value": "required",
"valueType": {
- "$ref": "257"
+ "$ref": "255"
},
"enumType": {
- "$ref": "256"
+ "$ref": "254"
},
"decorators": []
}
@@ -3195,12 +3167,50 @@
"decorators": []
},
{
- "$id": "261",
+ "$id": "259",
+ "kind": "enum",
+ "name": "ChatCompletionMessageToolCallChunkType",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "260",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "261",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$id": "262",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "259"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "263",
"kind": "enum",
"name": "CreateChatCompletionStreamResponseChoiceFinishReason",
"crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choice.finish_reason.anonymous",
"valueType": {
- "$id": "262",
+ "$id": "264",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3208,67 +3218,67 @@
},
"values": [
{
- "$id": "263",
+ "$id": "265",
"kind": "enumvalue",
"name": "stop",
"value": "stop",
"valueType": {
- "$ref": "262"
+ "$ref": "264"
},
"enumType": {
- "$ref": "261"
+ "$ref": "263"
},
"decorators": []
},
{
- "$id": "264",
+ "$id": "266",
"kind": "enumvalue",
"name": "length",
"value": "length",
"valueType": {
- "$ref": "262"
+ "$ref": "264"
},
"enumType": {
- "$ref": "261"
+ "$ref": "263"
},
"decorators": []
},
{
- "$id": "265",
+ "$id": "267",
"kind": "enumvalue",
"name": "tool_calls",
"value": "tool_calls",
"valueType": {
- "$ref": "262"
+ "$ref": "264"
},
"enumType": {
- "$ref": "261"
+ "$ref": "263"
},
"decorators": []
},
{
- "$id": "266",
+ "$id": "268",
"kind": "enumvalue",
"name": "content_filter",
"value": "content_filter",
"valueType": {
- "$ref": "262"
+ "$ref": "264"
},
"enumType": {
- "$ref": "261"
+ "$ref": "263"
},
"decorators": []
},
{
- "$id": "267",
+ "$id": "269",
"kind": "enumvalue",
"name": "function_call",
"value": "function_call",
"valueType": {
- "$ref": "262"
+ "$ref": "264"
},
"enumType": {
- "$ref": "261"
+ "$ref": "263"
},
"decorators": []
}
@@ -3280,12 +3290,50 @@
"decorators": []
},
{
- "$id": "268",
+ "$id": "270",
+ "kind": "enum",
+ "name": "ContainerResourceExpiresAfterAnchor",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "271",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "272",
+ "kind": "enumvalue",
+ "name": "last_active_at",
+ "value": "last_active_at",
+ "valueType": {
+ "$id": "273",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "270"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "274",
"kind": "enum",
"name": "CreateEmbeddingRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.model.anonymous",
"valueType": {
- "$id": "269",
+ "$id": "275",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3293,41 +3341,41 @@
},
"values": [
{
- "$id": "270",
+ "$id": "276",
"kind": "enumvalue",
"name": "text-embedding-ada-002",
"value": "text-embedding-ada-002",
"valueType": {
- "$ref": "269"
+ "$ref": "275"
},
"enumType": {
- "$ref": "268"
+ "$ref": "274"
},
"decorators": []
},
{
- "$id": "271",
+ "$id": "277",
"kind": "enumvalue",
"name": "text-embedding-3-small",
"value": "text-embedding-3-small",
"valueType": {
- "$ref": "269"
+ "$ref": "275"
},
"enumType": {
- "$ref": "268"
+ "$ref": "274"
},
"decorators": []
},
{
- "$id": "272",
+ "$id": "278",
"kind": "enumvalue",
"name": "text-embedding-3-large",
"value": "text-embedding-3-large",
"valueType": {
- "$ref": "269"
+ "$ref": "275"
},
"enumType": {
- "$ref": "268"
+ "$ref": "274"
},
"decorators": []
}
@@ -3339,12 +3387,12 @@
"decorators": []
},
{
- "$id": "273",
+ "$id": "279",
"kind": "enum",
"name": "CreateEmbeddingRequestEncodingFormat",
"crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.encoding_format.anonymous",
"valueType": {
- "$id": "274",
+ "$id": "280",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3352,28 +3400,28 @@
},
"values": [
{
- "$id": "275",
+ "$id": "281",
"kind": "enumvalue",
"name": "float",
"value": "float",
"valueType": {
- "$ref": "274"
+ "$ref": "280"
},
"enumType": {
- "$ref": "273"
+ "$ref": "279"
},
"decorators": []
},
{
- "$id": "276",
+ "$id": "282",
"kind": "enumvalue",
"name": "base64",
"value": "base64",
"valueType": {
- "$ref": "274"
+ "$ref": "280"
},
"enumType": {
- "$ref": "273"
+ "$ref": "279"
},
"decorators": []
}
@@ -3385,12 +3433,12 @@
"decorators": []
},
{
- "$id": "277",
+ "$id": "283",
"kind": "enum",
"name": "OpenAIFilePurpose",
"crossLanguageDefinitionId": "OpenAI.OpenAIFile.purpose.anonymous",
"valueType": {
- "$id": "278",
+ "$id": "284",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3398,119 +3446,119 @@
},
"values": [
{
- "$id": "279",
+ "$id": "285",
"kind": "enumvalue",
"name": "assistants",
"value": "assistants",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "280",
+ "$id": "286",
"kind": "enumvalue",
"name": "assistants_output",
"value": "assistants_output",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "281",
+ "$id": "287",
"kind": "enumvalue",
"name": "batch",
"value": "batch",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "282",
+ "$id": "288",
"kind": "enumvalue",
"name": "batch_output",
"value": "batch_output",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "283",
+ "$id": "289",
"kind": "enumvalue",
"name": "fine-tune",
"value": "fine-tune",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "284",
+ "$id": "290",
"kind": "enumvalue",
"name": "fine-tune-results",
"value": "fine-tune-results",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "285",
+ "$id": "291",
"kind": "enumvalue",
"name": "vision",
"value": "vision",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "286",
+ "$id": "292",
"kind": "enumvalue",
"name": "user_data",
"value": "user_data",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
},
{
- "$id": "287",
+ "$id": "293",
"kind": "enumvalue",
"name": "evals",
"value": "evals",
"valueType": {
- "$ref": "278"
+ "$ref": "284"
},
"enumType": {
- "$ref": "277"
+ "$ref": "283"
},
"decorators": []
}
@@ -3522,12 +3570,12 @@
"decorators": []
},
{
- "$id": "288",
+ "$id": "294",
"kind": "enum",
"name": "OpenAIFileStatus",
"crossLanguageDefinitionId": "OpenAI.OpenAIFile.status.anonymous",
"valueType": {
- "$id": "289",
+ "$id": "295",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3535,41 +3583,41 @@
},
"values": [
{
- "$id": "290",
+ "$id": "296",
"kind": "enumvalue",
"name": "uploaded",
"value": "uploaded",
"valueType": {
- "$ref": "289"
+ "$ref": "295"
},
"enumType": {
- "$ref": "288"
+ "$ref": "294"
},
"decorators": []
},
{
- "$id": "291",
+ "$id": "297",
"kind": "enumvalue",
"name": "processed",
"value": "processed",
"valueType": {
- "$ref": "289"
+ "$ref": "295"
},
"enumType": {
- "$ref": "288"
+ "$ref": "294"
},
"decorators": []
},
{
- "$id": "292",
+ "$id": "298",
"kind": "enumvalue",
"name": "error",
"value": "error",
"valueType": {
- "$ref": "289"
+ "$ref": "295"
},
"enumType": {
- "$ref": "288"
+ "$ref": "294"
},
"decorators": []
}
@@ -3581,12 +3629,12 @@
"decorators": []
},
{
- "$id": "293",
+ "$id": "299",
"kind": "enum",
"name": "CreateFileRequestPurpose",
"crossLanguageDefinitionId": "OpenAI.CreateFileRequest.purpose.anonymous",
"valueType": {
- "$id": "294",
+ "$id": "300",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3594,80 +3642,80 @@
},
"values": [
{
- "$id": "295",
+ "$id": "301",
"kind": "enumvalue",
"name": "assistants",
"value": "assistants",
"valueType": {
- "$ref": "294"
+ "$ref": "300"
},
"enumType": {
- "$ref": "293"
+ "$ref": "299"
},
"decorators": []
},
{
- "$id": "296",
+ "$id": "302",
"kind": "enumvalue",
"name": "batch",
"value": "batch",
"valueType": {
- "$ref": "294"
+ "$ref": "300"
},
"enumType": {
- "$ref": "293"
+ "$ref": "299"
},
"decorators": []
},
{
- "$id": "297",
+ "$id": "303",
"kind": "enumvalue",
"name": "fine-tune",
"value": "fine-tune",
"valueType": {
- "$ref": "294"
+ "$ref": "300"
},
"enumType": {
- "$ref": "293"
+ "$ref": "299"
},
"decorators": []
},
{
- "$id": "298",
+ "$id": "304",
"kind": "enumvalue",
"name": "vision",
"value": "vision",
"valueType": {
- "$ref": "294"
+ "$ref": "300"
},
"enumType": {
- "$ref": "293"
+ "$ref": "299"
},
"decorators": []
},
{
- "$id": "299",
+ "$id": "305",
"kind": "enumvalue",
"name": "user_data",
"value": "user_data",
"valueType": {
- "$ref": "294"
+ "$ref": "300"
},
"enumType": {
- "$ref": "293"
+ "$ref": "299"
},
"decorators": []
},
{
- "$id": "300",
+ "$id": "306",
"kind": "enumvalue",
"name": "evals",
"value": "evals",
"valueType": {
- "$ref": "294"
+ "$ref": "300"
},
"enumType": {
- "$ref": "293"
+ "$ref": "299"
},
"decorators": []
}
@@ -3679,12 +3727,12 @@
"decorators": []
},
{
- "$id": "301",
+ "$id": "307",
"kind": "enum",
"name": "CreateFineTuningJobRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequest.model.anonymous",
"valueType": {
- "$id": "302",
+ "$id": "308",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3692,54 +3740,54 @@
},
"values": [
{
- "$id": "303",
+ "$id": "309",
"kind": "enumvalue",
"name": "babbage-002",
"value": "babbage-002",
"valueType": {
- "$ref": "302"
+ "$ref": "308"
},
"enumType": {
- "$ref": "301"
+ "$ref": "307"
},
"decorators": []
},
{
- "$id": "304",
+ "$id": "310",
"kind": "enumvalue",
"name": "davinci-002",
"value": "davinci-002",
"valueType": {
- "$ref": "302"
+ "$ref": "308"
},
"enumType": {
- "$ref": "301"
+ "$ref": "307"
},
"decorators": []
},
{
- "$id": "305",
+ "$id": "311",
"kind": "enumvalue",
"name": "gpt-3.5-turbo",
"value": "gpt-3.5-turbo",
"valueType": {
- "$ref": "302"
+ "$ref": "308"
},
"enumType": {
- "$ref": "301"
+ "$ref": "307"
},
"decorators": []
},
{
- "$id": "306",
+ "$id": "312",
"kind": "enumvalue",
"name": "gpt-4o-mini",
"value": "gpt-4o-mini",
"valueType": {
- "$ref": "302"
+ "$ref": "308"
},
"enumType": {
- "$ref": "301"
+ "$ref": "307"
},
"decorators": []
}
@@ -3751,12 +3799,12 @@
"decorators": []
},
{
- "$id": "307",
+ "$id": "313",
"kind": "enum",
"name": "CreateFineTuningJobRequestIntegrationType",
"crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestIntegration.type.anonymous",
"valueType": {
- "$id": "308",
+ "$id": "314",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3764,15 +3812,15 @@
},
"values": [
{
- "$id": "309",
+ "$id": "315",
"kind": "enumvalue",
"name": "wandb",
"value": "wandb",
"valueType": {
- "$ref": "308"
+ "$ref": "314"
},
"enumType": {
- "$ref": "307"
+ "$ref": "313"
},
"decorators": []
}
@@ -3784,12 +3832,12 @@
"decorators": []
},
{
- "$id": "310",
+ "$id": "316",
"kind": "enum",
"name": "FineTuneMethodType",
"crossLanguageDefinitionId": "OpenAI.FineTuneMethod.type.anonymous",
"valueType": {
- "$id": "311",
+ "$id": "317",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3797,41 +3845,41 @@
},
"values": [
{
- "$id": "312",
+ "$id": "318",
"kind": "enumvalue",
"name": "supervised",
"value": "supervised",
"valueType": {
- "$ref": "311"
+ "$ref": "317"
},
"enumType": {
- "$ref": "310"
+ "$ref": "316"
},
"decorators": []
},
{
- "$id": "313",
+ "$id": "319",
"kind": "enumvalue",
"name": "dpo",
"value": "dpo",
"valueType": {
- "$ref": "311"
+ "$ref": "317"
},
"enumType": {
- "$ref": "310"
+ "$ref": "316"
},
"decorators": []
},
{
- "$id": "314",
+ "$id": "320",
"kind": "enumvalue",
"name": "reinforcement",
"value": "reinforcement",
"valueType": {
- "$ref": "311"
+ "$ref": "317"
},
"enumType": {
- "$ref": "310"
+ "$ref": "316"
},
"decorators": []
}
@@ -3843,12 +3891,12 @@
"decorators": []
},
{
- "$id": "315",
+ "$id": "321",
"kind": "enum",
- "name": "GraderType",
- "crossLanguageDefinitionId": "OpenAI.GraderType",
+ "name": "GraderStringCheckOperation",
+ "crossLanguageDefinitionId": "OpenAI.GraderStringCheck.operation.anonymous",
"valueType": {
- "$id": "316",
+ "$id": "322",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3856,80 +3904,54 @@
},
"values": [
{
- "$id": "317",
- "kind": "enumvalue",
- "name": "string_check",
- "value": "string_check",
- "valueType": {
- "$ref": "316"
- },
- "enumType": {
- "$ref": "315"
- },
- "decorators": []
- },
- {
- "$id": "318",
- "kind": "enumvalue",
- "name": "text_similarity",
- "value": "text_similarity",
- "valueType": {
- "$ref": "316"
- },
- "enumType": {
- "$ref": "315"
- },
- "decorators": []
- },
- {
- "$id": "319",
+ "$id": "323",
"kind": "enumvalue",
- "name": "score_model",
- "value": "score_model",
+ "name": "eq",
+ "value": "eq",
"valueType": {
- "$ref": "316"
+ "$ref": "322"
},
"enumType": {
- "$ref": "315"
+ "$ref": "321"
},
"decorators": []
},
{
- "$id": "320",
+ "$id": "324",
"kind": "enumvalue",
- "name": "label_model",
- "value": "label_model",
+ "name": "ne",
+ "value": "ne",
"valueType": {
- "$ref": "316"
+ "$ref": "322"
},
"enumType": {
- "$ref": "315"
+ "$ref": "321"
},
"decorators": []
},
{
- "$id": "321",
+ "$id": "325",
"kind": "enumvalue",
- "name": "python",
- "value": "python",
+ "name": "like",
+ "value": "like",
"valueType": {
- "$ref": "316"
+ "$ref": "322"
},
"enumType": {
- "$ref": "315"
+ "$ref": "321"
},
"decorators": []
},
{
- "$id": "322",
+ "$id": "326",
"kind": "enumvalue",
- "name": "multi",
- "value": "multi",
+ "name": "ilike",
+ "value": "ilike",
"valueType": {
- "$ref": "316"
+ "$ref": "322"
},
"enumType": {
- "$ref": "315"
+ "$ref": "321"
},
"decorators": []
}
@@ -3941,12 +3963,12 @@
"decorators": []
},
{
- "$id": "323",
+ "$id": "327",
"kind": "enum",
- "name": "GraderStringCheckOperation",
- "crossLanguageDefinitionId": "OpenAI.GraderStringCheck.operation.anonymous",
+ "name": "GraderType",
+ "crossLanguageDefinitionId": "OpenAI.GraderType",
"valueType": {
- "$id": "324",
+ "$id": "328",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -3954,54 +3976,80 @@
},
"values": [
{
- "$id": "325",
+ "$id": "329",
"kind": "enumvalue",
- "name": "eq",
- "value": "eq",
+ "name": "string_check",
+ "value": "string_check",
"valueType": {
- "$ref": "324"
+ "$ref": "328"
},
"enumType": {
- "$ref": "323"
+ "$ref": "327"
},
"decorators": []
},
{
- "$id": "326",
+ "$id": "330",
"kind": "enumvalue",
- "name": "ne",
- "value": "ne",
+ "name": "text_similarity",
+ "value": "text_similarity",
"valueType": {
- "$ref": "324"
+ "$ref": "328"
},
"enumType": {
- "$ref": "323"
+ "$ref": "327"
},
"decorators": []
},
{
- "$id": "327",
+ "$id": "331",
"kind": "enumvalue",
- "name": "like",
- "value": "like",
+ "name": "score_model",
+ "value": "score_model",
"valueType": {
- "$ref": "324"
+ "$ref": "328"
},
"enumType": {
- "$ref": "323"
+ "$ref": "327"
},
"decorators": []
},
{
- "$id": "328",
+ "$id": "332",
"kind": "enumvalue",
- "name": "ilike",
- "value": "ilike",
+ "name": "label_model",
+ "value": "label_model",
+ "valueType": {
+ "$ref": "328"
+ },
+ "enumType": {
+ "$ref": "327"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "333",
+ "kind": "enumvalue",
+ "name": "python",
+ "value": "python",
"valueType": {
- "$ref": "324"
+ "$ref": "328"
},
"enumType": {
- "$ref": "323"
+ "$ref": "327"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "334",
+ "kind": "enumvalue",
+ "name": "multi",
+ "value": "multi",
+ "valueType": {
+ "$ref": "328"
+ },
+ "enumType": {
+ "$ref": "327"
},
"decorators": []
}
@@ -4013,12 +4061,12 @@
"decorators": []
},
{
- "$id": "329",
+ "$id": "335",
"kind": "enum",
"name": "GraderTextSimilarityEvaluationMetric",
"crossLanguageDefinitionId": "OpenAI.GraderTextSimilarity.evaluation_metric.anonymous",
"valueType": {
- "$id": "330",
+ "$id": "336",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4026,132 +4074,132 @@
},
"values": [
{
- "$id": "331",
+ "$id": "337",
"kind": "enumvalue",
"name": "fuzzy_match",
"value": "fuzzy_match",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "332",
+ "$id": "338",
"kind": "enumvalue",
"name": "bleu",
"value": "bleu",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "333",
+ "$id": "339",
"kind": "enumvalue",
"name": "gleu",
"value": "gleu",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "334",
+ "$id": "340",
"kind": "enumvalue",
"name": "meteor",
"value": "meteor",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "335",
+ "$id": "341",
"kind": "enumvalue",
"name": "rouge_1",
"value": "rouge_1",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "336",
+ "$id": "342",
"kind": "enumvalue",
"name": "rouge_2",
"value": "rouge_2",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "337",
+ "$id": "343",
"kind": "enumvalue",
"name": "rouge_3",
"value": "rouge_3",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "338",
+ "$id": "344",
"kind": "enumvalue",
"name": "rouge_4",
"value": "rouge_4",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "339",
+ "$id": "345",
"kind": "enumvalue",
"name": "rouge_5",
"value": "rouge_5",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
},
{
- "$id": "340",
+ "$id": "346",
"kind": "enumvalue",
"name": "rouge_l",
"value": "rouge_l",
"valueType": {
- "$ref": "330"
+ "$ref": "336"
},
"enumType": {
- "$ref": "329"
+ "$ref": "335"
},
"decorators": []
}
@@ -4163,12 +4211,12 @@
"decorators": []
},
{
- "$id": "341",
+ "$id": "347",
"kind": "enum",
"name": "EvalItemRole",
"crossLanguageDefinitionId": "OpenAI.EvalItem.role.anonymous",
"valueType": {
- "$id": "342",
+ "$id": "348",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4176,54 +4224,54 @@
},
"values": [
{
- "$id": "343",
+ "$id": "349",
"kind": "enumvalue",
"name": "user",
"value": "user",
"valueType": {
- "$ref": "342"
+ "$ref": "348"
},
"enumType": {
- "$ref": "341"
+ "$ref": "347"
},
"decorators": []
},
{
- "$id": "344",
+ "$id": "350",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "342"
+ "$ref": "348"
},
"enumType": {
- "$ref": "341"
+ "$ref": "347"
},
"decorators": []
},
{
- "$id": "345",
+ "$id": "351",
"kind": "enumvalue",
"name": "system",
"value": "system",
"valueType": {
- "$ref": "342"
+ "$ref": "348"
},
"enumType": {
- "$ref": "341"
+ "$ref": "347"
},
"decorators": []
},
{
- "$id": "346",
+ "$id": "352",
"kind": "enumvalue",
"name": "developer",
"value": "developer",
"valueType": {
- "$ref": "342"
+ "$ref": "348"
},
"enumType": {
- "$ref": "341"
+ "$ref": "347"
},
"decorators": []
}
@@ -4235,12 +4283,12 @@
"decorators": []
},
{
- "$id": "347",
+ "$id": "353",
"kind": "enum",
"name": "EvalItemContentType",
"crossLanguageDefinitionId": "OpenAI.EvalItemContentType",
"valueType": {
- "$id": "348",
+ "$id": "354",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4248,28 +4296,28 @@
},
"values": [
{
- "$id": "349",
+ "$id": "355",
"kind": "enumvalue",
"name": "input_text",
"value": "input_text",
"valueType": {
- "$ref": "348"
+ "$ref": "354"
},
"enumType": {
- "$ref": "347"
+ "$ref": "353"
},
"decorators": []
},
{
- "$id": "350",
+ "$id": "356",
"kind": "enumvalue",
"name": "output_text",
"value": "output_text",
"valueType": {
- "$ref": "348"
+ "$ref": "354"
},
"enumType": {
- "$ref": "347"
+ "$ref": "353"
},
"decorators": []
}
@@ -4281,12 +4329,50 @@
"decorators": []
},
{
- "$id": "351",
+ "$id": "357",
+ "kind": "enum",
+ "name": "EvalItemType",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "358",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "359",
+ "kind": "enumvalue",
+ "name": "message",
+ "value": "message",
+ "valueType": {
+ "$id": "360",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "357"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "361",
"kind": "enum",
"name": "FineTuneReinforcementHyperparametersReasoningEffort",
"crossLanguageDefinitionId": "OpenAI.FineTuneReinforcementHyperparameters.reasoning_effort.anonymous",
"valueType": {
- "$id": "352",
+ "$id": "362",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4294,54 +4380,54 @@
},
"values": [
{
- "$id": "353",
+ "$id": "363",
"kind": "enumvalue",
"name": "default",
"value": "default",
"valueType": {
- "$ref": "352"
+ "$ref": "362"
},
"enumType": {
- "$ref": "351"
+ "$ref": "361"
},
"decorators": []
},
{
- "$id": "354",
+ "$id": "364",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "352"
+ "$ref": "362"
},
"enumType": {
- "$ref": "351"
+ "$ref": "361"
},
"decorators": []
},
{
- "$id": "355",
+ "$id": "365",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "352"
+ "$ref": "362"
},
"enumType": {
- "$ref": "351"
+ "$ref": "361"
},
"decorators": []
},
{
- "$id": "356",
+ "$id": "366",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "352"
+ "$ref": "362"
},
"enumType": {
- "$ref": "351"
+ "$ref": "361"
},
"decorators": []
}
@@ -4353,12 +4439,12 @@
"decorators": []
},
{
- "$id": "357",
+ "$id": "367",
"kind": "enum",
"name": "FineTuningJobStatus",
"crossLanguageDefinitionId": "OpenAI.FineTuningJob.status.anonymous",
"valueType": {
- "$id": "358",
+ "$id": "368",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4366,80 +4452,80 @@
},
"values": [
{
- "$id": "359",
+ "$id": "369",
"kind": "enumvalue",
"name": "validating_files",
"value": "validating_files",
"valueType": {
- "$ref": "358"
+ "$ref": "368"
},
"enumType": {
- "$ref": "357"
+ "$ref": "367"
},
"decorators": []
},
{
- "$id": "360",
+ "$id": "370",
"kind": "enumvalue",
"name": "queued",
"value": "queued",
"valueType": {
- "$ref": "358"
+ "$ref": "368"
},
"enumType": {
- "$ref": "357"
+ "$ref": "367"
},
"decorators": []
},
{
- "$id": "361",
+ "$id": "371",
"kind": "enumvalue",
"name": "running",
"value": "running",
"valueType": {
- "$ref": "358"
+ "$ref": "368"
},
"enumType": {
- "$ref": "357"
+ "$ref": "367"
},
"decorators": []
},
{
- "$id": "362",
+ "$id": "372",
"kind": "enumvalue",
"name": "succeeded",
"value": "succeeded",
"valueType": {
- "$ref": "358"
+ "$ref": "368"
},
"enumType": {
- "$ref": "357"
+ "$ref": "367"
},
"decorators": []
},
{
- "$id": "363",
+ "$id": "373",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "358"
+ "$ref": "368"
},
"enumType": {
- "$ref": "357"
+ "$ref": "367"
},
"decorators": []
},
{
- "$id": "364",
+ "$id": "374",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "358"
+ "$ref": "368"
},
"enumType": {
- "$ref": "357"
+ "$ref": "367"
},
"decorators": []
}
@@ -4451,12 +4537,12 @@
"decorators": []
},
{
- "$id": "365",
+ "$id": "375",
"kind": "enum",
"name": "FineTuningIntegrationType",
"crossLanguageDefinitionId": "OpenAI.FineTuningIntegration.type.anonymous",
"valueType": {
- "$id": "366",
+ "$id": "376",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4464,15 +4550,15 @@
},
"values": [
{
- "$id": "367",
+ "$id": "377",
"kind": "enumvalue",
"name": "wandb",
"value": "wandb",
"valueType": {
- "$ref": "366"
+ "$ref": "376"
},
"enumType": {
- "$ref": "365"
+ "$ref": "375"
},
"decorators": []
}
@@ -4484,12 +4570,12 @@
"decorators": []
},
{
- "$id": "368",
+ "$id": "378",
"kind": "enum",
"name": "FineTuningJobEventLevel",
"crossLanguageDefinitionId": "OpenAI.FineTuningJobEvent.level.anonymous",
"valueType": {
- "$id": "369",
+ "$id": "379",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4497,41 +4583,41 @@
},
"values": [
{
- "$id": "370",
+ "$id": "380",
"kind": "enumvalue",
"name": "info",
"value": "info",
"valueType": {
- "$ref": "369"
+ "$ref": "379"
},
"enumType": {
- "$ref": "368"
+ "$ref": "378"
},
"decorators": []
},
{
- "$id": "371",
+ "$id": "381",
"kind": "enumvalue",
"name": "warn",
"value": "warn",
"valueType": {
- "$ref": "369"
+ "$ref": "379"
},
"enumType": {
- "$ref": "368"
+ "$ref": "378"
},
"decorators": []
},
{
- "$id": "372",
+ "$id": "382",
"kind": "enumvalue",
"name": "error",
"value": "error",
"valueType": {
- "$ref": "369"
+ "$ref": "379"
},
"enumType": {
- "$ref": "368"
+ "$ref": "378"
},
"decorators": []
}
@@ -4543,12 +4629,12 @@
"decorators": []
},
{
- "$id": "373",
+ "$id": "383",
"kind": "enum",
"name": "FineTuningJobEventType",
"crossLanguageDefinitionId": "OpenAI.FineTuningJobEvent.type.anonymous",
"valueType": {
- "$id": "374",
+ "$id": "384",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4556,28 +4642,28 @@
},
"values": [
{
- "$id": "375",
+ "$id": "385",
"kind": "enumvalue",
"name": "message",
"value": "message",
"valueType": {
- "$ref": "374"
+ "$ref": "384"
},
"enumType": {
- "$ref": "373"
+ "$ref": "383"
},
"decorators": []
},
{
- "$id": "376",
+ "$id": "386",
"kind": "enumvalue",
"name": "metrics",
"value": "metrics",
"valueType": {
- "$ref": "374"
+ "$ref": "384"
},
"enumType": {
- "$ref": "373"
+ "$ref": "383"
},
"decorators": []
}
@@ -4589,12 +4675,12 @@
"decorators": []
},
{
- "$id": "377",
+ "$id": "387",
"kind": "enum",
"name": "EvalDataSourceConfigType",
"crossLanguageDefinitionId": "OpenAI.EvalDataSourceConfigType",
"valueType": {
- "$id": "378",
+ "$id": "388",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4602,41 +4688,41 @@
},
"values": [
{
- "$id": "379",
+ "$id": "389",
"kind": "enumvalue",
"name": "custom",
"value": "custom",
"valueType": {
- "$ref": "378"
+ "$ref": "388"
},
"enumType": {
- "$ref": "377"
+ "$ref": "387"
},
"decorators": []
},
{
- "$id": "380",
+ "$id": "390",
"kind": "enumvalue",
"name": "logs",
"value": "logs",
"valueType": {
- "$ref": "378"
+ "$ref": "388"
},
"enumType": {
- "$ref": "377"
+ "$ref": "387"
},
"decorators": []
},
{
- "$id": "381",
+ "$id": "391",
"kind": "enumvalue",
"name": "stored_completions",
"value": "stored_completions",
"valueType": {
- "$ref": "378"
+ "$ref": "388"
},
"enumType": {
- "$ref": "377"
+ "$ref": "387"
},
"decorators": []
}
@@ -4648,12 +4734,12 @@
"decorators": []
},
{
- "$id": "382",
+ "$id": "392",
"kind": "enum",
"name": "EvalRunDataSourceType",
"crossLanguageDefinitionId": "OpenAI.EvalRunDataSourceType",
"valueType": {
- "$id": "383",
+ "$id": "393",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4661,41 +4747,41 @@
},
"values": [
{
- "$id": "384",
+ "$id": "394",
"kind": "enumvalue",
"name": "jsonl",
"value": "jsonl",
"valueType": {
- "$ref": "383"
+ "$ref": "393"
},
"enumType": {
- "$ref": "382"
+ "$ref": "392"
},
"decorators": []
},
{
- "$id": "385",
+ "$id": "395",
"kind": "enumvalue",
"name": "completions",
"value": "completions",
"valueType": {
- "$ref": "383"
+ "$ref": "393"
},
"enumType": {
- "$ref": "382"
+ "$ref": "392"
},
"decorators": []
},
{
- "$id": "386",
+ "$id": "396",
"kind": "enumvalue",
"name": "responses",
"value": "responses",
"valueType": {
- "$ref": "383"
+ "$ref": "393"
},
"enumType": {
- "$ref": "382"
+ "$ref": "392"
},
"decorators": []
}
@@ -4707,12 +4793,12 @@
"decorators": []
},
{
- "$id": "387",
+ "$id": "397",
"kind": "enum",
"name": "EvalRunDataContentSourceType",
"crossLanguageDefinitionId": "OpenAI.EvalRunDataContentSourceType",
"valueType": {
- "$id": "388",
+ "$id": "398",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4720,54 +4806,54 @@
},
"values": [
{
- "$id": "389",
+ "$id": "399",
"kind": "enumvalue",
"name": "file_id",
"value": "file_id",
"valueType": {
- "$ref": "388"
+ "$ref": "398"
},
"enumType": {
- "$ref": "387"
+ "$ref": "397"
},
"decorators": []
},
{
- "$id": "390",
+ "$id": "400",
"kind": "enumvalue",
"name": "file_content",
"value": "file_content",
"valueType": {
- "$ref": "388"
+ "$ref": "398"
},
"enumType": {
- "$ref": "387"
+ "$ref": "397"
},
"decorators": []
},
{
- "$id": "391",
+ "$id": "401",
"kind": "enumvalue",
"name": "stored_completions",
"value": "stored_completions",
"valueType": {
- "$ref": "388"
+ "$ref": "398"
},
"enumType": {
- "$ref": "387"
+ "$ref": "397"
},
"decorators": []
},
{
- "$id": "392",
+ "$id": "402",
"kind": "enumvalue",
"name": "responses",
"value": "responses",
"valueType": {
- "$ref": "388"
+ "$ref": "398"
},
"enumType": {
- "$ref": "387"
+ "$ref": "397"
},
"decorators": []
}
@@ -4779,12 +4865,12 @@
"decorators": []
},
{
- "$id": "393",
+ "$id": "403",
"kind": "enum",
"name": "ResponseTextFormatConfigurationType",
"crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationType",
"valueType": {
- "$id": "394",
+ "$id": "404",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4792,41 +4878,41 @@
},
"values": [
{
- "$id": "395",
+ "$id": "405",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "394"
+ "$ref": "404"
},
"enumType": {
- "$ref": "393"
+ "$ref": "403"
},
"decorators": []
},
{
- "$id": "396",
+ "$id": "406",
"kind": "enumvalue",
"name": "json_schema",
"value": "json_schema",
"valueType": {
- "$ref": "394"
+ "$ref": "404"
},
"enumType": {
- "$ref": "393"
+ "$ref": "403"
},
"decorators": []
},
{
- "$id": "397",
+ "$id": "407",
"kind": "enumvalue",
"name": "json_object",
"value": "json_object",
"valueType": {
- "$ref": "394"
+ "$ref": "404"
},
"enumType": {
- "$ref": "393"
+ "$ref": "403"
},
"decorators": []
}
@@ -4839,12 +4925,12 @@
"decorators": []
},
{
- "$id": "398",
+ "$id": "408",
"kind": "enum",
"name": "ToolType",
"crossLanguageDefinitionId": "OpenAI.ToolType",
"valueType": {
- "$id": "399",
+ "$id": "409",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4852,106 +4938,106 @@
},
"values": [
{
- "$id": "400",
+ "$id": "410",
"kind": "enumvalue",
"name": "file_search",
"value": "file_search",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
},
{
- "$id": "401",
+ "$id": "411",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
},
{
- "$id": "402",
+ "$id": "412",
"kind": "enumvalue",
"name": "computer_use_preview",
"value": "computer_use_preview",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
},
{
- "$id": "403",
+ "$id": "413",
"kind": "enumvalue",
"name": "web_search_preview",
"value": "web_search_preview",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
},
{
- "$id": "404",
+ "$id": "414",
"kind": "enumvalue",
"name": "mcp",
"value": "mcp",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
},
{
- "$id": "405",
+ "$id": "415",
"kind": "enumvalue",
"name": "code_interpreter",
"value": "code_interpreter",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
},
{
- "$id": "406",
+ "$id": "416",
"kind": "enumvalue",
"name": "image_generation",
"value": "image_generation",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
},
{
- "$id": "407",
+ "$id": "417",
"kind": "enumvalue",
"name": "local_shell",
"value": "local_shell",
"valueType": {
- "$ref": "399"
+ "$ref": "409"
},
"enumType": {
- "$ref": "398"
+ "$ref": "408"
},
"decorators": []
}
@@ -4964,12 +5050,12 @@
"decorators": []
},
{
- "$id": "408",
+ "$id": "418",
"kind": "enum",
"name": "RankingOptionsRanker",
"crossLanguageDefinitionId": "OpenAI.RankingOptions.ranker.anonymous",
"valueType": {
- "$id": "409",
+ "$id": "419",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -4977,28 +5063,28 @@
},
"values": [
{
- "$id": "410",
+ "$id": "420",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "409"
+ "$ref": "419"
},
"enumType": {
- "$ref": "408"
+ "$ref": "418"
},
"decorators": []
},
{
- "$id": "411",
+ "$id": "421",
"kind": "enumvalue",
"name": "default-2024-11-15",
"value": "default-2024-11-15",
"valueType": {
- "$ref": "409"
+ "$ref": "419"
},
"enumType": {
- "$ref": "408"
+ "$ref": "418"
},
"decorators": []
}
@@ -5010,12 +5096,12 @@
"decorators": []
},
{
- "$id": "412",
+ "$id": "422",
"kind": "enum",
"name": "ComparisonFilterType",
"crossLanguageDefinitionId": "OpenAI.ComparisonFilter.type.anonymous",
"valueType": {
- "$id": "413",
+ "$id": "423",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5023,80 +5109,80 @@
},
"values": [
{
- "$id": "414",
+ "$id": "424",
"kind": "enumvalue",
"name": "eq",
"value": "eq",
"valueType": {
- "$ref": "413"
+ "$ref": "423"
},
"enumType": {
- "$ref": "412"
+ "$ref": "422"
},
"decorators": []
},
{
- "$id": "415",
+ "$id": "425",
"kind": "enumvalue",
"name": "ne",
"value": "ne",
"valueType": {
- "$ref": "413"
+ "$ref": "423"
},
"enumType": {
- "$ref": "412"
+ "$ref": "422"
},
"decorators": []
},
{
- "$id": "416",
+ "$id": "426",
"kind": "enumvalue",
"name": "gt",
"value": "gt",
"valueType": {
- "$ref": "413"
+ "$ref": "423"
},
"enumType": {
- "$ref": "412"
+ "$ref": "422"
},
"decorators": []
},
{
- "$id": "417",
+ "$id": "427",
"kind": "enumvalue",
"name": "gte",
"value": "gte",
"valueType": {
- "$ref": "413"
+ "$ref": "423"
},
"enumType": {
- "$ref": "412"
+ "$ref": "422"
},
"decorators": []
},
{
- "$id": "418",
+ "$id": "428",
"kind": "enumvalue",
"name": "lt",
"value": "lt",
"valueType": {
- "$ref": "413"
+ "$ref": "423"
},
"enumType": {
- "$ref": "412"
+ "$ref": "422"
},
"decorators": []
},
{
- "$id": "419",
+ "$id": "429",
"kind": "enumvalue",
"name": "lte",
"value": "lte",
"valueType": {
- "$ref": "413"
+ "$ref": "423"
},
"enumType": {
- "$ref": "412"
+ "$ref": "422"
},
"decorators": []
}
@@ -5108,12 +5194,12 @@
"decorators": []
},
{
- "$id": "420",
+ "$id": "430",
"kind": "enum",
"name": "CompoundFilterType",
"crossLanguageDefinitionId": "OpenAI.CompoundFilter.type.anonymous",
"valueType": {
- "$id": "421",
+ "$id": "431",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5121,28 +5207,28 @@
},
"values": [
{
- "$id": "422",
+ "$id": "432",
"kind": "enumvalue",
"name": "and",
"value": "and",
"valueType": {
- "$ref": "421"
+ "$ref": "431"
},
"enumType": {
- "$ref": "420"
+ "$ref": "430"
},
"decorators": []
},
{
- "$id": "423",
+ "$id": "433",
"kind": "enumvalue",
"name": "or",
"value": "or",
"valueType": {
- "$ref": "421"
+ "$ref": "431"
},
"enumType": {
- "$ref": "420"
+ "$ref": "430"
},
"decorators": []
}
@@ -5154,12 +5240,12 @@
"decorators": []
},
{
- "$id": "424",
+ "$id": "434",
"kind": "enum",
"name": "ComputerUsePreviewToolEnvironment",
"crossLanguageDefinitionId": "OpenAI.ComputerUsePreviewTool.environment.anonymous",
"valueType": {
- "$id": "425",
+ "$id": "435",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5167,67 +5253,67 @@
},
"values": [
{
- "$id": "426",
+ "$id": "436",
"kind": "enumvalue",
"name": "windows",
"value": "windows",
"valueType": {
- "$ref": "425"
+ "$ref": "435"
},
"enumType": {
- "$ref": "424"
+ "$ref": "434"
},
"decorators": []
},
{
- "$id": "427",
+ "$id": "437",
"kind": "enumvalue",
"name": "mac",
"value": "mac",
"valueType": {
- "$ref": "425"
+ "$ref": "435"
},
"enumType": {
- "$ref": "424"
+ "$ref": "434"
},
"decorators": []
},
{
- "$id": "428",
+ "$id": "438",
"kind": "enumvalue",
"name": "linux",
"value": "linux",
"valueType": {
- "$ref": "425"
+ "$ref": "435"
},
"enumType": {
- "$ref": "424"
+ "$ref": "434"
},
"decorators": []
},
{
- "$id": "429",
+ "$id": "439",
"kind": "enumvalue",
"name": "ubuntu",
"value": "ubuntu",
"valueType": {
- "$ref": "425"
+ "$ref": "435"
},
"enumType": {
- "$ref": "424"
+ "$ref": "434"
},
"decorators": []
},
{
- "$id": "430",
+ "$id": "440",
"kind": "enumvalue",
"name": "browser",
"value": "browser",
"valueType": {
- "$ref": "425"
+ "$ref": "435"
},
"enumType": {
- "$ref": "424"
+ "$ref": "434"
},
"decorators": []
}
@@ -5239,12 +5325,12 @@
"decorators": []
},
{
- "$id": "431",
+ "$id": "441",
"kind": "enum",
"name": "LocationType",
"crossLanguageDefinitionId": "OpenAI.LocationType",
"valueType": {
- "$id": "432",
+ "$id": "442",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5252,15 +5338,15 @@
},
"values": [
{
- "$id": "433",
+ "$id": "443",
"kind": "enumvalue",
"name": "approximate",
"value": "approximate",
"valueType": {
- "$ref": "432"
+ "$ref": "442"
},
"enumType": {
- "$ref": "431"
+ "$ref": "441"
},
"decorators": []
}
@@ -5272,12 +5358,12 @@
"decorators": []
},
{
- "$id": "434",
+ "$id": "444",
"kind": "enum",
"name": "WebSearchPreviewToolSearchContextSize",
"crossLanguageDefinitionId": "OpenAI.WebSearchPreviewTool.search_context_size.anonymous",
"valueType": {
- "$id": "435",
+ "$id": "445",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5285,41 +5371,41 @@
},
"values": [
{
- "$id": "436",
+ "$id": "446",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "435"
+ "$ref": "445"
},
"enumType": {
- "$ref": "434"
+ "$ref": "444"
},
"decorators": []
},
{
- "$id": "437",
+ "$id": "447",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "435"
+ "$ref": "445"
},
"enumType": {
- "$ref": "434"
+ "$ref": "444"
},
"decorators": []
},
{
- "$id": "438",
+ "$id": "448",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "435"
+ "$ref": "445"
},
"enumType": {
- "$ref": "434"
+ "$ref": "444"
},
"decorators": []
}
@@ -5331,12 +5417,12 @@
"decorators": []
},
{
- "$id": "439",
+ "$id": "449",
"kind": "enum",
"name": "CodeInterpreterContainerConfigurationType",
"crossLanguageDefinitionId": "OpenAI.CodeInterpreterContainerConfigurationType",
"valueType": {
- "$id": "440",
+ "$id": "450",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5344,15 +5430,15 @@
},
"values": [
{
- "$id": "441",
+ "$id": "451",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "440"
+ "$ref": "450"
},
"enumType": {
- "$ref": "439"
+ "$ref": "449"
},
"decorators": []
}
@@ -5364,12 +5450,50 @@
"decorators": []
},
{
- "$id": "442",
+ "$id": "452",
+ "kind": "enum",
+ "name": "ImageGenToolModel",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "453",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "454",
+ "kind": "enumvalue",
+ "name": "gpt-image-1",
+ "value": "gpt-image-1",
+ "valueType": {
+ "$id": "455",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "452"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "456",
"kind": "enum",
"name": "ImageGenToolQuality",
"crossLanguageDefinitionId": "OpenAI.ImageGenTool.quality.anonymous",
"valueType": {
- "$id": "443",
+ "$id": "457",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5377,54 +5501,54 @@
},
"values": [
{
- "$id": "444",
+ "$id": "458",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "443"
+ "$ref": "457"
},
"enumType": {
- "$ref": "442"
+ "$ref": "456"
},
"decorators": []
},
{
- "$id": "445",
+ "$id": "459",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "443"
+ "$ref": "457"
},
"enumType": {
- "$ref": "442"
+ "$ref": "456"
},
"decorators": []
},
{
- "$id": "446",
+ "$id": "460",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "443"
+ "$ref": "457"
},
"enumType": {
- "$ref": "442"
+ "$ref": "456"
},
"decorators": []
},
{
- "$id": "447",
+ "$id": "461",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "443"
+ "$ref": "457"
},
"enumType": {
- "$ref": "442"
+ "$ref": "456"
},
"decorators": []
}
@@ -5436,12 +5560,12 @@
"decorators": []
},
{
- "$id": "448",
+ "$id": "462",
"kind": "enum",
"name": "ImageGenToolSize",
"crossLanguageDefinitionId": "OpenAI.ImageGenTool.size.anonymous",
"valueType": {
- "$id": "449",
+ "$id": "463",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5449,54 +5573,54 @@
},
"values": [
{
- "$id": "450",
+ "$id": "464",
"kind": "enumvalue",
"name": "1024x1024",
"value": "1024x1024",
"valueType": {
- "$ref": "449"
+ "$ref": "463"
},
"enumType": {
- "$ref": "448"
+ "$ref": "462"
},
"decorators": []
},
{
- "$id": "451",
+ "$id": "465",
"kind": "enumvalue",
"name": "1024x1536",
"value": "1024x1536",
"valueType": {
- "$ref": "449"
+ "$ref": "463"
},
"enumType": {
- "$ref": "448"
+ "$ref": "462"
},
"decorators": []
},
{
- "$id": "452",
+ "$id": "466",
"kind": "enumvalue",
"name": "1536x1024",
"value": "1536x1024",
"valueType": {
- "$ref": "449"
+ "$ref": "463"
},
"enumType": {
- "$ref": "448"
+ "$ref": "462"
},
"decorators": []
},
{
- "$id": "453",
+ "$id": "467",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "449"
+ "$ref": "463"
},
"enumType": {
- "$ref": "448"
+ "$ref": "462"
},
"decorators": []
}
@@ -5508,12 +5632,12 @@
"decorators": []
},
{
- "$id": "454",
+ "$id": "468",
"kind": "enum",
"name": "ImageGenToolOutputFormat",
"crossLanguageDefinitionId": "OpenAI.ImageGenTool.output_format.anonymous",
"valueType": {
- "$id": "455",
+ "$id": "469",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5521,41 +5645,41 @@
},
"values": [
{
- "$id": "456",
+ "$id": "470",
"kind": "enumvalue",
"name": "png",
"value": "png",
"valueType": {
- "$ref": "455"
+ "$ref": "469"
},
"enumType": {
- "$ref": "454"
+ "$ref": "468"
},
"decorators": []
},
{
- "$id": "457",
+ "$id": "471",
"kind": "enumvalue",
"name": "webp",
"value": "webp",
"valueType": {
- "$ref": "455"
+ "$ref": "469"
},
"enumType": {
- "$ref": "454"
+ "$ref": "468"
},
"decorators": []
},
{
- "$id": "458",
+ "$id": "472",
"kind": "enumvalue",
"name": "jpeg",
"value": "jpeg",
"valueType": {
- "$ref": "455"
+ "$ref": "469"
},
"enumType": {
- "$ref": "454"
+ "$ref": "468"
},
"decorators": []
}
@@ -5567,12 +5691,12 @@
"decorators": []
},
{
- "$id": "459",
+ "$id": "473",
"kind": "enum",
"name": "ImageGenToolModeration",
"crossLanguageDefinitionId": "OpenAI.ImageGenTool.moderation.anonymous",
"valueType": {
- "$id": "460",
+ "$id": "474",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5580,28 +5704,28 @@
},
"values": [
{
- "$id": "461",
+ "$id": "475",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "460"
+ "$ref": "474"
},
"enumType": {
- "$ref": "459"
+ "$ref": "473"
},
"decorators": []
},
{
- "$id": "462",
+ "$id": "476",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "460"
+ "$ref": "474"
},
"enumType": {
- "$ref": "459"
+ "$ref": "473"
},
"decorators": []
}
@@ -5613,12 +5737,12 @@
"decorators": []
},
{
- "$id": "463",
+ "$id": "477",
"kind": "enum",
"name": "ImageGenToolBackground",
"crossLanguageDefinitionId": "OpenAI.ImageGenTool.background.anonymous",
"valueType": {
- "$id": "464",
+ "$id": "478",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5626,41 +5750,41 @@
},
"values": [
{
- "$id": "465",
+ "$id": "479",
"kind": "enumvalue",
"name": "transparent",
"value": "transparent",
"valueType": {
- "$ref": "464"
+ "$ref": "478"
},
"enumType": {
- "$ref": "463"
+ "$ref": "477"
},
"decorators": []
},
{
- "$id": "466",
+ "$id": "480",
"kind": "enumvalue",
"name": "opaque",
"value": "opaque",
"valueType": {
- "$ref": "464"
+ "$ref": "478"
},
"enumType": {
- "$ref": "463"
+ "$ref": "477"
},
"decorators": []
},
{
- "$id": "467",
+ "$id": "481",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "464"
+ "$ref": "478"
},
"enumType": {
- "$ref": "463"
+ "$ref": "477"
},
"decorators": []
}
@@ -5672,12 +5796,12 @@
"decorators": []
},
{
- "$id": "468",
+ "$id": "482",
"kind": "enum",
"name": "ImageGenToolInputFidelity",
"crossLanguageDefinitionId": "OpenAI.ImageGenTool.input_fidelity.anonymous",
"valueType": {
- "$id": "469",
+ "$id": "483",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5685,28 +5809,28 @@
},
"values": [
{
- "$id": "470",
+ "$id": "484",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "469"
+ "$ref": "483"
},
"enumType": {
- "$ref": "468"
+ "$ref": "482"
},
"decorators": []
},
{
- "$id": "471",
+ "$id": "485",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "469"
+ "$ref": "483"
},
"enumType": {
- "$ref": "468"
+ "$ref": "482"
},
"decorators": []
}
@@ -5718,12 +5842,12 @@
"decorators": []
},
{
- "$id": "472",
+ "$id": "486",
"kind": "enum",
"name": "MCPToolConnectorId",
"crossLanguageDefinitionId": "OpenAI.MCPTool.connector_id.anonymous",
"valueType": {
- "$id": "473",
+ "$id": "487",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5731,106 +5855,106 @@
},
"values": [
{
- "$id": "474",
+ "$id": "488",
"kind": "enumvalue",
"name": "connector_dropbox",
"value": "connector_dropbox",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
},
{
- "$id": "475",
+ "$id": "489",
"kind": "enumvalue",
"name": "connector_gmail",
"value": "connector_gmail",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
},
{
- "$id": "476",
+ "$id": "490",
"kind": "enumvalue",
"name": "connector_googlecalendar",
"value": "connector_googlecalendar",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
},
{
- "$id": "477",
+ "$id": "491",
"kind": "enumvalue",
"name": "connector_googledrive",
"value": "connector_googledrive",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
},
{
- "$id": "478",
+ "$id": "492",
"kind": "enumvalue",
"name": "connector_microsoftteams",
"value": "connector_microsoftteams",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
},
{
- "$id": "479",
+ "$id": "493",
"kind": "enumvalue",
"name": "connector_outlookcalendar",
"value": "connector_outlookcalendar",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
},
{
- "$id": "480",
+ "$id": "494",
"kind": "enumvalue",
"name": "connector_outlookemail",
"value": "connector_outlookemail",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
},
{
- "$id": "481",
+ "$id": "495",
"kind": "enumvalue",
"name": "connector_sharepoint",
"value": "connector_sharepoint",
"valueType": {
- "$ref": "473"
+ "$ref": "487"
},
"enumType": {
- "$ref": "472"
+ "$ref": "486"
},
"decorators": []
}
@@ -5842,12 +5966,12 @@
"decorators": []
},
{
- "$id": "482",
+ "$id": "496",
"kind": "enum",
"name": "DotNetResponseServiceTier",
"crossLanguageDefinitionId": "OpenAI.DotNetResponseServiceTier",
"valueType": {
- "$id": "483",
+ "$id": "497",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5855,54 +5979,54 @@
},
"values": [
{
- "$id": "484",
+ "$id": "498",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "483"
+ "$ref": "497"
},
"enumType": {
- "$ref": "482"
+ "$ref": "496"
},
"decorators": []
},
{
- "$id": "485",
+ "$id": "499",
"kind": "enumvalue",
"name": "default",
"value": "default",
"valueType": {
- "$ref": "483"
+ "$ref": "497"
},
"enumType": {
- "$ref": "482"
+ "$ref": "496"
},
"decorators": []
},
{
- "$id": "486",
+ "$id": "500",
"kind": "enumvalue",
"name": "flex",
"value": "flex",
"valueType": {
- "$ref": "483"
+ "$ref": "497"
},
"enumType": {
- "$ref": "482"
+ "$ref": "496"
},
"decorators": []
},
{
- "$id": "487",
+ "$id": "501",
"kind": "enumvalue",
"name": "scale",
"value": "scale",
"valueType": {
- "$ref": "483"
+ "$ref": "497"
},
"enumType": {
- "$ref": "482"
+ "$ref": "496"
},
"decorators": []
}
@@ -5914,12 +6038,12 @@
"decorators": []
},
{
- "$id": "488",
+ "$id": "502",
"kind": "enum",
"name": "ModelIdsResponses",
"crossLanguageDefinitionId": "OpenAI.ModelIdsResponses",
"valueType": {
- "$id": "489",
+ "$id": "503",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -5927,795 +6051,795 @@
},
"values": [
{
- "$id": "490",
+ "$id": "504",
"kind": "enumvalue",
"name": "gpt-4.1",
"value": "gpt-4.1",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "491",
+ "$id": "505",
"kind": "enumvalue",
"name": "gpt-4.1-mini",
"value": "gpt-4.1-mini",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "492",
+ "$id": "506",
"kind": "enumvalue",
"name": "gpt-4.1-nano",
"value": "gpt-4.1-nano",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "493",
+ "$id": "507",
"kind": "enumvalue",
"name": "gpt-4.1-2025-04-14",
"value": "gpt-4.1-2025-04-14",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "494",
+ "$id": "508",
"kind": "enumvalue",
"name": "gpt-4.1-mini-2025-04-14",
"value": "gpt-4.1-mini-2025-04-14",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "495",
+ "$id": "509",
"kind": "enumvalue",
"name": "gpt-4.1-nano-2025-04-14",
"value": "gpt-4.1-nano-2025-04-14",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "496",
+ "$id": "510",
"kind": "enumvalue",
"name": "o4-mini",
"value": "o4-mini",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "497",
+ "$id": "511",
"kind": "enumvalue",
"name": "o4-mini-2025-04-16",
"value": "o4-mini-2025-04-16",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "498",
+ "$id": "512",
"kind": "enumvalue",
"name": "o3",
"value": "o3",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "499",
+ "$id": "513",
"kind": "enumvalue",
"name": "o3-2025-04-16",
"value": "o3-2025-04-16",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "500",
+ "$id": "514",
"kind": "enumvalue",
"name": "o3-mini",
"value": "o3-mini",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "501",
+ "$id": "515",
"kind": "enumvalue",
"name": "o3-mini-2025-01-31",
"value": "o3-mini-2025-01-31",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "502",
+ "$id": "516",
"kind": "enumvalue",
"name": "o1",
"value": "o1",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "503",
+ "$id": "517",
"kind": "enumvalue",
"name": "o1-2024-12-17",
"value": "o1-2024-12-17",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "504",
+ "$id": "518",
"kind": "enumvalue",
"name": "o1-preview",
"value": "o1-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "505",
+ "$id": "519",
"kind": "enumvalue",
"name": "o1-preview-2024-09-12",
"value": "o1-preview-2024-09-12",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "506",
+ "$id": "520",
"kind": "enumvalue",
"name": "o1-mini",
"value": "o1-mini",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "507",
+ "$id": "521",
"kind": "enumvalue",
"name": "o1-mini-2024-09-12",
"value": "o1-mini-2024-09-12",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "508",
+ "$id": "522",
"kind": "enumvalue",
"name": "gpt-4o",
"value": "gpt-4o",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "509",
+ "$id": "523",
"kind": "enumvalue",
"name": "gpt-4o-2024-11-20",
"value": "gpt-4o-2024-11-20",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "510",
+ "$id": "524",
"kind": "enumvalue",
"name": "gpt-4o-2024-08-06",
"value": "gpt-4o-2024-08-06",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "511",
+ "$id": "525",
"kind": "enumvalue",
"name": "gpt-4o-2024-05-13",
"value": "gpt-4o-2024-05-13",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "512",
+ "$id": "526",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview",
"value": "gpt-4o-audio-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "513",
+ "$id": "527",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview-2024-10-01",
"value": "gpt-4o-audio-preview-2024-10-01",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "514",
+ "$id": "528",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview-2024-12-17",
"value": "gpt-4o-audio-preview-2024-12-17",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "515",
+ "$id": "529",
"kind": "enumvalue",
"name": "gpt-4o-audio-preview-2025-06-03",
"value": "gpt-4o-audio-preview-2025-06-03",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "516",
+ "$id": "530",
"kind": "enumvalue",
"name": "gpt-4o-mini-audio-preview",
"value": "gpt-4o-mini-audio-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "517",
+ "$id": "531",
"kind": "enumvalue",
"name": "gpt-4o-mini-audio-preview-2024-12-17",
"value": "gpt-4o-mini-audio-preview-2024-12-17",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "518",
+ "$id": "532",
"kind": "enumvalue",
"name": "gpt-4o-search-preview",
"value": "gpt-4o-search-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "519",
+ "$id": "533",
"kind": "enumvalue",
"name": "gpt-4o-mini-search-preview",
"value": "gpt-4o-mini-search-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "520",
+ "$id": "534",
"kind": "enumvalue",
"name": "gpt-4o-search-preview-2025-03-11",
"value": "gpt-4o-search-preview-2025-03-11",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "521",
+ "$id": "535",
"kind": "enumvalue",
"name": "gpt-4o-mini-search-preview-2025-03-11",
"value": "gpt-4o-mini-search-preview-2025-03-11",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "522",
+ "$id": "536",
"kind": "enumvalue",
"name": "chatgpt-4o-latest",
"value": "chatgpt-4o-latest",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "523",
+ "$id": "537",
"kind": "enumvalue",
"name": "codex-mini-latest",
"value": "codex-mini-latest",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "524",
+ "$id": "538",
"kind": "enumvalue",
"name": "gpt-4o-mini",
"value": "gpt-4o-mini",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "525",
+ "$id": "539",
"kind": "enumvalue",
"name": "gpt-4o-mini-2024-07-18",
"value": "gpt-4o-mini-2024-07-18",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "526",
+ "$id": "540",
"kind": "enumvalue",
"name": "gpt-4-turbo",
"value": "gpt-4-turbo",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "527",
+ "$id": "541",
"kind": "enumvalue",
"name": "gpt-4-turbo-2024-04-09",
"value": "gpt-4-turbo-2024-04-09",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "528",
+ "$id": "542",
"kind": "enumvalue",
"name": "gpt-4-0125-preview",
"value": "gpt-4-0125-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "529",
+ "$id": "543",
"kind": "enumvalue",
"name": "gpt-4-turbo-preview",
"value": "gpt-4-turbo-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "530",
+ "$id": "544",
"kind": "enumvalue",
"name": "gpt-4-1106-preview",
"value": "gpt-4-1106-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "531",
+ "$id": "545",
"kind": "enumvalue",
"name": "gpt-4-vision-preview",
"value": "gpt-4-vision-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "532",
+ "$id": "546",
"kind": "enumvalue",
"name": "gpt-4",
"value": "gpt-4",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "533",
+ "$id": "547",
"kind": "enumvalue",
"name": "gpt-4-0314",
"value": "gpt-4-0314",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "534",
+ "$id": "548",
"kind": "enumvalue",
"name": "gpt-4-0613",
"value": "gpt-4-0613",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "535",
+ "$id": "549",
"kind": "enumvalue",
"name": "gpt-4-32k",
"value": "gpt-4-32k",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "536",
+ "$id": "550",
"kind": "enumvalue",
"name": "gpt-4-32k-0314",
"value": "gpt-4-32k-0314",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "537",
+ "$id": "551",
"kind": "enumvalue",
"name": "gpt-4-32k-0613",
"value": "gpt-4-32k-0613",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "538",
+ "$id": "552",
"kind": "enumvalue",
"name": "gpt-3.5-turbo",
"value": "gpt-3.5-turbo",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "539",
+ "$id": "553",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-16k",
"value": "gpt-3.5-turbo-16k",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "540",
+ "$id": "554",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0301",
"value": "gpt-3.5-turbo-0301",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "541",
+ "$id": "555",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0613",
"value": "gpt-3.5-turbo-0613",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "542",
+ "$id": "556",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-1106",
"value": "gpt-3.5-turbo-1106",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "543",
+ "$id": "557",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0125",
"value": "gpt-3.5-turbo-0125",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "544",
+ "$id": "558",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-16k-0613",
"value": "gpt-3.5-turbo-16k-0613",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "545",
+ "$id": "559",
"kind": "enumvalue",
"name": "o1-pro",
"value": "o1-pro",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "546",
+ "$id": "560",
"kind": "enumvalue",
"name": "o1-pro-2025-03-19",
"value": "o1-pro-2025-03-19",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "547",
+ "$id": "561",
"kind": "enumvalue",
"name": "o3-pro",
"value": "o3-pro",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "548",
+ "$id": "562",
"kind": "enumvalue",
"name": "o3-pro-2025-06-10",
"value": "o3-pro-2025-06-10",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "549",
+ "$id": "563",
"kind": "enumvalue",
"name": "computer-use-preview",
"value": "computer-use-preview",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
},
{
- "$id": "550",
+ "$id": "564",
"kind": "enumvalue",
"name": "computer-use-preview-2025-03-11",
"value": "computer-use-preview-2025-03-11",
"valueType": {
- "$ref": "489"
+ "$ref": "503"
},
"enumType": {
- "$ref": "488"
+ "$ref": "502"
},
"decorators": []
}
@@ -6727,12 +6851,12 @@
"decorators": []
},
{
- "$id": "551",
+ "$id": "565",
"kind": "enum",
"name": "ReasoningSummary",
"crossLanguageDefinitionId": "OpenAI.Reasoning.summary.anonymous",
"valueType": {
- "$id": "552",
+ "$id": "566",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -6740,41 +6864,41 @@
},
"values": [
{
- "$id": "553",
+ "$id": "567",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "552"
+ "$ref": "566"
},
"enumType": {
- "$ref": "551"
+ "$ref": "565"
},
"decorators": []
},
{
- "$id": "554",
+ "$id": "568",
"kind": "enumvalue",
"name": "concise",
"value": "concise",
"valueType": {
- "$ref": "552"
+ "$ref": "566"
},
"enumType": {
- "$ref": "551"
+ "$ref": "565"
},
"decorators": []
},
{
- "$id": "555",
+ "$id": "569",
"kind": "enumvalue",
"name": "detailed",
"value": "detailed",
"valueType": {
- "$ref": "552"
+ "$ref": "566"
},
"enumType": {
- "$ref": "551"
+ "$ref": "565"
},
"decorators": []
}
@@ -6786,12 +6910,12 @@
"decorators": []
},
{
- "$id": "556",
+ "$id": "570",
"kind": "enum",
"name": "ReasoningGenerateSummary",
"crossLanguageDefinitionId": "OpenAI.Reasoning.generate_summary.anonymous",
"valueType": {
- "$id": "557",
+ "$id": "571",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -6799,41 +6923,41 @@
},
"values": [
{
- "$id": "558",
+ "$id": "572",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "557"
+ "$ref": "571"
},
"enumType": {
- "$ref": "556"
+ "$ref": "570"
},
"decorators": []
},
{
- "$id": "559",
+ "$id": "573",
"kind": "enumvalue",
"name": "concise",
"value": "concise",
"valueType": {
- "$ref": "557"
+ "$ref": "571"
},
"enumType": {
- "$ref": "556"
+ "$ref": "570"
},
"decorators": []
},
{
- "$id": "560",
+ "$id": "574",
"kind": "enumvalue",
"name": "detailed",
"value": "detailed",
"valueType": {
- "$ref": "557"
+ "$ref": "571"
},
"enumType": {
- "$ref": "556"
+ "$ref": "570"
},
"decorators": []
}
@@ -6845,12 +6969,12 @@
"decorators": []
},
{
- "$id": "561",
+ "$id": "575",
"kind": "enum",
"name": "ToolChoiceOptions",
"crossLanguageDefinitionId": "OpenAI.ToolChoiceOptions",
"valueType": {
- "$id": "562",
+ "$id": "576",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -6858,41 +6982,41 @@
},
"values": [
{
- "$id": "563",
+ "$id": "577",
"kind": "enumvalue",
"name": "none",
"value": "none",
"valueType": {
- "$ref": "562"
+ "$ref": "576"
},
"enumType": {
- "$ref": "561"
+ "$ref": "575"
},
"decorators": []
},
{
- "$id": "564",
+ "$id": "578",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "562"
+ "$ref": "576"
},
"enumType": {
- "$ref": "561"
+ "$ref": "575"
},
"decorators": []
},
{
- "$id": "565",
+ "$id": "579",
"kind": "enumvalue",
"name": "required",
"value": "required",
"valueType": {
- "$ref": "562"
+ "$ref": "576"
},
"enumType": {
- "$ref": "561"
+ "$ref": "575"
},
"decorators": []
}
@@ -6905,12 +7029,12 @@
"decorators": []
},
{
- "$id": "566",
+ "$id": "580",
"kind": "enum",
"name": "ToolChoiceObjectType",
"crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectType",
"valueType": {
- "$id": "567",
+ "$id": "581",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -6918,93 +7042,93 @@
},
"values": [
{
- "$id": "568",
+ "$id": "582",
"kind": "enumvalue",
"name": "file_search",
"value": "file_search",
"valueType": {
- "$ref": "567"
+ "$ref": "581"
},
"enumType": {
- "$ref": "566"
+ "$ref": "580"
},
"decorators": []
},
{
- "$id": "569",
+ "$id": "583",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "567"
+ "$ref": "581"
},
"enumType": {
- "$ref": "566"
+ "$ref": "580"
},
"decorators": []
},
{
- "$id": "570",
+ "$id": "584",
"kind": "enumvalue",
"name": "computer",
"value": "computer_use_preview",
"valueType": {
- "$ref": "567"
+ "$ref": "581"
},
"enumType": {
- "$ref": "566"
+ "$ref": "580"
},
"decorators": []
},
{
- "$id": "571",
+ "$id": "585",
"kind": "enumvalue",
"name": "web_search",
"value": "web_search_preview",
"valueType": {
- "$ref": "567"
+ "$ref": "581"
},
"enumType": {
- "$ref": "566"
+ "$ref": "580"
},
"decorators": []
},
{
- "$id": "572",
+ "$id": "586",
"kind": "enumvalue",
"name": "image_generation",
"value": "image_generation",
"valueType": {
- "$ref": "567"
+ "$ref": "581"
},
"enumType": {
- "$ref": "566"
+ "$ref": "580"
},
"decorators": []
},
{
- "$id": "573",
+ "$id": "587",
"kind": "enumvalue",
"name": "code_interpreter",
"value": "code_interpreter",
"valueType": {
- "$ref": "567"
+ "$ref": "581"
},
"enumType": {
- "$ref": "566"
+ "$ref": "580"
},
"decorators": []
},
{
- "$id": "574",
+ "$id": "588",
"kind": "enumvalue",
"name": "mcp",
"value": "mcp",
"valueType": {
- "$ref": "567"
+ "$ref": "581"
},
"enumType": {
- "$ref": "566"
+ "$ref": "580"
},
"decorators": []
}
@@ -7017,12 +7141,12 @@
"decorators": []
},
{
- "$id": "575",
+ "$id": "589",
"kind": "enum",
"name": "CreateResponseTruncation",
"crossLanguageDefinitionId": "OpenAI.CreateResponse.truncation.anonymous",
"valueType": {
- "$id": "576",
+ "$id": "590",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7030,28 +7154,28 @@
},
"values": [
{
- "$id": "577",
+ "$id": "591",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "576"
+ "$ref": "590"
},
"enumType": {
- "$ref": "575"
+ "$ref": "589"
},
"decorators": []
},
{
- "$id": "578",
+ "$id": "592",
"kind": "enumvalue",
"name": "disabled",
"value": "disabled",
"valueType": {
- "$ref": "576"
+ "$ref": "590"
},
"enumType": {
- "$ref": "575"
+ "$ref": "589"
},
"decorators": []
}
@@ -7063,12 +7187,12 @@
"decorators": []
},
{
- "$id": "579",
+ "$id": "593",
"kind": "enum",
"name": "ItemContentType",
"crossLanguageDefinitionId": "OpenAI.ItemContentType",
"valueType": {
- "$id": "580",
+ "$id": "594",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7076,93 +7200,93 @@
},
"values": [
{
- "$id": "581",
+ "$id": "595",
"kind": "enumvalue",
"name": "input_text",
"value": "input_text",
"valueType": {
- "$ref": "580"
+ "$ref": "594"
},
"enumType": {
- "$ref": "579"
+ "$ref": "593"
},
"decorators": []
},
{
- "$id": "582",
+ "$id": "596",
"kind": "enumvalue",
"name": "input_audio",
"value": "input_audio",
"valueType": {
- "$ref": "580"
+ "$ref": "594"
},
"enumType": {
- "$ref": "579"
+ "$ref": "593"
},
"decorators": []
},
{
- "$id": "583",
+ "$id": "597",
"kind": "enumvalue",
"name": "input_image",
"value": "input_image",
"valueType": {
- "$ref": "580"
+ "$ref": "594"
},
"enumType": {
- "$ref": "579"
+ "$ref": "593"
},
"decorators": []
},
{
- "$id": "584",
+ "$id": "598",
"kind": "enumvalue",
"name": "input_file",
"value": "input_file",
"valueType": {
- "$ref": "580"
+ "$ref": "594"
},
"enumType": {
- "$ref": "579"
+ "$ref": "593"
},
"decorators": []
},
{
- "$id": "585",
+ "$id": "599",
"kind": "enumvalue",
"name": "output_text",
"value": "output_text",
"valueType": {
- "$ref": "580"
+ "$ref": "594"
},
"enumType": {
- "$ref": "579"
+ "$ref": "593"
},
"decorators": []
},
{
- "$id": "586",
+ "$id": "600",
"kind": "enumvalue",
"name": "output_audio",
"value": "output_audio",
"valueType": {
- "$ref": "580"
+ "$ref": "594"
},
"enumType": {
- "$ref": "579"
+ "$ref": "593"
},
"decorators": []
},
{
- "$id": "587",
+ "$id": "601",
"kind": "enumvalue",
"name": "refusal",
"value": "refusal",
"valueType": {
- "$ref": "580"
+ "$ref": "594"
},
"enumType": {
- "$ref": "579"
+ "$ref": "593"
},
"decorators": []
}
@@ -7175,12 +7299,12 @@
"decorators": []
},
{
- "$id": "588",
+ "$id": "602",
"kind": "enum",
"name": "ItemContentInputAudioFormat",
"crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.format.anonymous",
"valueType": {
- "$id": "589",
+ "$id": "603",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7188,28 +7312,28 @@
},
"values": [
{
- "$id": "590",
+ "$id": "604",
"kind": "enumvalue",
"name": "mp3",
"value": "mp3",
"valueType": {
- "$ref": "589"
+ "$ref": "603"
},
"enumType": {
- "$ref": "588"
+ "$ref": "602"
},
"decorators": []
},
{
- "$id": "591",
+ "$id": "605",
"kind": "enumvalue",
"name": "wav",
"value": "wav",
"valueType": {
- "$ref": "589"
+ "$ref": "603"
},
"enumType": {
- "$ref": "588"
+ "$ref": "602"
},
"decorators": []
}
@@ -7221,12 +7345,12 @@
"decorators": []
},
{
- "$id": "592",
+ "$id": "606",
"kind": "enum",
"name": "ItemContentInputImageDetail",
"crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.detail.anonymous",
"valueType": {
- "$id": "593",
+ "$id": "607",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7234,41 +7358,41 @@
},
"values": [
{
- "$id": "594",
+ "$id": "608",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "593"
+ "$ref": "607"
},
"enumType": {
- "$ref": "592"
+ "$ref": "606"
},
"decorators": []
},
{
- "$id": "595",
+ "$id": "609",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "593"
+ "$ref": "607"
},
"enumType": {
- "$ref": "592"
+ "$ref": "606"
},
"decorators": []
},
{
- "$id": "596",
+ "$id": "610",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "593"
+ "$ref": "607"
},
"enumType": {
- "$ref": "592"
+ "$ref": "606"
},
"decorators": []
}
@@ -7280,12 +7404,12 @@
"decorators": []
},
{
- "$id": "597",
+ "$id": "611",
"kind": "enum",
"name": "AnnotationType",
"crossLanguageDefinitionId": "OpenAI.AnnotationType",
"valueType": {
- "$id": "598",
+ "$id": "612",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7293,54 +7417,54 @@
},
"values": [
{
- "$id": "599",
+ "$id": "613",
"kind": "enumvalue",
"name": "file_citation",
"value": "file_citation",
"valueType": {
- "$ref": "598"
+ "$ref": "612"
},
"enumType": {
- "$ref": "597"
+ "$ref": "611"
},
"decorators": []
},
{
- "$id": "600",
+ "$id": "614",
"kind": "enumvalue",
"name": "url_citation",
"value": "url_citation",
"valueType": {
- "$ref": "598"
+ "$ref": "612"
},
"enumType": {
- "$ref": "597"
+ "$ref": "611"
},
"decorators": []
},
{
- "$id": "601",
+ "$id": "615",
"kind": "enumvalue",
"name": "file_path",
"value": "file_path",
"valueType": {
- "$ref": "598"
+ "$ref": "612"
},
"enumType": {
- "$ref": "597"
+ "$ref": "611"
},
"decorators": []
},
{
- "$id": "602",
+ "$id": "616",
"kind": "enumvalue",
"name": "container_file_citation",
"value": "container_file_citation",
"valueType": {
- "$ref": "598"
+ "$ref": "612"
},
"enumType": {
- "$ref": "597"
+ "$ref": "611"
},
"decorators": []
}
@@ -7352,12 +7476,12 @@
"decorators": []
},
{
- "$id": "603",
+ "$id": "617",
"kind": "enum",
"name": "ItemType",
"crossLanguageDefinitionId": "OpenAI.ItemType",
"valueType": {
- "$id": "604",
+ "$id": "618",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7365,223 +7489,223 @@
},
"values": [
{
- "$id": "605",
+ "$id": "619",
"kind": "enumvalue",
"name": "message",
"value": "message",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "606",
+ "$id": "620",
"kind": "enumvalue",
"name": "file_search_call",
"value": "file_search_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "607",
+ "$id": "621",
"kind": "enumvalue",
"name": "function_call",
"value": "function_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "608",
+ "$id": "622",
"kind": "enumvalue",
"name": "function_call_output",
"value": "function_call_output",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "609",
+ "$id": "623",
"kind": "enumvalue",
"name": "computer_call",
"value": "computer_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "610",
+ "$id": "624",
"kind": "enumvalue",
"name": "computer_call_output",
"value": "computer_call_output",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "611",
+ "$id": "625",
"kind": "enumvalue",
"name": "web_search_call",
"value": "web_search_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "612",
+ "$id": "626",
"kind": "enumvalue",
"name": "reasoning",
"value": "reasoning",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "613",
+ "$id": "627",
"kind": "enumvalue",
"name": "item_reference",
"value": "item_reference",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "614",
+ "$id": "628",
"kind": "enumvalue",
"name": "image_generation_call",
"value": "image_generation_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "615",
+ "$id": "629",
"kind": "enumvalue",
"name": "code_interpreter_call",
"value": "code_interpreter_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "616",
+ "$id": "630",
"kind": "enumvalue",
"name": "local_shell_call",
"value": "local_shell_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "617",
+ "$id": "631",
"kind": "enumvalue",
"name": "local_shell_call_output",
"value": "local_shell_call_output",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "618",
+ "$id": "632",
"kind": "enumvalue",
"name": "mcp_list_tools",
"value": "mcp_list_tools",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "619",
+ "$id": "633",
"kind": "enumvalue",
"name": "mcp_approval_request",
"value": "mcp_approval_request",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "620",
+ "$id": "634",
"kind": "enumvalue",
"name": "mcp_approval_response",
"value": "mcp_approval_response",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
},
{
- "$id": "621",
+ "$id": "635",
"kind": "enumvalue",
"name": "mcp_call",
"value": "mcp_call",
"valueType": {
- "$ref": "604"
+ "$ref": "618"
},
"enumType": {
- "$ref": "603"
+ "$ref": "617"
},
"decorators": []
}
@@ -7593,12 +7717,12 @@
"decorators": []
},
{
- "$id": "622",
+ "$id": "636",
"kind": "enum",
"name": "ComputerActionType",
"crossLanguageDefinitionId": "OpenAI.ComputerActionType",
"valueType": {
- "$id": "623",
+ "$id": "637",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7606,119 +7730,119 @@
},
"values": [
{
- "$id": "624",
+ "$id": "638",
"kind": "enumvalue",
"name": "screenshot",
"value": "screenshot",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "625",
+ "$id": "639",
"kind": "enumvalue",
"name": "click",
"value": "click",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "626",
+ "$id": "640",
"kind": "enumvalue",
"name": "double_click",
"value": "double_click",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "627",
+ "$id": "641",
"kind": "enumvalue",
"name": "scroll",
"value": "scroll",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "628",
+ "$id": "642",
"kind": "enumvalue",
"name": "type",
"value": "type",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "629",
+ "$id": "643",
"kind": "enumvalue",
"name": "wait",
"value": "wait",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "630",
+ "$id": "644",
"kind": "enumvalue",
"name": "keypress",
"value": "keypress",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "631",
+ "$id": "645",
"kind": "enumvalue",
"name": "drag",
"value": "drag",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
},
{
- "$id": "632",
+ "$id": "646",
"kind": "enumvalue",
"name": "move",
"value": "move",
"valueType": {
- "$ref": "623"
+ "$ref": "637"
},
"enumType": {
- "$ref": "622"
+ "$ref": "636"
},
"decorators": []
}
@@ -7730,12 +7854,12 @@
"decorators": []
},
{
- "$id": "633",
+ "$id": "647",
"kind": "enum",
"name": "ComputerActionClickButton",
"crossLanguageDefinitionId": "OpenAI.ComputerActionClick.button.anonymous",
"valueType": {
- "$id": "634",
+ "$id": "648",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7743,67 +7867,67 @@
},
"values": [
{
- "$id": "635",
+ "$id": "649",
"kind": "enumvalue",
"name": "left",
"value": "left",
"valueType": {
- "$ref": "634"
+ "$ref": "648"
},
"enumType": {
- "$ref": "633"
+ "$ref": "647"
},
"decorators": []
},
{
- "$id": "636",
+ "$id": "650",
"kind": "enumvalue",
"name": "right",
"value": "right",
"valueType": {
- "$ref": "634"
+ "$ref": "648"
},
"enumType": {
- "$ref": "633"
+ "$ref": "647"
},
"decorators": []
},
{
- "$id": "637",
+ "$id": "651",
"kind": "enumvalue",
"name": "wheel",
"value": "wheel",
"valueType": {
- "$ref": "634"
+ "$ref": "648"
},
"enumType": {
- "$ref": "633"
+ "$ref": "647"
},
"decorators": []
},
{
- "$id": "638",
+ "$id": "652",
"kind": "enumvalue",
"name": "back",
"value": "back",
"valueType": {
- "$ref": "634"
+ "$ref": "648"
},
"enumType": {
- "$ref": "633"
+ "$ref": "647"
},
"decorators": []
},
{
- "$id": "639",
+ "$id": "653",
"kind": "enumvalue",
"name": "forward",
"value": "forward",
"valueType": {
- "$ref": "634"
+ "$ref": "648"
},
"enumType": {
- "$ref": "633"
+ "$ref": "647"
},
"decorators": []
}
@@ -7815,12 +7939,12 @@
"decorators": []
},
{
- "$id": "640",
+ "$id": "654",
"kind": "enum",
"name": "ComputerToolCallOutputItemOutputType",
"crossLanguageDefinitionId": "OpenAI.ComputerToolCallOutputItemOutputType",
"valueType": {
- "$id": "641",
+ "$id": "655",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7828,15 +7952,15 @@
},
"values": [
{
- "$id": "642",
+ "$id": "656",
"kind": "enumvalue",
"name": "screenshot",
"value": "computer_screenshot",
"valueType": {
- "$ref": "641"
+ "$ref": "655"
},
"enumType": {
- "$ref": "640"
+ "$ref": "654"
},
"decorators": []
}
@@ -7849,12 +7973,12 @@
"decorators": []
},
{
- "$id": "643",
+ "$id": "657",
"kind": "enum",
"name": "ReasoningItemSummaryPartType",
"crossLanguageDefinitionId": "OpenAI.ReasoningItemSummaryPartType",
"valueType": {
- "$id": "644",
+ "$id": "658",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7862,15 +7986,15 @@
},
"values": [
{
- "$id": "645",
+ "$id": "659",
"kind": "enumvalue",
"name": "summary_text",
"value": "summary_text",
"valueType": {
- "$ref": "644"
+ "$ref": "658"
},
"enumType": {
- "$ref": "643"
+ "$ref": "657"
},
"decorators": []
}
@@ -7882,12 +8006,12 @@
"decorators": []
},
{
- "$id": "646",
+ "$id": "660",
"kind": "enum",
"name": "CodeInterpreterToolOutputType",
"crossLanguageDefinitionId": "OpenAI.CodeInterpreterToolOutputType",
"valueType": {
- "$id": "647",
+ "$id": "661",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7895,28 +8019,28 @@
},
"values": [
{
- "$id": "648",
+ "$id": "662",
"kind": "enumvalue",
"name": "logs",
"value": "logs",
"valueType": {
- "$ref": "647"
+ "$ref": "661"
},
"enumType": {
- "$ref": "646"
+ "$ref": "660"
},
"decorators": []
},
{
- "$id": "649",
+ "$id": "663",
"kind": "enumvalue",
"name": "image",
"value": "image",
"valueType": {
- "$ref": "647"
+ "$ref": "661"
},
"enumType": {
- "$ref": "646"
+ "$ref": "660"
},
"decorators": []
}
@@ -7928,12 +8052,12 @@
"decorators": []
},
{
- "$id": "650",
+ "$id": "664",
"kind": "enum",
"name": "ResponsesMessageRole",
"crossLanguageDefinitionId": "OpenAI.ResponsesMessageRole",
"valueType": {
- "$id": "651",
+ "$id": "665",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -7941,54 +8065,54 @@
},
"values": [
{
- "$id": "652",
+ "$id": "666",
"kind": "enumvalue",
"name": "system",
"value": "system",
"valueType": {
- "$ref": "651"
+ "$ref": "665"
},
"enumType": {
- "$ref": "650"
+ "$ref": "664"
},
"decorators": []
},
{
- "$id": "653",
+ "$id": "667",
"kind": "enumvalue",
"name": "developer",
"value": "developer",
"valueType": {
- "$ref": "651"
+ "$ref": "665"
},
"enumType": {
- "$ref": "650"
+ "$ref": "664"
},
"decorators": []
},
{
- "$id": "654",
+ "$id": "668",
"kind": "enumvalue",
"name": "user",
"value": "user",
"valueType": {
- "$ref": "651"
+ "$ref": "665"
},
"enumType": {
- "$ref": "650"
+ "$ref": "664"
},
"decorators": []
},
{
- "$id": "655",
+ "$id": "669",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "651"
+ "$ref": "665"
},
"enumType": {
- "$ref": "650"
+ "$ref": "664"
},
"decorators": []
}
@@ -8001,12 +8125,12 @@
"decorators": []
},
{
- "$id": "656",
+ "$id": "670",
"kind": "enum",
"name": "Includable",
"crossLanguageDefinitionId": "OpenAI.Includable",
"valueType": {
- "$id": "657",
+ "$id": "671",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8014,67 +8138,67 @@
},
"values": [
{
- "$id": "658",
+ "$id": "672",
"kind": "enumvalue",
"name": "file_search_call.results",
"value": "file_search_call.results",
"valueType": {
- "$ref": "657"
+ "$ref": "671"
},
"enumType": {
- "$ref": "656"
+ "$ref": "670"
},
"decorators": []
},
{
- "$id": "659",
+ "$id": "673",
"kind": "enumvalue",
"name": "message.input_image.image_url",
"value": "message.input_image.image_url",
"valueType": {
- "$ref": "657"
+ "$ref": "671"
},
"enumType": {
- "$ref": "656"
+ "$ref": "670"
},
"decorators": []
},
{
- "$id": "660",
+ "$id": "674",
"kind": "enumvalue",
"name": "computer_call_output.output.image_url",
"value": "computer_call_output.output.image_url",
"valueType": {
- "$ref": "657"
+ "$ref": "671"
},
"enumType": {
- "$ref": "656"
+ "$ref": "670"
},
"decorators": []
},
{
- "$id": "661",
+ "$id": "675",
"kind": "enumvalue",
"name": "reasoning.encrypted_content",
"value": "reasoning.encrypted_content",
"valueType": {
- "$ref": "657"
+ "$ref": "671"
},
"enumType": {
- "$ref": "656"
+ "$ref": "670"
},
"decorators": []
},
{
- "$id": "662",
+ "$id": "676",
"kind": "enumvalue",
"name": "code_interpreter_call.outputs",
"value": "code_interpreter_call.outputs",
"valueType": {
- "$ref": "657"
+ "$ref": "671"
},
"enumType": {
- "$ref": "656"
+ "$ref": "670"
},
"decorators": []
}
@@ -8087,12 +8211,12 @@
"decorators": []
},
{
- "$id": "663",
+ "$id": "677",
"kind": "enum",
"name": "ResponseStatus",
"crossLanguageDefinitionId": "OpenAI.Response.status.anonymous",
"valueType": {
- "$id": "664",
+ "$id": "678",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8100,80 +8224,80 @@
},
"values": [
{
- "$id": "665",
+ "$id": "679",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "664"
+ "$ref": "678"
},
"enumType": {
- "$ref": "663"
+ "$ref": "677"
},
"decorators": []
},
{
- "$id": "666",
+ "$id": "680",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "664"
+ "$ref": "678"
},
"enumType": {
- "$ref": "663"
+ "$ref": "677"
},
"decorators": []
},
{
- "$id": "667",
+ "$id": "681",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "664"
+ "$ref": "678"
},
"enumType": {
- "$ref": "663"
+ "$ref": "677"
},
"decorators": []
},
{
- "$id": "668",
+ "$id": "682",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "664"
+ "$ref": "678"
},
"enumType": {
- "$ref": "663"
+ "$ref": "677"
},
"decorators": []
},
{
- "$id": "669",
+ "$id": "683",
"kind": "enumvalue",
"name": "queued",
"value": "queued",
"valueType": {
- "$ref": "664"
+ "$ref": "678"
},
"enumType": {
- "$ref": "663"
+ "$ref": "677"
},
"decorators": []
},
{
- "$id": "670",
+ "$id": "684",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "664"
+ "$ref": "678"
},
"enumType": {
- "$ref": "663"
+ "$ref": "677"
},
"decorators": []
}
@@ -8185,12 +8309,12 @@
"decorators": []
},
{
- "$id": "671",
+ "$id": "685",
"kind": "enum",
"name": "ResponseErrorCode",
"crossLanguageDefinitionId": "OpenAI.ResponseErrorCode",
"valueType": {
- "$id": "672",
+ "$id": "686",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8198,236 +8322,236 @@
},
"values": [
{
- "$id": "673",
+ "$id": "687",
"kind": "enumvalue",
"name": "server_error",
"value": "server_error",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "674",
+ "$id": "688",
"kind": "enumvalue",
"name": "rate_limit_exceeded",
"value": "rate_limit_exceeded",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "675",
+ "$id": "689",
"kind": "enumvalue",
"name": "invalid_prompt",
"value": "invalid_prompt",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "676",
+ "$id": "690",
"kind": "enumvalue",
"name": "vector_store_timeout",
"value": "vector_store_timeout",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "677",
+ "$id": "691",
"kind": "enumvalue",
"name": "invalid_image",
"value": "invalid_image",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "678",
+ "$id": "692",
"kind": "enumvalue",
"name": "invalid_image_format",
"value": "invalid_image_format",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "679",
+ "$id": "693",
"kind": "enumvalue",
"name": "invalid_base64_image",
"value": "invalid_base64_image",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "680",
+ "$id": "694",
"kind": "enumvalue",
"name": "invalid_image_url",
"value": "invalid_image_url",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "681",
+ "$id": "695",
"kind": "enumvalue",
"name": "image_too_large",
"value": "image_too_large",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "682",
+ "$id": "696",
"kind": "enumvalue",
"name": "image_too_small",
"value": "image_too_small",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "683",
+ "$id": "697",
"kind": "enumvalue",
"name": "image_parse_error",
"value": "image_parse_error",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "684",
+ "$id": "698",
"kind": "enumvalue",
"name": "image_content_policy_violation",
"value": "image_content_policy_violation",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "685",
+ "$id": "699",
"kind": "enumvalue",
"name": "invalid_image_mode",
"value": "invalid_image_mode",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "686",
+ "$id": "700",
"kind": "enumvalue",
"name": "image_file_too_large",
"value": "image_file_too_large",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "687",
+ "$id": "701",
"kind": "enumvalue",
"name": "unsupported_image_media_type",
"value": "unsupported_image_media_type",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "688",
+ "$id": "702",
"kind": "enumvalue",
"name": "empty_image_file",
"value": "empty_image_file",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "689",
+ "$id": "703",
"kind": "enumvalue",
"name": "failed_to_download_image",
"value": "failed_to_download_image",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
},
{
- "$id": "690",
+ "$id": "704",
"kind": "enumvalue",
"name": "image_file_not_found",
"value": "image_file_not_found",
"valueType": {
- "$ref": "672"
+ "$ref": "686"
},
"enumType": {
- "$ref": "671"
+ "$ref": "685"
},
"decorators": []
}
@@ -8440,12 +8564,12 @@
"decorators": []
},
{
- "$id": "691",
+ "$id": "705",
"kind": "enum",
"name": "ResponseIncompleteDetailsReason",
"crossLanguageDefinitionId": "OpenAI.Response.incomplete_details.reason.anonymous",
"valueType": {
- "$id": "692",
+ "$id": "706",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8453,28 +8577,28 @@
},
"values": [
{
- "$id": "693",
+ "$id": "707",
"kind": "enumvalue",
"name": "max_output_tokens",
"value": "max_output_tokens",
"valueType": {
- "$ref": "692"
+ "$ref": "706"
},
"enumType": {
- "$ref": "691"
+ "$ref": "705"
},
"decorators": []
},
{
- "$id": "694",
+ "$id": "708",
"kind": "enumvalue",
"name": "content_filter",
"value": "content_filter",
"valueType": {
- "$ref": "692"
+ "$ref": "706"
},
"enumType": {
- "$ref": "691"
+ "$ref": "705"
},
"decorators": []
}
@@ -8486,12 +8610,12 @@
"decorators": []
},
{
- "$id": "695",
+ "$id": "709",
"kind": "enum",
"name": "FileSearchToolCallItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.FileSearchToolCallItemResource.status.anonymous",
"valueType": {
- "$id": "696",
+ "$id": "710",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8499,67 +8623,67 @@
},
"values": [
{
- "$id": "697",
+ "$id": "711",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "696"
+ "$ref": "710"
},
"enumType": {
- "$ref": "695"
+ "$ref": "709"
},
"decorators": []
},
{
- "$id": "698",
+ "$id": "712",
"kind": "enumvalue",
"name": "searching",
"value": "searching",
"valueType": {
- "$ref": "696"
+ "$ref": "710"
},
"enumType": {
- "$ref": "695"
+ "$ref": "709"
},
"decorators": []
},
{
- "$id": "699",
+ "$id": "713",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "696"
+ "$ref": "710"
},
"enumType": {
- "$ref": "695"
+ "$ref": "709"
},
"decorators": []
},
{
- "$id": "700",
+ "$id": "714",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "696"
+ "$ref": "710"
},
"enumType": {
- "$ref": "695"
+ "$ref": "709"
},
"decorators": []
},
{
- "$id": "701",
+ "$id": "715",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "696"
+ "$ref": "710"
},
"enumType": {
- "$ref": "695"
+ "$ref": "709"
},
"decorators": []
}
@@ -8571,12 +8695,12 @@
"decorators": []
},
{
- "$id": "702",
+ "$id": "716",
"kind": "enum",
"name": "ComputerToolCallItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.ComputerToolCallItemResource.status.anonymous",
"valueType": {
- "$id": "703",
+ "$id": "717",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8584,41 +8708,41 @@
},
"values": [
{
- "$id": "704",
+ "$id": "718",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "703"
+ "$ref": "717"
},
"enumType": {
- "$ref": "702"
+ "$ref": "716"
},
"decorators": []
},
{
- "$id": "705",
+ "$id": "719",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "703"
+ "$ref": "717"
},
"enumType": {
- "$ref": "702"
+ "$ref": "716"
},
"decorators": []
},
{
- "$id": "706",
+ "$id": "720",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "703"
+ "$ref": "717"
},
"enumType": {
- "$ref": "702"
+ "$ref": "716"
},
"decorators": []
}
@@ -8630,12 +8754,12 @@
"decorators": []
},
{
- "$id": "707",
+ "$id": "721",
"kind": "enum",
"name": "ComputerToolCallOutputItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.ComputerToolCallOutputItemResource.status.anonymous",
"valueType": {
- "$id": "708",
+ "$id": "722",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8643,41 +8767,41 @@
},
"values": [
{
- "$id": "709",
+ "$id": "723",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "708"
+ "$ref": "722"
},
"enumType": {
- "$ref": "707"
+ "$ref": "721"
},
"decorators": []
},
{
- "$id": "710",
+ "$id": "724",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "708"
+ "$ref": "722"
},
"enumType": {
- "$ref": "707"
+ "$ref": "721"
},
"decorators": []
},
{
- "$id": "711",
+ "$id": "725",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "708"
+ "$ref": "722"
},
"enumType": {
- "$ref": "707"
+ "$ref": "721"
},
"decorators": []
}
@@ -8689,12 +8813,12 @@
"decorators": []
},
{
- "$id": "712",
+ "$id": "726",
"kind": "enum",
"name": "WebSearchToolCallItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.WebSearchToolCallItemResource.status.anonymous",
"valueType": {
- "$id": "713",
+ "$id": "727",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8702,54 +8826,54 @@
},
"values": [
{
- "$id": "714",
+ "$id": "728",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "713"
+ "$ref": "727"
},
"enumType": {
- "$ref": "712"
+ "$ref": "726"
},
"decorators": []
},
{
- "$id": "715",
+ "$id": "729",
"kind": "enumvalue",
"name": "searching",
"value": "searching",
"valueType": {
- "$ref": "713"
+ "$ref": "727"
},
"enumType": {
- "$ref": "712"
+ "$ref": "726"
},
"decorators": []
},
{
- "$id": "716",
+ "$id": "730",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "713"
+ "$ref": "727"
},
"enumType": {
- "$ref": "712"
+ "$ref": "726"
},
"decorators": []
},
{
- "$id": "717",
+ "$id": "731",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "713"
+ "$ref": "727"
},
"enumType": {
- "$ref": "712"
+ "$ref": "726"
},
"decorators": []
}
@@ -8761,12 +8885,12 @@
"decorators": []
},
{
- "$id": "718",
+ "$id": "732",
"kind": "enum",
"name": "FunctionToolCallItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.FunctionToolCallItemResource.status.anonymous",
"valueType": {
- "$id": "719",
+ "$id": "733",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8774,41 +8898,41 @@
},
"values": [
{
- "$id": "720",
+ "$id": "734",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "719"
+ "$ref": "733"
},
"enumType": {
- "$ref": "718"
+ "$ref": "732"
},
"decorators": []
},
{
- "$id": "721",
+ "$id": "735",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "719"
+ "$ref": "733"
},
"enumType": {
- "$ref": "718"
+ "$ref": "732"
},
"decorators": []
},
{
- "$id": "722",
+ "$id": "736",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "719"
+ "$ref": "733"
},
"enumType": {
- "$ref": "718"
+ "$ref": "732"
},
"decorators": []
}
@@ -8820,12 +8944,12 @@
"decorators": []
},
{
- "$id": "723",
+ "$id": "737",
"kind": "enum",
"name": "FunctionToolCallOutputItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.FunctionToolCallOutputItemResource.status.anonymous",
"valueType": {
- "$id": "724",
+ "$id": "738",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8833,41 +8957,41 @@
},
"values": [
{
- "$id": "725",
+ "$id": "739",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "724"
+ "$ref": "738"
},
"enumType": {
- "$ref": "723"
+ "$ref": "737"
},
"decorators": []
},
{
- "$id": "726",
+ "$id": "740",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "724"
+ "$ref": "738"
},
"enumType": {
- "$ref": "723"
+ "$ref": "737"
},
"decorators": []
},
{
- "$id": "727",
+ "$id": "741",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "724"
+ "$ref": "738"
},
"enumType": {
- "$ref": "723"
+ "$ref": "737"
},
"decorators": []
}
@@ -8879,12 +9003,12 @@
"decorators": []
},
{
- "$id": "728",
+ "$id": "742",
"kind": "enum",
"name": "ReasoningItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.ReasoningItemResource.status.anonymous",
"valueType": {
- "$id": "729",
+ "$id": "743",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8892,41 +9016,41 @@
},
"values": [
{
- "$id": "730",
+ "$id": "744",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "729"
+ "$ref": "743"
},
"enumType": {
- "$ref": "728"
+ "$ref": "742"
},
"decorators": []
},
{
- "$id": "731",
+ "$id": "745",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "729"
+ "$ref": "743"
},
"enumType": {
- "$ref": "728"
+ "$ref": "742"
},
"decorators": []
},
{
- "$id": "732",
+ "$id": "746",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "729"
+ "$ref": "743"
},
"enumType": {
- "$ref": "728"
+ "$ref": "742"
},
"decorators": []
}
@@ -8938,12 +9062,12 @@
"decorators": []
},
{
- "$id": "733",
+ "$id": "747",
"kind": "enum",
"name": "ImageGenToolCallItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.ImageGenToolCallItemResource.status.anonymous",
"valueType": {
- "$id": "734",
+ "$id": "748",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8951,54 +9075,54 @@
},
"values": [
{
- "$id": "735",
+ "$id": "749",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "734"
+ "$ref": "748"
},
"enumType": {
- "$ref": "733"
+ "$ref": "747"
},
"decorators": []
},
{
- "$id": "736",
+ "$id": "750",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "734"
+ "$ref": "748"
},
"enumType": {
- "$ref": "733"
+ "$ref": "747"
},
"decorators": []
},
{
- "$id": "737",
+ "$id": "751",
"kind": "enumvalue",
"name": "generating",
"value": "generating",
"valueType": {
- "$ref": "734"
+ "$ref": "748"
},
"enumType": {
- "$ref": "733"
+ "$ref": "747"
},
"decorators": []
},
{
- "$id": "738",
+ "$id": "752",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "734"
+ "$ref": "748"
},
"enumType": {
- "$ref": "733"
+ "$ref": "747"
},
"decorators": []
}
@@ -9010,12 +9134,12 @@
"decorators": []
},
{
- "$id": "739",
+ "$id": "753",
"kind": "enum",
"name": "CodeInterpreterToolCallItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.CodeInterpreterToolCallItemResource.status.anonymous",
"valueType": {
- "$id": "740",
+ "$id": "754",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9023,41 +9147,41 @@
},
"values": [
{
- "$id": "741",
+ "$id": "755",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "740"
+ "$ref": "754"
},
"enumType": {
- "$ref": "739"
+ "$ref": "753"
},
"decorators": []
},
{
- "$id": "742",
+ "$id": "756",
"kind": "enumvalue",
"name": "interpreting",
"value": "interpreting",
"valueType": {
- "$ref": "740"
+ "$ref": "754"
},
"enumType": {
- "$ref": "739"
+ "$ref": "753"
},
"decorators": []
},
{
- "$id": "743",
+ "$id": "757",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "740"
+ "$ref": "754"
},
"enumType": {
- "$ref": "739"
+ "$ref": "753"
},
"decorators": []
}
@@ -9069,12 +9193,12 @@
"decorators": []
},
{
- "$id": "744",
+ "$id": "758",
"kind": "enum",
"name": "LocalShellToolCallItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.LocalShellToolCallItemResource.status.anonymous",
"valueType": {
- "$id": "745",
+ "$id": "759",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9082,41 +9206,41 @@
},
"values": [
{
- "$id": "746",
+ "$id": "760",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "745"
+ "$ref": "759"
},
"enumType": {
- "$ref": "744"
+ "$ref": "758"
},
"decorators": []
},
{
- "$id": "747",
+ "$id": "761",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "745"
+ "$ref": "759"
},
"enumType": {
- "$ref": "744"
+ "$ref": "758"
},
"decorators": []
},
{
- "$id": "748",
+ "$id": "762",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "745"
+ "$ref": "759"
},
"enumType": {
- "$ref": "744"
+ "$ref": "758"
},
"decorators": []
}
@@ -9128,12 +9252,12 @@
"decorators": []
},
{
- "$id": "749",
+ "$id": "763",
"kind": "enum",
"name": "LocalShellToolCallOutputItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemResource.status.anonymous",
"valueType": {
- "$id": "750",
+ "$id": "764",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9141,41 +9265,41 @@
},
"values": [
{
- "$id": "751",
+ "$id": "765",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "750"
+ "$ref": "764"
},
"enumType": {
- "$ref": "749"
+ "$ref": "763"
},
"decorators": []
},
{
- "$id": "752",
+ "$id": "766",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "750"
+ "$ref": "764"
},
"enumType": {
- "$ref": "749"
+ "$ref": "763"
},
"decorators": []
},
{
- "$id": "753",
+ "$id": "767",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "750"
+ "$ref": "764"
},
"enumType": {
- "$ref": "749"
+ "$ref": "763"
},
"decorators": []
}
@@ -9187,12 +9311,12 @@
"decorators": []
},
{
- "$id": "754",
+ "$id": "768",
"kind": "enum",
"name": "ResponsesMessageItemResourceStatus",
"crossLanguageDefinitionId": "OpenAI.ResponsesMessageItemResource.status.anonymous",
"valueType": {
- "$id": "755",
+ "$id": "769",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9200,41 +9324,41 @@
},
"values": [
{
- "$id": "756",
+ "$id": "770",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "755"
+ "$ref": "769"
},
"enumType": {
- "$ref": "754"
+ "$ref": "768"
},
"decorators": []
},
{
- "$id": "757",
+ "$id": "771",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "755"
+ "$ref": "769"
},
"enumType": {
- "$ref": "754"
+ "$ref": "768"
},
"decorators": []
},
{
- "$id": "758",
+ "$id": "772",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "755"
+ "$ref": "769"
},
"enumType": {
- "$ref": "754"
+ "$ref": "768"
},
"decorators": []
}
@@ -9246,12 +9370,12 @@
"decorators": []
},
{
- "$id": "759",
+ "$id": "773",
"kind": "enum",
"name": "ResponseStreamEventType",
"crossLanguageDefinitionId": "OpenAI.ResponseStreamEventType",
"valueType": {
- "$id": "760",
+ "$id": "774",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9259,691 +9383,691 @@
},
"values": [
{
- "$id": "761",
+ "$id": "775",
"kind": "enumvalue",
"name": "response_audio_delta",
"value": "response.audio.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "762",
+ "$id": "776",
"kind": "enumvalue",
"name": "response_audio_done",
"value": "response.audio.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "763",
+ "$id": "777",
"kind": "enumvalue",
"name": "response_audio_transcript_delta",
"value": "response.audio_transcript.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "764",
+ "$id": "778",
"kind": "enumvalue",
"name": "response_audio_transcript_done",
"value": "response.audio_transcript.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "765",
+ "$id": "779",
"kind": "enumvalue",
"name": "response_code_interpreter_call_code_delta",
"value": "response.code_interpreter_call_code.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "766",
+ "$id": "780",
"kind": "enumvalue",
"name": "response_code_interpreter_call_code_done",
"value": "response.code_interpreter_call_code.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "767",
+ "$id": "781",
"kind": "enumvalue",
"name": "response_code_interpreter_call_completed",
"value": "response.code_interpreter_call.completed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "768",
+ "$id": "782",
"kind": "enumvalue",
"name": "response_code_interpreter_call_in_progress",
"value": "response.code_interpreter_call.in_progress",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "769",
+ "$id": "783",
"kind": "enumvalue",
"name": "response_code_interpreter_call_interpreting",
"value": "response.code_interpreter_call.interpreting",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "770",
+ "$id": "784",
"kind": "enumvalue",
"name": "response_completed",
"value": "response.completed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "771",
+ "$id": "785",
"kind": "enumvalue",
"name": "response_content_part_added",
"value": "response.content_part.added",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "772",
+ "$id": "786",
"kind": "enumvalue",
"name": "response_content_part_done",
"value": "response.content_part.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "773",
+ "$id": "787",
"kind": "enumvalue",
"name": "response_created",
"value": "response.created",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "774",
+ "$id": "788",
"kind": "enumvalue",
"name": "error",
"value": "error",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "775",
+ "$id": "789",
"kind": "enumvalue",
"name": "response_file_search_call_completed",
"value": "response.file_search_call.completed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "776",
+ "$id": "790",
"kind": "enumvalue",
"name": "response_file_search_call_in_progress",
"value": "response.file_search_call.in_progress",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "777",
+ "$id": "791",
"kind": "enumvalue",
"name": "response_file_search_call_searching",
"value": "response.file_search_call.searching",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "778",
+ "$id": "792",
"kind": "enumvalue",
"name": "response_function_call_arguments_delta",
"value": "response.function_call_arguments.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "779",
+ "$id": "793",
"kind": "enumvalue",
"name": "response_function_call_arguments_done",
"value": "response.function_call_arguments.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "780",
+ "$id": "794",
"kind": "enumvalue",
"name": "response_in_progress",
"value": "response.in_progress",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "781",
+ "$id": "795",
"kind": "enumvalue",
"name": "response_failed",
"value": "response.failed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "782",
+ "$id": "796",
"kind": "enumvalue",
"name": "response_incomplete",
"value": "response.incomplete",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "783",
+ "$id": "797",
"kind": "enumvalue",
"name": "response_output_item_added",
"value": "response.output_item.added",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "784",
+ "$id": "798",
"kind": "enumvalue",
"name": "response_output_item_done",
"value": "response.output_item.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "785",
+ "$id": "799",
"kind": "enumvalue",
"name": "response_refusal_delta",
"value": "response.refusal.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "786",
+ "$id": "800",
"kind": "enumvalue",
"name": "response_refusal_done",
"value": "response.refusal.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "787",
+ "$id": "801",
"kind": "enumvalue",
"name": "response_output_text_annotation_added",
"value": "response.output_text.annotation.added",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "788",
+ "$id": "802",
"kind": "enumvalue",
"name": "response_output_text_delta",
"value": "response.output_text.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "789",
+ "$id": "803",
"kind": "enumvalue",
"name": "response_output_text_done",
"value": "response.output_text.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "790",
+ "$id": "804",
"kind": "enumvalue",
"name": "response_reasoning_summary_part_added",
"value": "response.reasoning_summary_part.added",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "791",
+ "$id": "805",
"kind": "enumvalue",
"name": "response_reasoning_summary_part_done",
"value": "response.reasoning_summary_part.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "792",
+ "$id": "806",
"kind": "enumvalue",
"name": "response_reasoning_summary_text_delta",
"value": "response.reasoning_summary_text.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "793",
+ "$id": "807",
"kind": "enumvalue",
"name": "response_reasoning_summary_text_done",
"value": "response.reasoning_summary_text.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "794",
+ "$id": "808",
"kind": "enumvalue",
"name": "response_web_search_call_completed",
"value": "response.web_search_call.completed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "795",
+ "$id": "809",
"kind": "enumvalue",
"name": "response_web_search_call_in_progress",
"value": "response.web_search_call.in_progress",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "796",
+ "$id": "810",
"kind": "enumvalue",
"name": "response_web_search_call_searching",
"value": "response.web_search_call.searching",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "797",
+ "$id": "811",
"kind": "enumvalue",
"name": "response_image_generation_call_completed",
"value": "response.image_generation_call.completed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "798",
+ "$id": "812",
"kind": "enumvalue",
"name": "response_image_generation_call_generating",
"value": "response.image_generation_call.generating",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "799",
+ "$id": "813",
"kind": "enumvalue",
"name": "response_image_generation_call_in_progress",
"value": "response.image_generation_call.in_progress",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "800",
+ "$id": "814",
"kind": "enumvalue",
"name": "response_image_generation_call_partial_image",
"value": "response.image_generation_call.partial_image",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "801",
+ "$id": "815",
"kind": "enumvalue",
"name": "response_mcp_call_arguments_delta",
"value": "response.mcp_call_arguments.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "802",
+ "$id": "816",
"kind": "enumvalue",
"name": "response_mcp_call_arguments_done",
"value": "response.mcp_call_arguments.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "803",
+ "$id": "817",
"kind": "enumvalue",
"name": "response_mcp_call_completed",
"value": "response.mcp_call.completed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "804",
+ "$id": "818",
"kind": "enumvalue",
"name": "response_mcp_call_failed",
"value": "response.mcp_call.failed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "805",
+ "$id": "819",
"kind": "enumvalue",
"name": "response_mcp_call_in_progress",
"value": "response.mcp_call.in_progress",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "806",
+ "$id": "820",
"kind": "enumvalue",
"name": "response_mcp_list_tools_completed",
"value": "response.mcp_list_tools.completed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "807",
+ "$id": "821",
"kind": "enumvalue",
"name": "response_mcp_list_tools_failed",
"value": "response.mcp_list_tools.failed",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "808",
+ "$id": "822",
"kind": "enumvalue",
"name": "response_mcp_list_tools_in_progress",
"value": "response.mcp_list_tools.in_progress",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "809",
+ "$id": "823",
"kind": "enumvalue",
"name": "response_queued",
"value": "response.queued",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "810",
+ "$id": "824",
"kind": "enumvalue",
"name": "response_reasoning_delta",
"value": "response.reasoning.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "811",
+ "$id": "825",
"kind": "enumvalue",
"name": "response_reasoning_done",
"value": "response.reasoning.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "812",
+ "$id": "826",
"kind": "enumvalue",
"name": "response_reasoning_summary_delta",
"value": "response.reasoning_summary.delta",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
},
{
- "$id": "813",
+ "$id": "827",
"kind": "enumvalue",
"name": "response_reasoning_summary_done",
"value": "response.reasoning_summary.done",
"valueType": {
- "$ref": "760"
+ "$ref": "774"
},
"enumType": {
- "$ref": "759"
+ "$ref": "773"
},
"decorators": []
}
@@ -9955,12 +10079,12 @@
"decorators": []
},
{
- "$id": "814",
+ "$id": "828",
"kind": "enum",
"name": "CreateImageRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.model.anonymous",
"valueType": {
- "$id": "815",
+ "$id": "829",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9968,41 +10092,41 @@
},
"values": [
{
- "$id": "816",
+ "$id": "830",
"kind": "enumvalue",
"name": "dall-e-2",
"value": "dall-e-2",
"valueType": {
- "$ref": "815"
+ "$ref": "829"
},
"enumType": {
- "$ref": "814"
+ "$ref": "828"
},
"decorators": []
},
{
- "$id": "817",
+ "$id": "831",
"kind": "enumvalue",
"name": "dall-e-3",
"value": "dall-e-3",
"valueType": {
- "$ref": "815"
+ "$ref": "829"
},
"enumType": {
- "$ref": "814"
+ "$ref": "828"
},
"decorators": []
},
{
- "$id": "818",
+ "$id": "832",
"kind": "enumvalue",
"name": "gpt-image-1",
"value": "gpt-image-1",
"valueType": {
- "$ref": "815"
+ "$ref": "829"
},
"enumType": {
- "$ref": "814"
+ "$ref": "828"
},
"decorators": []
}
@@ -10014,12 +10138,12 @@
"decorators": []
},
{
- "$id": "819",
+ "$id": "833",
"kind": "enum",
"name": "CreateImageRequestQuality",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.quality.anonymous",
"valueType": {
- "$id": "820",
+ "$id": "834",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10027,80 +10151,80 @@
},
"values": [
{
- "$id": "821",
+ "$id": "835",
"kind": "enumvalue",
"name": "standard",
"value": "standard",
"valueType": {
- "$ref": "820"
+ "$ref": "834"
},
"enumType": {
- "$ref": "819"
+ "$ref": "833"
},
"decorators": []
},
{
- "$id": "822",
+ "$id": "836",
"kind": "enumvalue",
"name": "hd",
"value": "hd",
"valueType": {
- "$ref": "820"
+ "$ref": "834"
},
"enumType": {
- "$ref": "819"
+ "$ref": "833"
},
"decorators": []
},
{
- "$id": "823",
+ "$id": "837",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "820"
+ "$ref": "834"
},
"enumType": {
- "$ref": "819"
+ "$ref": "833"
},
"decorators": []
},
{
- "$id": "824",
+ "$id": "838",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "820"
+ "$ref": "834"
},
"enumType": {
- "$ref": "819"
+ "$ref": "833"
},
"decorators": []
},
{
- "$id": "825",
+ "$id": "839",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "820"
+ "$ref": "834"
},
"enumType": {
- "$ref": "819"
+ "$ref": "833"
},
"decorators": []
},
{
- "$id": "826",
+ "$id": "840",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "820"
+ "$ref": "834"
},
"enumType": {
- "$ref": "819"
+ "$ref": "833"
},
"decorators": []
}
@@ -10112,12 +10236,12 @@
"decorators": []
},
{
- "$id": "827",
+ "$id": "841",
"kind": "enum",
"name": "CreateImageRequestResponseFormat",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.response_format.anonymous",
"valueType": {
- "$id": "828",
+ "$id": "842",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10125,28 +10249,28 @@
},
"values": [
{
- "$id": "829",
+ "$id": "843",
"kind": "enumvalue",
"name": "url",
"value": "url",
"valueType": {
- "$ref": "828"
+ "$ref": "842"
},
"enumType": {
- "$ref": "827"
+ "$ref": "841"
},
"decorators": []
},
{
- "$id": "830",
+ "$id": "844",
"kind": "enumvalue",
"name": "b64_json",
"value": "b64_json",
"valueType": {
- "$ref": "828"
+ "$ref": "842"
},
"enumType": {
- "$ref": "827"
+ "$ref": "841"
},
"decorators": []
}
@@ -10158,12 +10282,12 @@
"decorators": []
},
{
- "$id": "831",
+ "$id": "845",
"kind": "enum",
"name": "CreateImageRequestOutputFormat",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_format.anonymous",
"valueType": {
- "$id": "832",
+ "$id": "846",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10171,41 +10295,41 @@
},
"values": [
{
- "$id": "833",
+ "$id": "847",
"kind": "enumvalue",
"name": "png",
"value": "png",
"valueType": {
- "$ref": "832"
+ "$ref": "846"
},
"enumType": {
- "$ref": "831"
+ "$ref": "845"
},
"decorators": []
},
{
- "$id": "834",
+ "$id": "848",
"kind": "enumvalue",
"name": "jpeg",
"value": "jpeg",
"valueType": {
- "$ref": "832"
+ "$ref": "846"
},
"enumType": {
- "$ref": "831"
+ "$ref": "845"
},
"decorators": []
},
{
- "$id": "835",
+ "$id": "849",
"kind": "enumvalue",
"name": "webp",
"value": "webp",
"valueType": {
- "$ref": "832"
+ "$ref": "846"
},
"enumType": {
- "$ref": "831"
+ "$ref": "845"
},
"decorators": []
}
@@ -10217,12 +10341,12 @@
"decorators": []
},
{
- "$id": "836",
+ "$id": "850",
"kind": "enum",
"name": "CreateImageRequestSize",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.size.anonymous",
"valueType": {
- "$id": "837",
+ "$id": "851",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10230,106 +10354,106 @@
},
"values": [
{
- "$id": "838",
+ "$id": "852",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
},
{
- "$id": "839",
+ "$id": "853",
"kind": "enumvalue",
"name": "1024x1024",
"value": "1024x1024",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
},
{
- "$id": "840",
+ "$id": "854",
"kind": "enumvalue",
"name": "1536x1024",
"value": "1536x1024",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
},
{
- "$id": "841",
+ "$id": "855",
"kind": "enumvalue",
"name": "1024x1536",
"value": "1024x1536",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
},
{
- "$id": "842",
+ "$id": "856",
"kind": "enumvalue",
"name": "256x256",
"value": "256x256",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
},
{
- "$id": "843",
+ "$id": "857",
"kind": "enumvalue",
"name": "512x512",
"value": "512x512",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
},
{
- "$id": "844",
+ "$id": "858",
"kind": "enumvalue",
"name": "1792x1024",
"value": "1792x1024",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
},
{
- "$id": "845",
+ "$id": "859",
"kind": "enumvalue",
"name": "1024x1792",
"value": "1024x1792",
"valueType": {
- "$ref": "837"
+ "$ref": "851"
},
"enumType": {
- "$ref": "836"
+ "$ref": "850"
},
"decorators": []
}
@@ -10341,12 +10465,12 @@
"decorators": []
},
{
- "$id": "846",
+ "$id": "860",
"kind": "enum",
"name": "CreateImageRequestModeration",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.moderation.anonymous",
"valueType": {
- "$id": "847",
+ "$id": "861",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10354,28 +10478,28 @@
},
"values": [
{
- "$id": "848",
+ "$id": "862",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "847"
+ "$ref": "861"
},
"enumType": {
- "$ref": "846"
+ "$ref": "860"
},
"decorators": []
},
{
- "$id": "849",
+ "$id": "863",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "847"
+ "$ref": "861"
},
"enumType": {
- "$ref": "846"
+ "$ref": "860"
},
"decorators": []
}
@@ -10387,12 +10511,12 @@
"decorators": []
},
{
- "$id": "850",
+ "$id": "864",
"kind": "enum",
"name": "CreateImageRequestBackground",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.background.anonymous",
"valueType": {
- "$id": "851",
+ "$id": "865",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10400,41 +10524,41 @@
},
"values": [
{
- "$id": "852",
+ "$id": "866",
"kind": "enumvalue",
"name": "transparent",
"value": "transparent",
"valueType": {
- "$ref": "851"
+ "$ref": "865"
},
"enumType": {
- "$ref": "850"
+ "$ref": "864"
},
"decorators": []
},
{
- "$id": "853",
+ "$id": "867",
"kind": "enumvalue",
"name": "opaque",
"value": "opaque",
"valueType": {
- "$ref": "851"
+ "$ref": "865"
},
"enumType": {
- "$ref": "850"
+ "$ref": "864"
},
"decorators": []
},
{
- "$id": "854",
+ "$id": "868",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "851"
+ "$ref": "865"
},
"enumType": {
- "$ref": "850"
+ "$ref": "864"
},
"decorators": []
}
@@ -10446,12 +10570,12 @@
"decorators": []
},
{
- "$id": "855",
+ "$id": "869",
"kind": "enum",
"name": "CreateImageRequestStyle",
"crossLanguageDefinitionId": "OpenAI.CreateImageRequest.style.anonymous",
"valueType": {
- "$id": "856",
+ "$id": "870",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10459,28 +10583,28 @@
},
"values": [
{
- "$id": "857",
+ "$id": "871",
"kind": "enumvalue",
"name": "vivid",
"value": "vivid",
"valueType": {
- "$ref": "856"
+ "$ref": "870"
},
"enumType": {
- "$ref": "855"
+ "$ref": "869"
},
"decorators": []
},
{
- "$id": "858",
+ "$id": "872",
"kind": "enumvalue",
"name": "natural",
"value": "natural",
"valueType": {
- "$ref": "856"
+ "$ref": "870"
},
"enumType": {
- "$ref": "855"
+ "$ref": "869"
},
"decorators": []
}
@@ -10492,12 +10616,12 @@
"decorators": []
},
{
- "$id": "859",
+ "$id": "873",
"kind": "enum",
"name": "CreateImageEditRequestBackground",
"crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.background.anonymous",
"valueType": {
- "$id": "860",
+ "$id": "874",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10505,41 +10629,41 @@
},
"values": [
{
- "$id": "861",
+ "$id": "875",
"kind": "enumvalue",
"name": "transparent",
"value": "transparent",
"valueType": {
- "$ref": "860"
+ "$ref": "874"
},
"enumType": {
- "$ref": "859"
+ "$ref": "873"
},
"decorators": []
},
{
- "$id": "862",
+ "$id": "876",
"kind": "enumvalue",
"name": "opaque",
"value": "opaque",
"valueType": {
- "$ref": "860"
+ "$ref": "874"
},
"enumType": {
- "$ref": "859"
+ "$ref": "873"
},
"decorators": []
},
{
- "$id": "863",
+ "$id": "877",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "860"
+ "$ref": "874"
},
"enumType": {
- "$ref": "859"
+ "$ref": "873"
},
"decorators": []
}
@@ -10551,12 +10675,12 @@
"decorators": []
},
{
- "$id": "864",
+ "$id": "878",
"kind": "enum",
"name": "CreateImageEditRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.model.anonymous",
"valueType": {
- "$id": "865",
+ "$id": "879",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10564,28 +10688,28 @@
},
"values": [
{
- "$id": "866",
+ "$id": "880",
"kind": "enumvalue",
"name": "dall-e-2",
"value": "dall-e-2",
"valueType": {
- "$ref": "865"
+ "$ref": "879"
},
"enumType": {
- "$ref": "864"
+ "$ref": "878"
},
"decorators": []
},
{
- "$id": "867",
+ "$id": "881",
"kind": "enumvalue",
"name": "gpt-image-1",
"value": "gpt-image-1",
"valueType": {
- "$ref": "865"
+ "$ref": "879"
},
"enumType": {
- "$ref": "864"
+ "$ref": "878"
},
"decorators": []
}
@@ -10597,12 +10721,12 @@
"decorators": []
},
{
- "$id": "868",
+ "$id": "882",
"kind": "enum",
"name": "CreateImageEditRequestSize",
"crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.size.anonymous",
"valueType": {
- "$id": "869",
+ "$id": "883",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10610,80 +10734,80 @@
},
"values": [
{
- "$id": "870",
+ "$id": "884",
"kind": "enumvalue",
"name": "256x256",
"value": "256x256",
"valueType": {
- "$ref": "869"
+ "$ref": "883"
},
"enumType": {
- "$ref": "868"
+ "$ref": "882"
},
"decorators": []
},
{
- "$id": "871",
+ "$id": "885",
"kind": "enumvalue",
"name": "512x512",
"value": "512x512",
"valueType": {
- "$ref": "869"
+ "$ref": "883"
},
"enumType": {
- "$ref": "868"
+ "$ref": "882"
},
"decorators": []
},
{
- "$id": "872",
+ "$id": "886",
"kind": "enumvalue",
"name": "1024x1024",
"value": "1024x1024",
"valueType": {
- "$ref": "869"
+ "$ref": "883"
},
"enumType": {
- "$ref": "868"
+ "$ref": "882"
},
"decorators": []
},
{
- "$id": "873",
+ "$id": "887",
"kind": "enumvalue",
"name": "1536x1024",
"value": "1536x1024",
"valueType": {
- "$ref": "869"
+ "$ref": "883"
},
"enumType": {
- "$ref": "868"
+ "$ref": "882"
},
"decorators": []
},
{
- "$id": "874",
+ "$id": "888",
"kind": "enumvalue",
"name": "1024x1536",
"value": "1024x1536",
"valueType": {
- "$ref": "869"
+ "$ref": "883"
},
"enumType": {
- "$ref": "868"
+ "$ref": "882"
},
"decorators": []
},
{
- "$id": "875",
+ "$id": "889",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "869"
+ "$ref": "883"
},
"enumType": {
- "$ref": "868"
+ "$ref": "882"
},
"decorators": []
}
@@ -10695,12 +10819,12 @@
"decorators": []
},
{
- "$id": "876",
+ "$id": "890",
"kind": "enum",
"name": "CreateImageEditRequestResponseFormat",
"crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.response_format.anonymous",
"valueType": {
- "$id": "877",
+ "$id": "891",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10708,28 +10832,28 @@
},
"values": [
{
- "$id": "878",
+ "$id": "892",
"kind": "enumvalue",
"name": "url",
"value": "url",
"valueType": {
- "$ref": "877"
+ "$ref": "891"
},
"enumType": {
- "$ref": "876"
+ "$ref": "890"
},
"decorators": []
},
{
- "$id": "879",
+ "$id": "893",
"kind": "enumvalue",
"name": "b64_json",
"value": "b64_json",
"valueType": {
- "$ref": "877"
+ "$ref": "891"
},
"enumType": {
- "$ref": "876"
+ "$ref": "890"
},
"decorators": []
}
@@ -10741,12 +10865,12 @@
"decorators": []
},
{
- "$id": "880",
+ "$id": "894",
"kind": "enum",
"name": "CreateImageEditRequestQuality",
"crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.quality.anonymous",
"valueType": {
- "$id": "881",
+ "$id": "895",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10754,67 +10878,67 @@
},
"values": [
{
- "$id": "882",
+ "$id": "896",
"kind": "enumvalue",
"name": "standard",
"value": "standard",
"valueType": {
- "$ref": "881"
+ "$ref": "895"
},
"enumType": {
- "$ref": "880"
+ "$ref": "894"
},
"decorators": []
},
{
- "$id": "883",
+ "$id": "897",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "881"
+ "$ref": "895"
},
"enumType": {
- "$ref": "880"
+ "$ref": "894"
},
"decorators": []
},
{
- "$id": "884",
+ "$id": "898",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "881"
+ "$ref": "895"
},
"enumType": {
- "$ref": "880"
+ "$ref": "894"
},
"decorators": []
},
{
- "$id": "885",
+ "$id": "899",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "881"
+ "$ref": "895"
},
"enumType": {
- "$ref": "880"
+ "$ref": "894"
},
"decorators": []
},
{
- "$id": "886",
+ "$id": "900",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "881"
+ "$ref": "895"
},
"enumType": {
- "$ref": "880"
+ "$ref": "894"
},
"decorators": []
}
@@ -10826,12 +10950,12 @@
"decorators": []
},
{
- "$id": "887",
+ "$id": "901",
"kind": "enum",
"name": "CreateImageVariationRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.model.anonymous",
"valueType": {
- "$id": "888",
+ "$id": "902",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10839,15 +10963,15 @@
},
"values": [
{
- "$id": "889",
+ "$id": "903",
"kind": "enumvalue",
"name": "dall-e-2",
"value": "dall-e-2",
"valueType": {
- "$ref": "888"
+ "$ref": "902"
},
"enumType": {
- "$ref": "887"
+ "$ref": "901"
},
"decorators": []
}
@@ -10859,12 +10983,12 @@
"decorators": []
},
{
- "$id": "890",
+ "$id": "904",
"kind": "enum",
"name": "CreateImageVariationRequestResponseFormat",
"crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.response_format.anonymous",
"valueType": {
- "$id": "891",
+ "$id": "905",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10872,28 +10996,28 @@
},
"values": [
{
- "$id": "892",
+ "$id": "906",
"kind": "enumvalue",
"name": "url",
"value": "url",
"valueType": {
- "$ref": "891"
+ "$ref": "905"
},
"enumType": {
- "$ref": "890"
+ "$ref": "904"
},
"decorators": []
},
{
- "$id": "893",
+ "$id": "907",
"kind": "enumvalue",
"name": "b64_json",
"value": "b64_json",
"valueType": {
- "$ref": "891"
+ "$ref": "905"
},
"enumType": {
- "$ref": "890"
+ "$ref": "904"
},
"decorators": []
}
@@ -10905,12 +11029,12 @@
"decorators": []
},
{
- "$id": "894",
+ "$id": "908",
"kind": "enum",
"name": "CreateImageVariationRequestSize",
"crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.size.anonymous",
"valueType": {
- "$id": "895",
+ "$id": "909",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10918,41 +11042,41 @@
},
"values": [
{
- "$id": "896",
+ "$id": "910",
"kind": "enumvalue",
"name": "256x256",
"value": "256x256",
"valueType": {
- "$ref": "895"
+ "$ref": "909"
},
"enumType": {
- "$ref": "894"
+ "$ref": "908"
},
"decorators": []
},
{
- "$id": "897",
+ "$id": "911",
"kind": "enumvalue",
"name": "512x512",
"value": "512x512",
"valueType": {
- "$ref": "895"
+ "$ref": "909"
},
"enumType": {
- "$ref": "894"
+ "$ref": "908"
},
"decorators": []
},
{
- "$id": "898",
+ "$id": "912",
"kind": "enumvalue",
"name": "1024x1024",
"value": "1024x1024",
"valueType": {
- "$ref": "895"
+ "$ref": "909"
},
"enumType": {
- "$ref": "894"
+ "$ref": "908"
},
"decorators": []
}
@@ -10964,12 +11088,12 @@
"decorators": []
},
{
- "$id": "899",
+ "$id": "913",
"kind": "enum",
"name": "CreateMessageRequestRole",
"crossLanguageDefinitionId": "OpenAI.CreateMessageRequest.role.anonymous",
"valueType": {
- "$id": "900",
+ "$id": "914",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10977,28 +11101,28 @@
},
"values": [
{
- "$id": "901",
+ "$id": "915",
"kind": "enumvalue",
"name": "user",
"value": "user",
"valueType": {
- "$ref": "900"
+ "$ref": "914"
},
"enumType": {
- "$ref": "899"
+ "$ref": "913"
},
"decorators": []
},
{
- "$id": "902",
+ "$id": "916",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "900"
+ "$ref": "914"
},
"enumType": {
- "$ref": "899"
+ "$ref": "913"
},
"decorators": []
}
@@ -11010,12 +11134,12 @@
"decorators": []
},
{
- "$id": "903",
+ "$id": "917",
"kind": "enum",
"name": "MessageContentType",
"crossLanguageDefinitionId": "OpenAI.MessageContentType",
"valueType": {
- "$id": "904",
+ "$id": "918",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11023,57 +11147,57 @@
},
"values": [
{
- "$id": "905",
+ "$id": "919",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "904"
+ "$ref": "918"
},
"enumType": {
- "$ref": "903"
+ "$ref": "917"
},
"doc": "The content is a text message.",
"decorators": []
},
{
- "$id": "906",
+ "$id": "920",
"kind": "enumvalue",
"name": "image_file",
"value": "image_file",
"valueType": {
- "$ref": "904"
+ "$ref": "918"
},
"enumType": {
- "$ref": "903"
+ "$ref": "917"
},
"doc": "The content is an image file.",
"decorators": []
},
{
- "$id": "907",
+ "$id": "921",
"kind": "enumvalue",
"name": "image_url",
"value": "image_url",
"valueType": {
- "$ref": "904"
+ "$ref": "918"
},
"enumType": {
- "$ref": "903"
+ "$ref": "917"
},
"doc": "The content is an image URL.",
"decorators": []
},
{
- "$id": "908",
+ "$id": "922",
"kind": "enumvalue",
"name": "refusal",
"value": "refusal",
"valueType": {
- "$ref": "904"
+ "$ref": "918"
},
"enumType": {
- "$ref": "903"
+ "$ref": "917"
},
"doc": "The content is a refusal message.",
"decorators": []
@@ -11086,12 +11210,12 @@
"decorators": []
},
{
- "$id": "909",
+ "$id": "923",
"kind": "enum",
"name": "MessageContentImageFileObjectImageFileDetail",
"crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.detail.anonymous",
"valueType": {
- "$id": "910",
+ "$id": "924",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11099,41 +11223,41 @@
},
"values": [
{
- "$id": "911",
+ "$id": "925",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "910"
+ "$ref": "924"
},
"enumType": {
- "$ref": "909"
+ "$ref": "923"
},
"decorators": []
},
{
- "$id": "912",
+ "$id": "926",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "910"
+ "$ref": "924"
},
"enumType": {
- "$ref": "909"
+ "$ref": "923"
},
"decorators": []
},
{
- "$id": "913",
+ "$id": "927",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "910"
+ "$ref": "924"
},
"enumType": {
- "$ref": "909"
+ "$ref": "923"
},
"decorators": []
}
@@ -11145,12 +11269,12 @@
"decorators": []
},
{
- "$id": "914",
+ "$id": "928",
"kind": "enum",
"name": "MessageContentTextAnnotationType",
"crossLanguageDefinitionId": "OpenAI.MessageContentTextAnnotationType",
"valueType": {
- "$id": "915",
+ "$id": "929",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11158,28 +11282,28 @@
},
"values": [
{
- "$id": "916",
+ "$id": "930",
"kind": "enumvalue",
"name": "file_citation",
"value": "file_citation",
"valueType": {
- "$ref": "915"
+ "$ref": "929"
},
"enumType": {
- "$ref": "914"
+ "$ref": "928"
},
"decorators": []
},
{
- "$id": "917",
+ "$id": "931",
"kind": "enumvalue",
"name": "file_path",
"value": "file_path",
"valueType": {
- "$ref": "915"
+ "$ref": "929"
},
"enumType": {
- "$ref": "914"
+ "$ref": "928"
},
"decorators": []
}
@@ -11191,12 +11315,12 @@
"decorators": []
},
{
- "$id": "918",
+ "$id": "932",
"kind": "enum",
"name": "MessageContentImageUrlObjectImageUrlDetail",
"crossLanguageDefinitionId": "OpenAI.MessageContentImageUrlObject.image_url.detail.anonymous",
"valueType": {
- "$id": "919",
+ "$id": "933",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11204,41 +11328,41 @@
},
"values": [
{
- "$id": "920",
+ "$id": "934",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "919"
+ "$ref": "933"
},
"enumType": {
- "$ref": "918"
+ "$ref": "932"
},
"decorators": []
},
{
- "$id": "921",
+ "$id": "935",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "919"
+ "$ref": "933"
},
"enumType": {
- "$ref": "918"
+ "$ref": "932"
},
"decorators": []
},
{
- "$id": "922",
+ "$id": "936",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "919"
+ "$ref": "933"
},
"enumType": {
- "$ref": "918"
+ "$ref": "932"
},
"decorators": []
}
@@ -11250,12 +11374,12 @@
"decorators": []
},
{
- "$id": "923",
+ "$id": "937",
"kind": "enum",
"name": "MessageObjectStatus",
"crossLanguageDefinitionId": "OpenAI.MessageObject.status.anonymous",
"valueType": {
- "$id": "924",
+ "$id": "938",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11263,41 +11387,41 @@
},
"values": [
{
- "$id": "925",
+ "$id": "939",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "924"
+ "$ref": "938"
},
"enumType": {
- "$ref": "923"
+ "$ref": "937"
},
"decorators": []
},
{
- "$id": "926",
+ "$id": "940",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "924"
+ "$ref": "938"
},
"enumType": {
- "$ref": "923"
+ "$ref": "937"
},
"decorators": []
},
{
- "$id": "927",
+ "$id": "941",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "924"
+ "$ref": "938"
},
"enumType": {
- "$ref": "923"
+ "$ref": "937"
},
"decorators": []
}
@@ -11309,12 +11433,12 @@
"decorators": []
},
{
- "$id": "928",
+ "$id": "942",
"kind": "enum",
"name": "MessageObjectIncompleteDetailsReason",
"crossLanguageDefinitionId": "OpenAI.MessageObject.incomplete_details.reason.anonymous",
"valueType": {
- "$id": "929",
+ "$id": "943",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11322,67 +11446,67 @@
},
"values": [
{
- "$id": "930",
+ "$id": "944",
"kind": "enumvalue",
"name": "content_filter",
"value": "content_filter",
"valueType": {
- "$ref": "929"
+ "$ref": "943"
},
"enumType": {
- "$ref": "928"
+ "$ref": "942"
},
"decorators": []
},
{
- "$id": "931",
+ "$id": "945",
"kind": "enumvalue",
"name": "max_tokens",
"value": "max_tokens",
"valueType": {
- "$ref": "929"
+ "$ref": "943"
},
"enumType": {
- "$ref": "928"
+ "$ref": "942"
},
"decorators": []
},
{
- "$id": "932",
+ "$id": "946",
"kind": "enumvalue",
"name": "run_cancelled",
"value": "run_cancelled",
"valueType": {
- "$ref": "929"
+ "$ref": "943"
},
"enumType": {
- "$ref": "928"
+ "$ref": "942"
},
"decorators": []
},
{
- "$id": "933",
+ "$id": "947",
"kind": "enumvalue",
"name": "run_expired",
"value": "run_expired",
"valueType": {
- "$ref": "929"
+ "$ref": "943"
},
"enumType": {
- "$ref": "928"
+ "$ref": "942"
},
"decorators": []
},
{
- "$id": "934",
+ "$id": "948",
"kind": "enumvalue",
"name": "run_failed",
"value": "run_failed",
"valueType": {
- "$ref": "929"
+ "$ref": "943"
},
"enumType": {
- "$ref": "928"
+ "$ref": "942"
},
"decorators": []
}
@@ -11394,12 +11518,12 @@
"decorators": []
},
{
- "$id": "935",
+ "$id": "949",
"kind": "enum",
"name": "MessageObjectRole",
"crossLanguageDefinitionId": "OpenAI.MessageObject.role.anonymous",
"valueType": {
- "$id": "936",
+ "$id": "950",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11407,28 +11531,28 @@
},
"values": [
{
- "$id": "937",
+ "$id": "951",
"kind": "enumvalue",
"name": "user",
"value": "user",
"valueType": {
- "$ref": "936"
+ "$ref": "950"
},
"enumType": {
- "$ref": "935"
+ "$ref": "949"
},
"decorators": []
},
{
- "$id": "938",
+ "$id": "952",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "936"
+ "$ref": "950"
},
"enumType": {
- "$ref": "935"
+ "$ref": "949"
},
"decorators": []
}
@@ -11440,12 +11564,12 @@
"decorators": []
},
{
- "$id": "939",
+ "$id": "953",
"kind": "enum",
"name": "CreateModerationRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateModerationRequest.model.anonymous",
"valueType": {
- "$id": "940",
+ "$id": "954",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11453,54 +11577,54 @@
},
"values": [
{
- "$id": "941",
+ "$id": "955",
"kind": "enumvalue",
"name": "omni-moderation-latest",
"value": "omni-moderation-latest",
"valueType": {
- "$ref": "940"
+ "$ref": "954"
},
"enumType": {
- "$ref": "939"
+ "$ref": "953"
},
"decorators": []
},
{
- "$id": "942",
+ "$id": "956",
"kind": "enumvalue",
"name": "omni-moderation-2024-09-26",
"value": "omni-moderation-2024-09-26",
"valueType": {
- "$ref": "940"
+ "$ref": "954"
},
"enumType": {
- "$ref": "939"
+ "$ref": "953"
},
"decorators": []
},
{
- "$id": "943",
+ "$id": "957",
"kind": "enumvalue",
"name": "text-moderation-latest",
"value": "text-moderation-latest",
"valueType": {
- "$ref": "940"
+ "$ref": "954"
},
"enumType": {
- "$ref": "939"
+ "$ref": "953"
},
"decorators": []
},
{
- "$id": "944",
+ "$id": "958",
"kind": "enumvalue",
"name": "text-moderation-stable",
"value": "text-moderation-stable",
"valueType": {
- "$ref": "940"
+ "$ref": "954"
},
"enumType": {
- "$ref": "939"
+ "$ref": "953"
},
"decorators": []
}
@@ -11512,58 +11636,12 @@
"decorators": []
},
{
- "$id": "945",
- "kind": "enum",
- "name": "ModerationAppliedInputType",
- "crossLanguageDefinitionId": "OpenAI.ModerationAppliedInputType",
- "valueType": {
- "$id": "946",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "values": [
- {
- "$id": "947",
- "kind": "enumvalue",
- "name": "text",
- "value": "text",
- "valueType": {
- "$ref": "946"
- },
- "enumType": {
- "$ref": "945"
- },
- "decorators": []
- },
- {
- "$id": "948",
- "kind": "enumvalue",
- "name": "image",
- "value": "image",
- "valueType": {
- "$ref": "946"
- },
- "enumType": {
- "$ref": "945"
- },
- "decorators": []
- }
- ],
- "namespace": "OpenAI",
- "isFixed": false,
- "isFlags": false,
- "usage": "Output,Json",
- "decorators": []
- },
- {
- "$id": "949",
+ "$id": "959",
"kind": "enum",
"name": "CreateThreadAndRunRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.model.anonymous",
"valueType": {
- "$id": "950",
+ "$id": "960",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -11571,418 +11649,418 @@
},
"values": [
{
- "$id": "951",
+ "$id": "961",
"kind": "enumvalue",
"name": "gpt-4.1",
"value": "gpt-4.1",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "952",
+ "$id": "962",
"kind": "enumvalue",
"name": "gpt-4.1-mini",
"value": "gpt-4.1-mini",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "953",
+ "$id": "963",
"kind": "enumvalue",
"name": "gpt-4.1-nano",
"value": "gpt-4.1-nano",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "954",
+ "$id": "964",
"kind": "enumvalue",
"name": "gpt-4.1-2025-04-14",
"value": "gpt-4.1-2025-04-14",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "955",
+ "$id": "965",
"kind": "enumvalue",
"name": "gpt-4.1-mini-2025-04-14",
"value": "gpt-4.1-mini-2025-04-14",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "956",
+ "$id": "966",
"kind": "enumvalue",
"name": "gpt-4.1-nano-2025-04-14",
"value": "gpt-4.1-nano-2025-04-14",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "957",
+ "$id": "967",
"kind": "enumvalue",
"name": "gpt-4o",
"value": "gpt-4o",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "958",
+ "$id": "968",
"kind": "enumvalue",
"name": "gpt-4o-2024-11-20",
"value": "gpt-4o-2024-11-20",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "959",
+ "$id": "969",
"kind": "enumvalue",
"name": "gpt-4o-2024-08-06",
"value": "gpt-4o-2024-08-06",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "960",
+ "$id": "970",
"kind": "enumvalue",
"name": "gpt-4o-2024-05-13",
"value": "gpt-4o-2024-05-13",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "961",
+ "$id": "971",
"kind": "enumvalue",
"name": "gpt-4o-mini",
"value": "gpt-4o-mini",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "962",
+ "$id": "972",
"kind": "enumvalue",
"name": "gpt-4o-mini-2024-07-18",
"value": "gpt-4o-mini-2024-07-18",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "963",
+ "$id": "973",
"kind": "enumvalue",
"name": "gpt-4.5-preview",
"value": "gpt-4.5-preview",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "964",
+ "$id": "974",
"kind": "enumvalue",
"name": "gpt-4.5-preview-2025-02-27",
"value": "gpt-4.5-preview-2025-02-27",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "965",
+ "$id": "975",
"kind": "enumvalue",
"name": "gpt-4-turbo",
"value": "gpt-4-turbo",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "966",
+ "$id": "976",
"kind": "enumvalue",
"name": "gpt-4-turbo-2024-04-09",
"value": "gpt-4-turbo-2024-04-09",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "967",
+ "$id": "977",
"kind": "enumvalue",
"name": "gpt-4-0125-preview",
"value": "gpt-4-0125-preview",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "968",
+ "$id": "978",
"kind": "enumvalue",
"name": "gpt-4-turbo-preview",
"value": "gpt-4-turbo-preview",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "969",
+ "$id": "979",
"kind": "enumvalue",
"name": "gpt-4-1106-preview",
"value": "gpt-4-1106-preview",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "970",
+ "$id": "980",
"kind": "enumvalue",
"name": "gpt-4-vision-preview",
"value": "gpt-4-vision-preview",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "971",
+ "$id": "981",
"kind": "enumvalue",
"name": "gpt-4",
"value": "gpt-4",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "972",
+ "$id": "982",
"kind": "enumvalue",
"name": "gpt-4-0314",
"value": "gpt-4-0314",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "973",
+ "$id": "983",
"kind": "enumvalue",
"name": "gpt-4-0613",
"value": "gpt-4-0613",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "974",
+ "$id": "984",
"kind": "enumvalue",
"name": "gpt-4-32k",
"value": "gpt-4-32k",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "975",
+ "$id": "985",
"kind": "enumvalue",
"name": "gpt-4-32k-0314",
"value": "gpt-4-32k-0314",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "976",
+ "$id": "986",
"kind": "enumvalue",
"name": "gpt-4-32k-0613",
"value": "gpt-4-32k-0613",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "977",
+ "$id": "987",
"kind": "enumvalue",
"name": "gpt-3.5-turbo",
"value": "gpt-3.5-turbo",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "978",
+ "$id": "988",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-16k",
"value": "gpt-3.5-turbo-16k",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "979",
+ "$id": "989",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0613",
"value": "gpt-3.5-turbo-0613",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "980",
+ "$id": "990",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-1106",
"value": "gpt-3.5-turbo-1106",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "981",
+ "$id": "991",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-0125",
"value": "gpt-3.5-turbo-0125",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
},
{
- "$id": "982",
+ "$id": "992",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-16k-0613",
"value": "gpt-3.5-turbo-16k-0613",
"valueType": {
- "$ref": "950"
+ "$ref": "960"
},
"enumType": {
- "$ref": "949"
+ "$ref": "959"
},
"decorators": []
}
@@ -11994,12 +12072,12 @@
"decorators": []
},
{
- "$id": "983",
+ "$id": "993",
"kind": "enum",
"name": "TruncationObjectType",
"crossLanguageDefinitionId": "OpenAI.TruncationObject.type.anonymous",
"valueType": {
- "$id": "984",
+ "$id": "994",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12007,28 +12085,28 @@
},
"values": [
{
- "$id": "985",
+ "$id": "995",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "984"
+ "$ref": "994"
},
"enumType": {
- "$ref": "983"
+ "$ref": "993"
},
"decorators": []
},
{
- "$id": "986",
+ "$id": "996",
"kind": "enumvalue",
"name": "last_messages",
"value": "last_messages",
"valueType": {
- "$ref": "984"
+ "$ref": "994"
},
"enumType": {
- "$ref": "983"
+ "$ref": "993"
},
"decorators": []
}
@@ -12040,12 +12118,12 @@
"decorators": []
},
{
- "$id": "987",
+ "$id": "997",
"kind": "enum",
"name": "CreateThreadAndRunRequestToolChoice1",
"crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.tool_choice.anonymous",
"valueType": {
- "$id": "988",
+ "$id": "998",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12053,41 +12131,41 @@
},
"values": [
{
- "$id": "989",
+ "$id": "999",
"kind": "enumvalue",
"name": "none",
"value": "none",
"valueType": {
- "$ref": "988"
+ "$ref": "998"
},
"enumType": {
- "$ref": "987"
+ "$ref": "997"
},
"decorators": []
},
{
- "$id": "990",
+ "$id": "1000",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "988"
+ "$ref": "998"
},
"enumType": {
- "$ref": "987"
+ "$ref": "997"
},
"decorators": []
},
{
- "$id": "991",
+ "$id": "1001",
"kind": "enumvalue",
"name": "required",
"value": "required",
"valueType": {
- "$ref": "988"
+ "$ref": "998"
},
"enumType": {
- "$ref": "987"
+ "$ref": "997"
},
"decorators": []
}
@@ -12099,12 +12177,12 @@
"decorators": []
},
{
- "$id": "992",
+ "$id": "1002",
"kind": "enum",
"name": "AssistantsNamedToolChoiceType",
"crossLanguageDefinitionId": "OpenAI.AssistantsNamedToolChoice.type.anonymous",
"valueType": {
- "$id": "993",
+ "$id": "1003",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12112,41 +12190,41 @@
},
"values": [
{
- "$id": "994",
+ "$id": "1004",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "993"
+ "$ref": "1003"
},
"enumType": {
- "$ref": "992"
+ "$ref": "1002"
},
"decorators": []
},
{
- "$id": "995",
+ "$id": "1005",
"kind": "enumvalue",
"name": "code_interpreter",
"value": "code_interpreter",
"valueType": {
- "$ref": "993"
+ "$ref": "1003"
},
"enumType": {
- "$ref": "992"
+ "$ref": "1002"
},
"decorators": []
},
{
- "$id": "996",
+ "$id": "1006",
"kind": "enumvalue",
"name": "file_search",
"value": "file_search",
"valueType": {
- "$ref": "993"
+ "$ref": "1003"
},
"enumType": {
- "$ref": "992"
+ "$ref": "1002"
},
"decorators": []
}
@@ -12158,12 +12236,12 @@
"decorators": []
},
{
- "$id": "997",
+ "$id": "1007",
"kind": "enum",
"name": "RunObjectStatus",
"crossLanguageDefinitionId": "OpenAI.RunObject.status.anonymous",
"valueType": {
- "$id": "998",
+ "$id": "1008",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12171,119 +12249,119 @@
},
"values": [
{
- "$id": "999",
+ "$id": "1009",
"kind": "enumvalue",
"name": "queued",
"value": "queued",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1000",
+ "$id": "1010",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1001",
+ "$id": "1011",
"kind": "enumvalue",
"name": "requires_action",
"value": "requires_action",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1002",
+ "$id": "1012",
"kind": "enumvalue",
"name": "cancelling",
"value": "cancelling",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1003",
+ "$id": "1013",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1004",
+ "$id": "1014",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1005",
+ "$id": "1015",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1006",
+ "$id": "1016",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
},
{
- "$id": "1007",
+ "$id": "1017",
"kind": "enumvalue",
"name": "expired",
"value": "expired",
"valueType": {
- "$ref": "998"
+ "$ref": "1008"
},
"enumType": {
- "$ref": "997"
+ "$ref": "1007"
},
"decorators": []
}
@@ -12295,12 +12373,12 @@
"decorators": []
},
{
- "$id": "1008",
+ "$id": "1018",
"kind": "enum",
"name": "RunObjectLastErrorCode",
"crossLanguageDefinitionId": "OpenAI.RunObject.last_error.code.anonymous",
"valueType": {
- "$id": "1009",
+ "$id": "1019",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12308,41 +12386,41 @@
},
"values": [
{
- "$id": "1010",
+ "$id": "1020",
"kind": "enumvalue",
"name": "server_error",
"value": "server_error",
"valueType": {
- "$ref": "1009"
+ "$ref": "1019"
},
"enumType": {
- "$ref": "1008"
+ "$ref": "1018"
},
"decorators": []
},
{
- "$id": "1011",
+ "$id": "1021",
"kind": "enumvalue",
"name": "rate_limit_exceeded",
"value": "rate_limit_exceeded",
"valueType": {
- "$ref": "1009"
+ "$ref": "1019"
},
"enumType": {
- "$ref": "1008"
+ "$ref": "1018"
},
"decorators": []
},
{
- "$id": "1012",
+ "$id": "1022",
"kind": "enumvalue",
"name": "invalid_prompt",
"value": "invalid_prompt",
"valueType": {
- "$ref": "1009"
+ "$ref": "1019"
},
"enumType": {
- "$ref": "1008"
+ "$ref": "1018"
},
"decorators": []
}
@@ -12354,12 +12432,12 @@
"decorators": []
},
{
- "$id": "1013",
+ "$id": "1023",
"kind": "enum",
"name": "RunObjectIncompleteDetailsReason",
"crossLanguageDefinitionId": "OpenAI.RunObject.incomplete_details.reason.anonymous",
"valueType": {
- "$id": "1014",
+ "$id": "1024",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12367,28 +12445,28 @@
},
"values": [
{
- "$id": "1015",
+ "$id": "1025",
"kind": "enumvalue",
"name": "max_completion_tokens",
"value": "max_completion_tokens",
"valueType": {
- "$ref": "1014"
+ "$ref": "1024"
},
"enumType": {
- "$ref": "1013"
+ "$ref": "1023"
},
"decorators": []
},
{
- "$id": "1016",
+ "$id": "1026",
"kind": "enumvalue",
"name": "max_prompt_tokens",
"value": "max_prompt_tokens",
"valueType": {
- "$ref": "1014"
+ "$ref": "1024"
},
"enumType": {
- "$ref": "1013"
+ "$ref": "1023"
},
"decorators": []
}
@@ -12400,12 +12478,12 @@
"decorators": []
},
{
- "$id": "1017",
+ "$id": "1027",
"kind": "enum",
"name": "RunStepObjectType",
"crossLanguageDefinitionId": "OpenAI.RunStepObject.type.anonymous",
"valueType": {
- "$id": "1018",
+ "$id": "1028",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12413,28 +12491,28 @@
},
"values": [
{
- "$id": "1019",
+ "$id": "1029",
"kind": "enumvalue",
"name": "message_creation",
"value": "message_creation",
"valueType": {
- "$ref": "1018"
+ "$ref": "1028"
},
"enumType": {
- "$ref": "1017"
+ "$ref": "1027"
},
"decorators": []
},
{
- "$id": "1020",
+ "$id": "1030",
"kind": "enumvalue",
"name": "tool_calls",
"value": "tool_calls",
"valueType": {
- "$ref": "1018"
+ "$ref": "1028"
},
"enumType": {
- "$ref": "1017"
+ "$ref": "1027"
},
"decorators": []
}
@@ -12446,12 +12524,12 @@
"decorators": []
},
{
- "$id": "1021",
+ "$id": "1031",
"kind": "enum",
"name": "RunStepObjectStatus",
"crossLanguageDefinitionId": "OpenAI.RunStepObject.status.anonymous",
"valueType": {
- "$id": "1022",
+ "$id": "1032",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12459,67 +12537,67 @@
},
"values": [
{
- "$id": "1023",
+ "$id": "1033",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "1022"
+ "$ref": "1032"
},
"enumType": {
- "$ref": "1021"
+ "$ref": "1031"
},
"decorators": []
},
{
- "$id": "1024",
+ "$id": "1034",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "1022"
+ "$ref": "1032"
},
"enumType": {
- "$ref": "1021"
+ "$ref": "1031"
},
"decorators": []
},
{
- "$id": "1025",
+ "$id": "1035",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "1022"
+ "$ref": "1032"
},
"enumType": {
- "$ref": "1021"
+ "$ref": "1031"
},
"decorators": []
},
{
- "$id": "1026",
+ "$id": "1036",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1022"
+ "$ref": "1032"
},
"enumType": {
- "$ref": "1021"
+ "$ref": "1031"
},
"decorators": []
},
{
- "$id": "1027",
+ "$id": "1037",
"kind": "enumvalue",
"name": "expired",
"value": "expired",
"valueType": {
- "$ref": "1022"
+ "$ref": "1032"
},
"enumType": {
- "$ref": "1021"
+ "$ref": "1031"
},
"decorators": []
}
@@ -12531,12 +12609,12 @@
"decorators": []
},
{
- "$id": "1028",
+ "$id": "1038",
"kind": "enum",
"name": "RunStepDetailsType",
"crossLanguageDefinitionId": "OpenAI.RunStepDetailsType",
"valueType": {
- "$id": "1029",
+ "$id": "1039",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12544,28 +12622,28 @@
},
"values": [
{
- "$id": "1030",
+ "$id": "1040",
"kind": "enumvalue",
"name": "message_creation",
"value": "message_creation",
"valueType": {
- "$ref": "1029"
+ "$ref": "1039"
},
"enumType": {
- "$ref": "1028"
+ "$ref": "1038"
},
"decorators": []
},
{
- "$id": "1031",
+ "$id": "1041",
"kind": "enumvalue",
"name": "tool_calls",
"value": "tool_calls",
"valueType": {
- "$ref": "1029"
+ "$ref": "1039"
},
"enumType": {
- "$ref": "1028"
+ "$ref": "1038"
},
"decorators": []
}
@@ -12577,12 +12655,12 @@
"decorators": []
},
{
- "$id": "1032",
+ "$id": "1042",
"kind": "enum",
"name": "RunStepDetailsToolCallType",
"crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallType",
"valueType": {
- "$id": "1033",
+ "$id": "1043",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12590,41 +12668,41 @@
},
"values": [
{
- "$id": "1034",
+ "$id": "1044",
"kind": "enumvalue",
"name": "code_interpreter",
"value": "code_interpreter",
"valueType": {
- "$ref": "1033"
+ "$ref": "1043"
},
"enumType": {
- "$ref": "1032"
+ "$ref": "1042"
},
"decorators": []
},
{
- "$id": "1035",
+ "$id": "1045",
"kind": "enumvalue",
"name": "file_search",
"value": "file_search",
"valueType": {
- "$ref": "1033"
+ "$ref": "1043"
},
"enumType": {
- "$ref": "1032"
+ "$ref": "1042"
},
"decorators": []
},
{
- "$id": "1036",
+ "$id": "1046",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "1033"
+ "$ref": "1043"
},
"enumType": {
- "$ref": "1032"
+ "$ref": "1042"
},
"decorators": []
}
@@ -12636,12 +12714,12 @@
"decorators": []
},
{
- "$id": "1037",
+ "$id": "1047",
"kind": "enum",
"name": "RunStepDetailsCodeInterpreterOutputType",
"crossLanguageDefinitionId": "OpenAI.RunStepDetailsCodeInterpreterOutputType",
"valueType": {
- "$id": "1038",
+ "$id": "1048",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12649,28 +12727,28 @@
},
"values": [
{
- "$id": "1039",
+ "$id": "1049",
"kind": "enumvalue",
"name": "logs",
"value": "logs",
"valueType": {
- "$ref": "1038"
+ "$ref": "1048"
},
"enumType": {
- "$ref": "1037"
+ "$ref": "1047"
},
"decorators": []
},
{
- "$id": "1040",
+ "$id": "1050",
"kind": "enumvalue",
"name": "image",
"value": "image",
"valueType": {
- "$ref": "1038"
+ "$ref": "1048"
},
"enumType": {
- "$ref": "1037"
+ "$ref": "1047"
},
"decorators": []
}
@@ -12682,45 +12760,12 @@
"decorators": []
},
{
- "$id": "1041",
- "kind": "enum",
- "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType",
- "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentType",
- "valueType": {
- "$id": "1042",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "values": [
- {
- "$id": "1043",
- "kind": "enumvalue",
- "name": "text",
- "value": "text",
- "valueType": {
- "$ref": "1042"
- },
- "enumType": {
- "$ref": "1041"
- },
- "decorators": []
- }
- ],
- "namespace": "OpenAI",
- "isFixed": true,
- "isFlags": false,
- "usage": "Output,Json",
- "decorators": []
- },
- {
- "$id": "1044",
+ "$id": "1051",
"kind": "enum",
"name": "RunStepObjectLastErrorCode",
"crossLanguageDefinitionId": "OpenAI.RunStepObject.last_error.code.anonymous",
"valueType": {
- "$id": "1045",
+ "$id": "1052",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12728,28 +12773,28 @@
},
"values": [
{
- "$id": "1046",
+ "$id": "1053",
"kind": "enumvalue",
"name": "server_error",
"value": "server_error",
"valueType": {
- "$ref": "1045"
+ "$ref": "1052"
},
"enumType": {
- "$ref": "1044"
+ "$ref": "1051"
},
"decorators": []
},
{
- "$id": "1047",
+ "$id": "1054",
"kind": "enumvalue",
"name": "rate_limit_exceeded",
"value": "rate_limit_exceeded",
"valueType": {
- "$ref": "1045"
+ "$ref": "1052"
},
"enumType": {
- "$ref": "1044"
+ "$ref": "1051"
},
"decorators": []
}
@@ -12761,12 +12806,12 @@
"decorators": []
},
{
- "$id": "1048",
+ "$id": "1055",
"kind": "enum",
"name": "VectorStoreObjectStatus",
"crossLanguageDefinitionId": "OpenAI.VectorStoreObject.status.anonymous",
"valueType": {
- "$id": "1049",
+ "$id": "1056",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12774,41 +12819,41 @@
},
"values": [
{
- "$id": "1050",
+ "$id": "1057",
"kind": "enumvalue",
"name": "expired",
"value": "expired",
"valueType": {
- "$ref": "1049"
+ "$ref": "1056"
},
"enumType": {
- "$ref": "1048"
+ "$ref": "1055"
},
"decorators": []
},
{
- "$id": "1051",
+ "$id": "1058",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "1049"
+ "$ref": "1056"
},
"enumType": {
- "$ref": "1048"
+ "$ref": "1055"
},
"decorators": []
},
{
- "$id": "1052",
+ "$id": "1059",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1049"
+ "$ref": "1056"
},
"enumType": {
- "$ref": "1048"
+ "$ref": "1055"
},
"decorators": []
}
@@ -12820,45 +12865,12 @@
"decorators": []
},
{
- "$id": "1053",
- "kind": "enum",
- "name": "VectorStoreExpirationAnchor",
- "crossLanguageDefinitionId": "OpenAI.VectorStoreExpirationAnchor",
- "valueType": {
- "$id": "1054",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "values": [
- {
- "$id": "1055",
- "kind": "enumvalue",
- "name": "last_active_at",
- "value": "last_active_at",
- "valueType": {
- "$ref": "1054"
- },
- "enumType": {
- "$ref": "1053"
- },
- "decorators": []
- }
- ],
- "namespace": "OpenAI",
- "isFixed": true,
- "isFlags": false,
- "usage": "Input,Output,Json",
- "decorators": []
- },
- {
- "$id": "1056",
+ "$id": "1060",
"kind": "enum",
"name": "VectorStoreFileBatchObjectStatus",
"crossLanguageDefinitionId": "OpenAI.VectorStoreFileBatchObject.status.anonymous",
"valueType": {
- "$id": "1057",
+ "$id": "1061",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12866,54 +12878,54 @@
},
"values": [
{
- "$id": "1058",
+ "$id": "1062",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "1057"
+ "$ref": "1061"
},
"enumType": {
- "$ref": "1056"
+ "$ref": "1060"
},
"decorators": []
},
{
- "$id": "1059",
+ "$id": "1063",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1057"
+ "$ref": "1061"
},
"enumType": {
- "$ref": "1056"
+ "$ref": "1060"
},
"decorators": []
},
{
- "$id": "1060",
+ "$id": "1064",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "1057"
+ "$ref": "1061"
},
"enumType": {
- "$ref": "1056"
+ "$ref": "1060"
},
"decorators": []
},
{
- "$id": "1061",
+ "$id": "1065",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "1057"
+ "$ref": "1061"
},
"enumType": {
- "$ref": "1056"
+ "$ref": "1060"
},
"decorators": []
}
@@ -12925,12 +12937,12 @@
"decorators": []
},
{
- "$id": "1062",
+ "$id": "1066",
"kind": "enum",
"name": "VectorStoreFileObjectStatus",
"crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.status.anonymous",
"valueType": {
- "$id": "1063",
+ "$id": "1067",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -12938,54 +12950,54 @@
},
"values": [
{
- "$id": "1064",
+ "$id": "1068",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "1063"
+ "$ref": "1067"
},
"enumType": {
- "$ref": "1062"
+ "$ref": "1066"
},
"decorators": []
},
{
- "$id": "1065",
+ "$id": "1069",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1063"
+ "$ref": "1067"
},
"enumType": {
- "$ref": "1062"
+ "$ref": "1066"
},
"decorators": []
},
{
- "$id": "1066",
+ "$id": "1070",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "1063"
+ "$ref": "1067"
},
"enumType": {
- "$ref": "1062"
+ "$ref": "1066"
},
"decorators": []
},
{
- "$id": "1067",
+ "$id": "1071",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "1063"
+ "$ref": "1067"
},
"enumType": {
- "$ref": "1062"
+ "$ref": "1066"
},
"decorators": []
}
@@ -12997,12 +13009,12 @@
"decorators": []
},
{
- "$id": "1068",
+ "$id": "1072",
"kind": "enum",
"name": "VectorStoreFileObjectLastErrorCode",
"crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.last_error.code.anonymous",
"valueType": {
- "$id": "1069",
+ "$id": "1073",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13010,41 +13022,41 @@
},
"values": [
{
- "$id": "1070",
+ "$id": "1074",
"kind": "enumvalue",
"name": "server_error",
"value": "server_error",
"valueType": {
- "$ref": "1069"
+ "$ref": "1073"
},
"enumType": {
- "$ref": "1068"
+ "$ref": "1072"
},
"decorators": []
},
{
- "$id": "1071",
+ "$id": "1075",
"kind": "enumvalue",
"name": "unsupported_file",
"value": "unsupported_file",
"valueType": {
- "$ref": "1069"
+ "$ref": "1073"
},
"enumType": {
- "$ref": "1068"
+ "$ref": "1072"
},
"decorators": []
},
{
- "$id": "1072",
+ "$id": "1076",
"kind": "enumvalue",
"name": "invalid_file",
"value": "invalid_file",
"valueType": {
- "$ref": "1069"
+ "$ref": "1073"
},
"enumType": {
- "$ref": "1068"
+ "$ref": "1072"
},
"decorators": []
}
@@ -13056,12 +13068,12 @@
"decorators": []
},
{
- "$id": "1073",
+ "$id": "1077",
"kind": "enum",
"name": "ChunkingStrategyResponseParamType",
"crossLanguageDefinitionId": "OpenAI.ChunkingStrategyResponseParam.type.anonymous",
"valueType": {
- "$id": "1074",
+ "$id": "1078",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13069,28 +13081,28 @@
},
"values": [
{
- "$id": "1075",
+ "$id": "1079",
"kind": "enumvalue",
"name": "static",
"value": "static",
"valueType": {
- "$ref": "1074"
+ "$ref": "1078"
},
"enumType": {
- "$ref": "1073"
+ "$ref": "1077"
},
"decorators": []
},
{
- "$id": "1076",
+ "$id": "1080",
"kind": "enumvalue",
"name": "other",
"value": "other",
"valueType": {
- "$ref": "1074"
+ "$ref": "1078"
},
"enumType": {
- "$ref": "1073"
+ "$ref": "1077"
},
"decorators": []
}
@@ -13102,12 +13114,12 @@
"decorators": []
},
{
- "$id": "1077",
+ "$id": "1081",
"kind": "enum",
"name": "VectorStoreSearchRequestRankingOptionsRanker",
"crossLanguageDefinitionId": "OpenAI.VectorStoreSearchRequest.ranking_options.ranker.anonymous",
"valueType": {
- "$id": "1078",
+ "$id": "1082",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13115,28 +13127,28 @@
},
"values": [
{
- "$id": "1079",
+ "$id": "1083",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1078"
+ "$ref": "1082"
},
"enumType": {
- "$ref": "1077"
+ "$ref": "1081"
},
"decorators": []
},
{
- "$id": "1080",
+ "$id": "1084",
"kind": "enumvalue",
"name": "default-2024-11-15",
"value": "default-2024-11-15",
"valueType": {
- "$ref": "1078"
+ "$ref": "1082"
},
"enumType": {
- "$ref": "1077"
+ "$ref": "1081"
},
"decorators": []
}
@@ -13148,12 +13160,12 @@
"decorators": []
},
{
- "$id": "1081",
+ "$id": "1085",
"kind": "enum",
"name": "CreateCompletionRequestModel",
"crossLanguageDefinitionId": "OpenAI.CreateCompletionRequest.model.anonymous",
"valueType": {
- "$id": "1082",
+ "$id": "1086",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13161,41 +13173,41 @@
},
"values": [
{
- "$id": "1083",
+ "$id": "1087",
"kind": "enumvalue",
"name": "gpt-3.5-turbo-instruct",
"value": "gpt-3.5-turbo-instruct",
"valueType": {
- "$ref": "1082"
+ "$ref": "1086"
},
"enumType": {
- "$ref": "1081"
+ "$ref": "1085"
},
"decorators": []
},
{
- "$id": "1084",
+ "$id": "1088",
"kind": "enumvalue",
"name": "davinci-002",
"value": "davinci-002",
"valueType": {
- "$ref": "1082"
+ "$ref": "1086"
},
"enumType": {
- "$ref": "1081"
+ "$ref": "1085"
},
"decorators": []
},
{
- "$id": "1085",
+ "$id": "1089",
"kind": "enumvalue",
"name": "babbage-002",
"value": "babbage-002",
"valueType": {
- "$ref": "1082"
+ "$ref": "1086"
},
"enumType": {
- "$ref": "1081"
+ "$ref": "1085"
},
"decorators": []
}
@@ -13207,12 +13219,12 @@
"decorators": []
},
{
- "$id": "1086",
+ "$id": "1090",
"kind": "enum",
"name": "CreateCompletionResponseChoiceFinishReason",
"crossLanguageDefinitionId": "OpenAI.CreateCompletionResponse.choice.finish_reason.anonymous",
"valueType": {
- "$id": "1087",
+ "$id": "1091",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13220,41 +13232,41 @@
},
"values": [
{
- "$id": "1088",
+ "$id": "1092",
"kind": "enumvalue",
"name": "stop",
"value": "stop",
"valueType": {
- "$ref": "1087"
+ "$ref": "1091"
},
"enumType": {
- "$ref": "1086"
+ "$ref": "1090"
},
"decorators": []
},
{
- "$id": "1089",
+ "$id": "1093",
"kind": "enumvalue",
"name": "length",
"value": "length",
"valueType": {
- "$ref": "1087"
+ "$ref": "1091"
},
"enumType": {
- "$ref": "1086"
+ "$ref": "1090"
},
"decorators": []
},
{
- "$id": "1090",
+ "$id": "1094",
"kind": "enumvalue",
"name": "content_filter",
"value": "content_filter",
"valueType": {
- "$ref": "1087"
+ "$ref": "1091"
},
"enumType": {
- "$ref": "1086"
+ "$ref": "1090"
},
"decorators": []
}
@@ -13266,12 +13278,12 @@
"decorators": []
},
{
- "$id": "1091",
+ "$id": "1095",
"kind": "enum",
"name": "RealtimeClientEventType",
"crossLanguageDefinitionId": "OpenAI.RealtimeClientEventType",
"valueType": {
- "$id": "1092",
+ "$id": "1096",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13279,158 +13291,158 @@
},
"values": [
{
- "$id": "1093",
+ "$id": "1097",
"kind": "enumvalue",
"name": "session_update",
"value": "session.update",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1094",
+ "$id": "1098",
"kind": "enumvalue",
"name": "input_audio_buffer_append",
"value": "input_audio_buffer.append",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1095",
+ "$id": "1099",
"kind": "enumvalue",
"name": "input_audio_buffer_commit",
"value": "input_audio_buffer.commit",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1096",
+ "$id": "1100",
"kind": "enumvalue",
"name": "input_audio_buffer_clear",
"value": "input_audio_buffer.clear",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1097",
+ "$id": "1101",
"kind": "enumvalue",
"name": "output_audio_buffer_clear",
"value": "output_audio_buffer.clear",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1098",
+ "$id": "1102",
"kind": "enumvalue",
"name": "conversation_item_create",
"value": "conversation.item.create",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1099",
+ "$id": "1103",
"kind": "enumvalue",
"name": "conversation_item_retrieve",
"value": "conversation.item.retrieve",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1100",
+ "$id": "1104",
"kind": "enumvalue",
"name": "conversation_item_truncate",
"value": "conversation.item.truncate",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1101",
+ "$id": "1105",
"kind": "enumvalue",
"name": "conversation_item_delete",
"value": "conversation.item.delete",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1102",
+ "$id": "1106",
"kind": "enumvalue",
"name": "response_create",
"value": "response.create",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1103",
+ "$id": "1107",
"kind": "enumvalue",
"name": "response_cancel",
"value": "response.cancel",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
},
{
- "$id": "1104",
+ "$id": "1108",
"kind": "enumvalue",
"name": "transcription_session_update",
"value": "transcription_session.update",
"valueType": {
- "$ref": "1092"
+ "$ref": "1096"
},
"enumType": {
- "$ref": "1091"
+ "$ref": "1095"
},
"decorators": []
}
@@ -13442,12 +13454,12 @@
"decorators": []
},
{
- "$id": "1105",
+ "$id": "1109",
"kind": "enum",
"name": "RealtimeModality",
"crossLanguageDefinitionId": "OpenAI.RealtimeModality",
"valueType": {
- "$id": "1106",
+ "$id": "1110",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13455,28 +13467,28 @@
},
"values": [
{
- "$id": "1107",
+ "$id": "1111",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "1106"
+ "$ref": "1110"
},
"enumType": {
- "$ref": "1105"
+ "$ref": "1109"
},
"decorators": []
},
{
- "$id": "1108",
+ "$id": "1112",
"kind": "enumvalue",
"name": "audio",
"value": "audio",
"valueType": {
- "$ref": "1106"
+ "$ref": "1110"
},
"enumType": {
- "$ref": "1105"
+ "$ref": "1109"
},
"decorators": []
}
@@ -13488,12 +13500,12 @@
"decorators": []
},
{
- "$id": "1109",
+ "$id": "1113",
"kind": "enum",
"name": "RealtimeRequestSessionModel",
"crossLanguageDefinitionId": "OpenAI.RealtimeRequestSession.model.anonymous",
"valueType": {
- "$id": "1110",
+ "$id": "1114",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13501,67 +13513,67 @@
},
"values": [
{
- "$id": "1111",
+ "$id": "1115",
"kind": "enumvalue",
"name": "gpt-4o-realtime-preview",
"value": "gpt-4o-realtime-preview",
"valueType": {
- "$ref": "1110"
+ "$ref": "1114"
},
"enumType": {
- "$ref": "1109"
+ "$ref": "1113"
},
"decorators": []
},
{
- "$id": "1112",
+ "$id": "1116",
"kind": "enumvalue",
"name": "gpt-4o-realtime-preview-2024-10-01",
"value": "gpt-4o-realtime-preview-2024-10-01",
"valueType": {
- "$ref": "1110"
+ "$ref": "1114"
},
"enumType": {
- "$ref": "1109"
+ "$ref": "1113"
},
"decorators": []
},
{
- "$id": "1113",
+ "$id": "1117",
"kind": "enumvalue",
"name": "gpt-4o-realtime-preview-2024-12-17",
"value": "gpt-4o-realtime-preview-2024-12-17",
"valueType": {
- "$ref": "1110"
+ "$ref": "1114"
},
"enumType": {
- "$ref": "1109"
+ "$ref": "1113"
},
"decorators": []
},
{
- "$id": "1114",
+ "$id": "1118",
"kind": "enumvalue",
"name": "gpt-4o-mini-realtime-preview",
"value": "gpt-4o-mini-realtime-preview",
"valueType": {
- "$ref": "1110"
+ "$ref": "1114"
},
"enumType": {
- "$ref": "1109"
+ "$ref": "1113"
},
"decorators": []
},
{
- "$id": "1115",
+ "$id": "1119",
"kind": "enumvalue",
"name": "gpt-4o-mini-realtime-preview-2024-12-17",
"value": "gpt-4o-mini-realtime-preview-2024-12-17",
"valueType": {
- "$ref": "1110"
+ "$ref": "1114"
},
"enumType": {
- "$ref": "1109"
+ "$ref": "1113"
},
"decorators": []
}
@@ -13573,12 +13585,12 @@
"decorators": []
},
{
- "$id": "1116",
+ "$id": "1120",
"kind": "enum",
"name": "RealtimeAudioFormat",
"crossLanguageDefinitionId": "OpenAI.RealtimeAudioFormat",
"valueType": {
- "$id": "1117",
+ "$id": "1121",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13586,41 +13598,41 @@
},
"values": [
{
- "$id": "1118",
+ "$id": "1122",
"kind": "enumvalue",
"name": "pcm16",
"value": "pcm16",
"valueType": {
- "$ref": "1117"
+ "$ref": "1121"
},
"enumType": {
- "$ref": "1116"
+ "$ref": "1120"
},
"decorators": []
},
{
- "$id": "1119",
+ "$id": "1123",
"kind": "enumvalue",
"name": "g711_ulaw",
"value": "g711_ulaw",
"valueType": {
- "$ref": "1117"
+ "$ref": "1121"
},
"enumType": {
- "$ref": "1116"
+ "$ref": "1120"
},
"decorators": []
},
{
- "$id": "1120",
+ "$id": "1124",
"kind": "enumvalue",
"name": "g711_alaw",
"value": "g711_alaw",
"valueType": {
- "$ref": "1117"
+ "$ref": "1121"
},
"enumType": {
- "$ref": "1116"
+ "$ref": "1120"
},
"decorators": []
}
@@ -13632,12 +13644,12 @@
"decorators": []
},
{
- "$id": "1121",
+ "$id": "1125",
"kind": "enum",
"name": "RealtimeAudioInputTranscriptionModel",
"crossLanguageDefinitionId": "OpenAI.RealtimeAudioInputTranscriptionModel",
"valueType": {
- "$id": "1122",
+ "$id": "1126",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13645,15 +13657,15 @@
},
"values": [
{
- "$id": "1123",
+ "$id": "1127",
"kind": "enumvalue",
"name": "whisper_1",
"value": "whisper-1",
"valueType": {
- "$ref": "1122"
+ "$ref": "1126"
},
"enumType": {
- "$ref": "1121"
+ "$ref": "1125"
},
"decorators": []
}
@@ -13665,12 +13677,12 @@
"decorators": []
},
{
- "$id": "1124",
+ "$id": "1128",
"kind": "enum",
"name": "RealtimeTurnDetectionType",
"crossLanguageDefinitionId": "OpenAI.RealtimeTurnDetectionType",
"valueType": {
- "$id": "1125",
+ "$id": "1129",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13678,29 +13690,29 @@
},
"values": [
{
- "$id": "1126",
+ "$id": "1130",
"kind": "enumvalue",
"name": "server_vad",
"value": "server_vad",
"valueType": {
- "$ref": "1125"
+ "$ref": "1129"
},
"enumType": {
- "$ref": "1124"
+ "$ref": "1128"
},
"doc": "Indicates that server-side voice activity detection (VAD) should be enabled, allowing the server to determine when\nadd_user_audio commands present ends of speech and should be automatically committed.\n\nThe API will also detect when the user begins talking, sending a generation_canceled command.",
"decorators": []
},
{
- "$id": "1127",
+ "$id": "1131",
"kind": "enumvalue",
"name": "semantic_vad",
"value": "semantic_vad",
"valueType": {
- "$ref": "1125"
+ "$ref": "1129"
},
"enumType": {
- "$ref": "1124"
+ "$ref": "1128"
},
"decorators": []
}
@@ -13712,12 +13724,12 @@
"decorators": []
},
{
- "$id": "1128",
+ "$id": "1132",
"kind": "enum",
"name": "RealtimeSemanticVadTurnDetectionEagerness",
"crossLanguageDefinitionId": "OpenAI.RealtimeSemanticVadTurnDetection.eagerness.anonymous",
"valueType": {
- "$id": "1129",
+ "$id": "1133",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13725,54 +13737,54 @@
},
"values": [
{
- "$id": "1130",
+ "$id": "1134",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "1129"
+ "$ref": "1133"
},
"enumType": {
- "$ref": "1128"
+ "$ref": "1132"
},
"decorators": []
},
{
- "$id": "1131",
+ "$id": "1135",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "1129"
+ "$ref": "1133"
},
"enumType": {
- "$ref": "1128"
+ "$ref": "1132"
},
"decorators": []
},
{
- "$id": "1132",
+ "$id": "1136",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "1129"
+ "$ref": "1133"
},
"enumType": {
- "$ref": "1128"
+ "$ref": "1132"
},
"decorators": []
},
{
- "$id": "1133",
+ "$id": "1137",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1129"
+ "$ref": "1133"
},
"enumType": {
- "$ref": "1128"
+ "$ref": "1132"
},
"decorators": []
}
@@ -13784,12 +13796,12 @@
"decorators": []
},
{
- "$id": "1134",
+ "$id": "1138",
"kind": "enum",
"name": "RealtimeAudioNoiseReductionType",
"crossLanguageDefinitionId": "OpenAI.RealtimeAudioNoiseReductionType",
"valueType": {
- "$id": "1135",
+ "$id": "1139",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13797,28 +13809,28 @@
},
"values": [
{
- "$id": "1136",
+ "$id": "1140",
"kind": "enumvalue",
"name": "near_field",
"value": "near_field",
"valueType": {
- "$ref": "1135"
+ "$ref": "1139"
},
"enumType": {
- "$ref": "1134"
+ "$ref": "1138"
},
"decorators": []
},
{
- "$id": "1137",
+ "$id": "1141",
"kind": "enumvalue",
"name": "far_field",
"value": "far_field",
"valueType": {
- "$ref": "1135"
+ "$ref": "1139"
},
"enumType": {
- "$ref": "1134"
+ "$ref": "1138"
},
"decorators": []
}
@@ -13830,12 +13842,12 @@
"decorators": []
},
{
- "$id": "1138",
+ "$id": "1142",
"kind": "enum",
"name": "RealtimeToolType",
"crossLanguageDefinitionId": "OpenAI.RealtimeToolType",
"valueType": {
- "$id": "1139",
+ "$id": "1143",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13843,15 +13855,15 @@
},
"values": [
{
- "$id": "1140",
+ "$id": "1144",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "1139"
+ "$ref": "1143"
},
"enumType": {
- "$ref": "1138"
+ "$ref": "1142"
},
"decorators": []
}
@@ -13864,12 +13876,12 @@
"decorators": []
},
{
- "$id": "1141",
+ "$id": "1145",
"kind": "enum",
"name": "RealtimeToolChoiceLiteral",
"crossLanguageDefinitionId": "OpenAI.RealtimeToolChoiceLiteral",
"valueType": {
- "$id": "1142",
+ "$id": "1146",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13877,43 +13889,43 @@
},
"values": [
{
- "$id": "1143",
+ "$id": "1147",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1142"
+ "$ref": "1146"
},
"enumType": {
- "$ref": "1141"
+ "$ref": "1145"
},
"doc": "Specifies that the model should freely determine which tool or tools, if any, to call.",
"decorators": []
},
{
- "$id": "1144",
+ "$id": "1148",
"kind": "enumvalue",
"name": "none",
"value": "none",
"valueType": {
- "$ref": "1142"
+ "$ref": "1146"
},
"enumType": {
- "$ref": "1141"
+ "$ref": "1145"
},
"doc": "Specifies that the model should call no tools whatsoever.",
"decorators": []
},
{
- "$id": "1145",
+ "$id": "1149",
"kind": "enumvalue",
"name": "required",
"value": "required",
"valueType": {
- "$ref": "1142"
+ "$ref": "1146"
},
"enumType": {
- "$ref": "1141"
+ "$ref": "1145"
},
"doc": "Specifies that the model should call at least one tool.",
"decorators": []
@@ -13927,12 +13939,12 @@
"decorators": []
},
{
- "$id": "1146",
+ "$id": "1150",
"kind": "enum",
"name": "RealtimeItemType",
"crossLanguageDefinitionId": "OpenAI.RealtimeItemType",
"valueType": {
- "$id": "1147",
+ "$id": "1151",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13940,41 +13952,41 @@
},
"values": [
{
- "$id": "1148",
+ "$id": "1152",
"kind": "enumvalue",
"name": "message",
"value": "message",
"valueType": {
- "$ref": "1147"
+ "$ref": "1151"
},
"enumType": {
- "$ref": "1146"
+ "$ref": "1150"
},
"decorators": []
},
{
- "$id": "1149",
+ "$id": "1153",
"kind": "enumvalue",
"name": "function_call",
"value": "function_call",
"valueType": {
- "$ref": "1147"
+ "$ref": "1151"
},
"enumType": {
- "$ref": "1146"
+ "$ref": "1150"
},
"decorators": []
},
{
- "$id": "1150",
+ "$id": "1154",
"kind": "enumvalue",
"name": "function_call_output",
"value": "function_call_output",
"valueType": {
- "$ref": "1147"
+ "$ref": "1151"
},
"enumType": {
- "$ref": "1146"
+ "$ref": "1150"
},
"decorators": []
}
@@ -13986,12 +13998,12 @@
"decorators": []
},
{
- "$id": "1151",
+ "$id": "1155",
"kind": "enum",
"name": "RealtimeMessageRole",
"crossLanguageDefinitionId": "OpenAI.RealtimeMessageRole",
"valueType": {
- "$id": "1152",
+ "$id": "1156",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -13999,41 +14011,41 @@
},
"values": [
{
- "$id": "1153",
+ "$id": "1157",
"kind": "enumvalue",
"name": "system",
"value": "system",
"valueType": {
- "$ref": "1152"
+ "$ref": "1156"
},
"enumType": {
- "$ref": "1151"
+ "$ref": "1155"
},
"decorators": []
},
{
- "$id": "1154",
+ "$id": "1158",
"kind": "enumvalue",
"name": "user",
"value": "user",
"valueType": {
- "$ref": "1152"
+ "$ref": "1156"
},
"enumType": {
- "$ref": "1151"
+ "$ref": "1155"
},
"decorators": []
},
{
- "$id": "1155",
+ "$id": "1159",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "1152"
+ "$ref": "1156"
},
"enumType": {
- "$ref": "1151"
+ "$ref": "1155"
},
"decorators": []
}
@@ -14045,12 +14057,12 @@
"decorators": []
},
{
- "$id": "1156",
+ "$id": "1160",
"kind": "enum",
"name": "RealtimeItemStatus",
"crossLanguageDefinitionId": "OpenAI.RealtimeItemStatus",
"valueType": {
- "$id": "1157",
+ "$id": "1161",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14058,41 +14070,41 @@
},
"values": [
{
- "$id": "1158",
+ "$id": "1162",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "1157"
+ "$ref": "1161"
},
"enumType": {
- "$ref": "1156"
+ "$ref": "1160"
},
"decorators": []
},
{
- "$id": "1159",
+ "$id": "1163",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1157"
+ "$ref": "1161"
},
"enumType": {
- "$ref": "1156"
+ "$ref": "1160"
},
"decorators": []
},
{
- "$id": "1160",
+ "$id": "1164",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "1157"
+ "$ref": "1161"
},
"enumType": {
- "$ref": "1156"
+ "$ref": "1160"
},
"decorators": []
}
@@ -14104,12 +14116,12 @@
"decorators": []
},
{
- "$id": "1161",
+ "$id": "1165",
"kind": "enum",
"name": "RealtimeContentPartType",
"crossLanguageDefinitionId": "OpenAI.RealtimeContentPartType",
"valueType": {
- "$id": "1162",
+ "$id": "1166",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14117,54 +14129,54 @@
},
"values": [
{
- "$id": "1163",
+ "$id": "1167",
"kind": "enumvalue",
"name": "input_text",
"value": "input_text",
"valueType": {
- "$ref": "1162"
+ "$ref": "1166"
},
"enumType": {
- "$ref": "1161"
+ "$ref": "1165"
},
"decorators": []
},
{
- "$id": "1164",
+ "$id": "1168",
"kind": "enumvalue",
"name": "input_audio",
"value": "input_audio",
"valueType": {
- "$ref": "1162"
+ "$ref": "1166"
},
"enumType": {
- "$ref": "1161"
+ "$ref": "1165"
},
"decorators": []
},
{
- "$id": "1165",
+ "$id": "1169",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "1162"
+ "$ref": "1166"
},
"enumType": {
- "$ref": "1161"
+ "$ref": "1165"
},
"decorators": []
},
{
- "$id": "1166",
+ "$id": "1170",
"kind": "enumvalue",
"name": "audio",
"value": "audio",
"valueType": {
- "$ref": "1162"
+ "$ref": "1166"
},
"enumType": {
- "$ref": "1161"
+ "$ref": "1165"
},
"decorators": []
}
@@ -14176,12 +14188,12 @@
"decorators": []
},
{
- "$id": "1167",
+ "$id": "1171",
"kind": "enum",
"name": "RealtimeResponseCreateParamsConversation",
"crossLanguageDefinitionId": "OpenAI.RealtimeResponseCreateParams.conversation.anonymous",
"valueType": {
- "$id": "1168",
+ "$id": "1172",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14189,28 +14201,28 @@
},
"values": [
{
- "$id": "1169",
+ "$id": "1173",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1168"
+ "$ref": "1172"
},
"enumType": {
- "$ref": "1167"
+ "$ref": "1171"
},
"decorators": []
},
{
- "$id": "1170",
+ "$id": "1174",
"kind": "enumvalue",
"name": "none",
"value": "none",
"valueType": {
- "$ref": "1168"
+ "$ref": "1172"
},
"enumType": {
- "$ref": "1167"
+ "$ref": "1171"
},
"decorators": []
}
@@ -14222,12 +14234,12 @@
"decorators": []
},
{
- "$id": "1171",
+ "$id": "1175",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateRequestModality",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.modality.anonymous",
"valueType": {
- "$id": "1172",
+ "$id": "1176",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14235,28 +14247,28 @@
},
"values": [
{
- "$id": "1173",
+ "$id": "1177",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "1172"
+ "$ref": "1176"
},
"enumType": {
- "$ref": "1171"
+ "$ref": "1175"
},
"decorators": []
},
{
- "$id": "1174",
+ "$id": "1178",
"kind": "enumvalue",
"name": "audio",
"value": "audio",
"valueType": {
- "$ref": "1172"
+ "$ref": "1176"
},
"enumType": {
- "$ref": "1171"
+ "$ref": "1175"
},
"decorators": []
}
@@ -14268,12 +14280,12 @@
"decorators": []
},
{
- "$id": "1175",
+ "$id": "1179",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateRequestInputAudioFormat",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_format.anonymous",
"valueType": {
- "$id": "1176",
+ "$id": "1180",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14281,41 +14293,41 @@
},
"values": [
{
- "$id": "1177",
+ "$id": "1181",
"kind": "enumvalue",
"name": "pcm16",
"value": "pcm16",
"valueType": {
- "$ref": "1176"
+ "$ref": "1180"
},
"enumType": {
- "$ref": "1175"
+ "$ref": "1179"
},
"decorators": []
},
{
- "$id": "1178",
+ "$id": "1182",
"kind": "enumvalue",
"name": "g711_ulaw",
"value": "g711_ulaw",
"valueType": {
- "$ref": "1176"
+ "$ref": "1180"
},
"enumType": {
- "$ref": "1175"
+ "$ref": "1179"
},
"decorators": []
},
{
- "$id": "1179",
+ "$id": "1183",
"kind": "enumvalue",
"name": "g711_alaw",
"value": "g711_alaw",
"valueType": {
- "$ref": "1176"
+ "$ref": "1180"
},
"enumType": {
- "$ref": "1175"
+ "$ref": "1179"
},
"decorators": []
}
@@ -14327,12 +14339,12 @@
"decorators": []
},
{
- "$id": "1180",
+ "$id": "1184",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_transcription.model.anonymous",
"valueType": {
- "$id": "1181",
+ "$id": "1185",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14340,41 +14352,41 @@
},
"values": [
{
- "$id": "1182",
+ "$id": "1186",
"kind": "enumvalue",
"name": "gpt-4o-transcribe",
"value": "gpt-4o-transcribe",
"valueType": {
- "$ref": "1181"
+ "$ref": "1185"
},
"enumType": {
- "$ref": "1180"
+ "$ref": "1184"
},
"decorators": []
},
{
- "$id": "1183",
+ "$id": "1187",
"kind": "enumvalue",
"name": "gpt-4o-mini-transcribe",
"value": "gpt-4o-mini-transcribe",
"valueType": {
- "$ref": "1181"
+ "$ref": "1185"
},
"enumType": {
- "$ref": "1180"
+ "$ref": "1184"
},
"decorators": []
},
{
- "$id": "1184",
+ "$id": "1188",
"kind": "enumvalue",
"name": "whisper-1",
"value": "whisper-1",
"valueType": {
- "$ref": "1181"
+ "$ref": "1185"
},
"enumType": {
- "$ref": "1180"
+ "$ref": "1184"
},
"decorators": []
}
@@ -14386,12 +14398,12 @@
"decorators": []
},
{
- "$id": "1185",
+ "$id": "1189",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionType",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.type.anonymous",
"valueType": {
- "$id": "1186",
+ "$id": "1190",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14399,28 +14411,28 @@
},
"values": [
{
- "$id": "1187",
+ "$id": "1191",
"kind": "enumvalue",
"name": "server_vad",
"value": "server_vad",
"valueType": {
- "$ref": "1186"
+ "$ref": "1190"
},
"enumType": {
- "$ref": "1185"
+ "$ref": "1189"
},
"decorators": []
},
{
- "$id": "1188",
+ "$id": "1192",
"kind": "enumvalue",
"name": "semantic_vad",
"value": "semantic_vad",
"valueType": {
- "$ref": "1186"
+ "$ref": "1190"
},
"enumType": {
- "$ref": "1185"
+ "$ref": "1189"
},
"decorators": []
}
@@ -14432,12 +14444,12 @@
"decorators": []
},
{
- "$id": "1189",
+ "$id": "1193",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.eagerness.anonymous",
"valueType": {
- "$id": "1190",
+ "$id": "1194",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14445,54 +14457,54 @@
},
"values": [
{
- "$id": "1191",
+ "$id": "1195",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "1190"
+ "$ref": "1194"
},
"enumType": {
- "$ref": "1189"
+ "$ref": "1193"
},
"decorators": []
},
{
- "$id": "1192",
+ "$id": "1196",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "1190"
+ "$ref": "1194"
},
"enumType": {
- "$ref": "1189"
+ "$ref": "1193"
},
"decorators": []
},
{
- "$id": "1193",
+ "$id": "1197",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "1190"
+ "$ref": "1194"
},
"enumType": {
- "$ref": "1189"
+ "$ref": "1193"
},
"decorators": []
},
{
- "$id": "1194",
+ "$id": "1198",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1190"
+ "$ref": "1194"
},
"enumType": {
- "$ref": "1189"
+ "$ref": "1193"
},
"decorators": []
}
@@ -14504,12 +14516,12 @@
"decorators": []
},
{
- "$id": "1195",
+ "$id": "1199",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_noise_reduction.type.anonymous",
"valueType": {
- "$id": "1196",
+ "$id": "1200",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14517,28 +14529,28 @@
},
"values": [
{
- "$id": "1197",
+ "$id": "1201",
"kind": "enumvalue",
"name": "near_field",
"value": "near_field",
"valueType": {
- "$ref": "1196"
+ "$ref": "1200"
},
"enumType": {
- "$ref": "1195"
+ "$ref": "1199"
},
"decorators": []
},
{
- "$id": "1198",
+ "$id": "1202",
"kind": "enumvalue",
"name": "far_field",
"value": "far_field",
"valueType": {
- "$ref": "1196"
+ "$ref": "1200"
},
"enumType": {
- "$ref": "1195"
+ "$ref": "1199"
},
"decorators": []
}
@@ -14550,12 +14562,50 @@
"decorators": []
},
{
- "$id": "1199",
+ "$id": "1203",
+ "kind": "enum",
+ "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "1204",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1205",
+ "kind": "enumvalue",
+ "name": "created_at",
+ "value": "created_at",
+ "valueType": {
+ "$id": "1206",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "1203"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1207",
"kind": "enum",
"name": "RealtimeServerEventType",
"crossLanguageDefinitionId": "OpenAI.RealtimeServerEventType",
"valueType": {
- "$id": "1200",
+ "$id": "1208",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -14563,444 +14613,444 @@
},
"values": [
{
- "$id": "1201",
+ "$id": "1209",
"kind": "enumvalue",
"name": "error",
"value": "error",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1202",
+ "$id": "1210",
"kind": "enumvalue",
"name": "session_created",
"value": "session.created",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1203",
+ "$id": "1211",
"kind": "enumvalue",
"name": "session_updated",
"value": "session.updated",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1204",
+ "$id": "1212",
"kind": "enumvalue",
"name": "conversation_created",
"value": "conversation.created",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1205",
+ "$id": "1213",
"kind": "enumvalue",
"name": "conversation_item_input_audio_transcription_completed",
"value": "conversation.item.input_audio_transcription.completed",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1206",
+ "$id": "1214",
"kind": "enumvalue",
"name": "conversation_item_input_audio_transcription_delta",
"value": "conversation.item.input_audio_transcription.delta",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1207",
+ "$id": "1215",
"kind": "enumvalue",
"name": "conversation_item_input_audio_transcription_failed",
"value": "conversation.item.input_audio_transcription.failed",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1208",
+ "$id": "1216",
"kind": "enumvalue",
"name": "conversation_item_created",
"value": "conversation.item.created",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1209",
+ "$id": "1217",
"kind": "enumvalue",
"name": "conversation_item_retrieved",
"value": "conversation.item.retrieved",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1210",
+ "$id": "1218",
"kind": "enumvalue",
"name": "conversation_item_truncated",
"value": "conversation.item.truncated",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1211",
+ "$id": "1219",
"kind": "enumvalue",
"name": "conversation_item_deleted",
"value": "conversation.item.deleted",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1212",
+ "$id": "1220",
"kind": "enumvalue",
"name": "input_audio_buffer_committed",
"value": "input_audio_buffer.committed",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1213",
+ "$id": "1221",
"kind": "enumvalue",
"name": "input_audio_buffer_cleared",
"value": "input_audio_buffer.cleared",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1214",
+ "$id": "1222",
"kind": "enumvalue",
"name": "input_audio_buffer_speech_started",
"value": "input_audio_buffer.speech_started",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1215",
+ "$id": "1223",
"kind": "enumvalue",
"name": "input_audio_buffer_speech_stopped",
"value": "input_audio_buffer.speech_stopped",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1216",
+ "$id": "1224",
"kind": "enumvalue",
"name": "output_audio_buffer_cleared",
"value": "output_audio_buffer.cleared",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1217",
+ "$id": "1225",
"kind": "enumvalue",
"name": "output_audio_buffer_started",
"value": "output_audio_buffer.started",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1218",
+ "$id": "1226",
"kind": "enumvalue",
"name": "output_audio_buffer_stopped",
"value": "output_audio_buffer.stopped",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1219",
+ "$id": "1227",
"kind": "enumvalue",
"name": "response_created",
"value": "response.created",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1220",
+ "$id": "1228",
"kind": "enumvalue",
"name": "response_done",
"value": "response.done",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1221",
+ "$id": "1229",
"kind": "enumvalue",
"name": "response_output_item_added",
"value": "response.output_item.added",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1222",
+ "$id": "1230",
"kind": "enumvalue",
"name": "response_output_item_done",
"value": "response.output_item.done",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1223",
+ "$id": "1231",
"kind": "enumvalue",
"name": "response_content_part_added",
"value": "response.content_part.added",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1224",
+ "$id": "1232",
"kind": "enumvalue",
"name": "response_content_part_done",
"value": "response.content_part.done",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1225",
+ "$id": "1233",
"kind": "enumvalue",
"name": "response_text_delta",
"value": "response.text.delta",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1226",
+ "$id": "1234",
"kind": "enumvalue",
"name": "response_text_done",
"value": "response.text.done",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1227",
+ "$id": "1235",
"kind": "enumvalue",
"name": "response_audio_transcript_delta",
"value": "response.audio_transcript.delta",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1228",
+ "$id": "1236",
"kind": "enumvalue",
"name": "response_audio_transcript_done",
"value": "response.audio_transcript.done",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1229",
+ "$id": "1237",
"kind": "enumvalue",
"name": "response_audio_delta",
"value": "response.audio.delta",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1230",
+ "$id": "1238",
"kind": "enumvalue",
"name": "response_audio_done",
"value": "response.audio.done",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1231",
+ "$id": "1239",
"kind": "enumvalue",
"name": "response_function_call_arguments_delta",
"value": "response.function_call_arguments.delta",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1232",
+ "$id": "1240",
"kind": "enumvalue",
"name": "response_function_call_arguments_done",
"value": "response.function_call_arguments.done",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1233",
+ "$id": "1241",
"kind": "enumvalue",
"name": "transcription_session_updated",
"value": "transcription_session.updated",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
},
{
- "$id": "1234",
+ "$id": "1242",
"kind": "enumvalue",
"name": "rate_limits_updated",
"value": "rate_limits.updated",
"valueType": {
- "$ref": "1200"
+ "$ref": "1208"
},
"enumType": {
- "$ref": "1199"
+ "$ref": "1207"
},
"decorators": []
}
@@ -15012,12 +15062,50 @@
"decorators": []
},
{
- "$id": "1235",
+ "$id": "1243",
+ "kind": "enum",
+ "name": "RealtimeResponseObject",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "1244",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1245",
+ "kind": "enumvalue",
+ "name": "realtime.response",
+ "value": "realtime.response",
+ "valueType": {
+ "$id": "1246",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "1243"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1247",
"kind": "enum",
"name": "RealtimeResponseStatus",
"crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status.anonymous",
"valueType": {
- "$id": "1236",
+ "$id": "1248",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15025,54 +15113,54 @@
},
"values": [
{
- "$id": "1237",
+ "$id": "1249",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1236"
+ "$ref": "1248"
},
"enumType": {
- "$ref": "1235"
+ "$ref": "1247"
},
"decorators": []
},
{
- "$id": "1238",
+ "$id": "1250",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "1236"
+ "$ref": "1248"
},
"enumType": {
- "$ref": "1235"
+ "$ref": "1247"
},
"decorators": []
},
{
- "$id": "1239",
+ "$id": "1251",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "1236"
+ "$ref": "1248"
},
"enumType": {
- "$ref": "1235"
+ "$ref": "1247"
},
"decorators": []
},
{
- "$id": "1240",
+ "$id": "1252",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "1236"
+ "$ref": "1248"
},
"enumType": {
- "$ref": "1235"
+ "$ref": "1247"
},
"decorators": []
}
@@ -15084,12 +15172,12 @@
"decorators": []
},
{
- "$id": "1241",
+ "$id": "1253",
"kind": "enum",
"name": "RealtimeResponseStatusDetailsType",
"crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.type.anonymous",
"valueType": {
- "$id": "1242",
+ "$id": "1254",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15097,54 +15185,54 @@
},
"values": [
{
- "$id": "1243",
+ "$id": "1255",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1242"
+ "$ref": "1254"
},
"enumType": {
- "$ref": "1241"
+ "$ref": "1253"
},
"decorators": []
},
{
- "$id": "1244",
+ "$id": "1256",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "1242"
+ "$ref": "1254"
},
"enumType": {
- "$ref": "1241"
+ "$ref": "1253"
},
"decorators": []
},
{
- "$id": "1245",
+ "$id": "1257",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "1242"
+ "$ref": "1254"
},
"enumType": {
- "$ref": "1241"
+ "$ref": "1253"
},
"decorators": []
},
{
- "$id": "1246",
+ "$id": "1258",
"kind": "enumvalue",
"name": "incomplete",
"value": "incomplete",
"valueType": {
- "$ref": "1242"
+ "$ref": "1254"
},
"enumType": {
- "$ref": "1241"
+ "$ref": "1253"
},
"decorators": []
}
@@ -15156,12 +15244,12 @@
"decorators": []
},
{
- "$id": "1247",
+ "$id": "1259",
"kind": "enum",
"name": "RealtimeResponseStatusDetailsReason",
"crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.reason.anonymous",
"valueType": {
- "$id": "1248",
+ "$id": "1260",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15169,54 +15257,54 @@
},
"values": [
{
- "$id": "1249",
+ "$id": "1261",
"kind": "enumvalue",
"name": "turn_detected",
"value": "turn_detected",
"valueType": {
- "$ref": "1248"
+ "$ref": "1260"
},
"enumType": {
- "$ref": "1247"
+ "$ref": "1259"
},
"decorators": []
},
{
- "$id": "1250",
+ "$id": "1262",
"kind": "enumvalue",
"name": "client_cancelled",
"value": "client_cancelled",
"valueType": {
- "$ref": "1248"
+ "$ref": "1260"
},
"enumType": {
- "$ref": "1247"
+ "$ref": "1259"
},
"decorators": []
},
{
- "$id": "1251",
+ "$id": "1263",
"kind": "enumvalue",
"name": "max_output_tokens",
"value": "max_output_tokens",
"valueType": {
- "$ref": "1248"
+ "$ref": "1260"
},
"enumType": {
- "$ref": "1247"
+ "$ref": "1259"
},
"decorators": []
},
{
- "$id": "1252",
+ "$id": "1264",
"kind": "enumvalue",
"name": "content_filter",
"value": "content_filter",
"valueType": {
- "$ref": "1248"
+ "$ref": "1260"
},
"enumType": {
- "$ref": "1247"
+ "$ref": "1259"
},
"decorators": []
}
@@ -15228,12 +15316,12 @@
"decorators": []
},
{
- "$id": "1253",
+ "$id": "1265",
"kind": "enum",
"name": "RealtimeResponseModality",
"crossLanguageDefinitionId": "OpenAI.RealtimeResponse.modality.anonymous",
"valueType": {
- "$id": "1254",
+ "$id": "1266",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15241,28 +15329,28 @@
},
"values": [
{
- "$id": "1255",
+ "$id": "1267",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "1254"
+ "$ref": "1266"
},
"enumType": {
- "$ref": "1253"
+ "$ref": "1265"
},
"decorators": []
},
{
- "$id": "1256",
+ "$id": "1268",
"kind": "enumvalue",
"name": "audio",
"value": "audio",
"valueType": {
- "$ref": "1254"
+ "$ref": "1266"
},
"enumType": {
- "$ref": "1253"
+ "$ref": "1265"
},
"decorators": []
}
@@ -15274,12 +15362,12 @@
"decorators": []
},
{
- "$id": "1257",
+ "$id": "1269",
"kind": "enum",
"name": "RealtimeResponseOutputAudioFormat",
"crossLanguageDefinitionId": "OpenAI.RealtimeResponse.output_audio_format.anonymous",
"valueType": {
- "$id": "1258",
+ "$id": "1270",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15287,41 +15375,41 @@
},
"values": [
{
- "$id": "1259",
+ "$id": "1271",
"kind": "enumvalue",
"name": "pcm16",
"value": "pcm16",
"valueType": {
- "$ref": "1258"
+ "$ref": "1270"
},
"enumType": {
- "$ref": "1257"
+ "$ref": "1269"
},
"decorators": []
},
{
- "$id": "1260",
+ "$id": "1272",
"kind": "enumvalue",
"name": "g711_ulaw",
"value": "g711_ulaw",
"valueType": {
- "$ref": "1258"
+ "$ref": "1270"
},
"enumType": {
- "$ref": "1257"
+ "$ref": "1269"
},
"decorators": []
},
{
- "$id": "1261",
+ "$id": "1273",
"kind": "enumvalue",
"name": "g711_alaw",
"value": "g711_alaw",
"valueType": {
- "$ref": "1258"
+ "$ref": "1270"
},
"enumType": {
- "$ref": "1257"
+ "$ref": "1269"
},
"decorators": []
}
@@ -15333,12 +15421,12 @@
"decorators": []
},
{
- "$id": "1262",
+ "$id": "1274",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateResponseModality",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.modality.anonymous",
"valueType": {
- "$id": "1263",
+ "$id": "1275",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15346,28 +15434,28 @@
},
"values": [
{
- "$id": "1264",
+ "$id": "1276",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "1263"
+ "$ref": "1275"
},
"enumType": {
- "$ref": "1262"
+ "$ref": "1274"
},
"decorators": []
},
{
- "$id": "1265",
+ "$id": "1277",
"kind": "enumvalue",
"name": "audio",
"value": "audio",
"valueType": {
- "$ref": "1263"
+ "$ref": "1275"
},
"enumType": {
- "$ref": "1262"
+ "$ref": "1274"
},
"decorators": []
}
@@ -15379,12 +15467,12 @@
"decorators": []
},
{
- "$id": "1266",
+ "$id": "1278",
"kind": "enum",
"name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel",
"crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.model.anonymous",
"valueType": {
- "$id": "1267",
+ "$id": "1279",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15392,41 +15480,41 @@
},
"values": [
{
- "$id": "1268",
+ "$id": "1280",
"kind": "enumvalue",
"name": "gpt-4o-transcribe",
"value": "gpt-4o-transcribe",
"valueType": {
- "$ref": "1267"
+ "$ref": "1279"
},
"enumType": {
- "$ref": "1266"
+ "$ref": "1278"
},
"decorators": []
},
{
- "$id": "1269",
+ "$id": "1281",
"kind": "enumvalue",
"name": "gpt-4o-mini-transcribe",
"value": "gpt-4o-mini-transcribe",
"valueType": {
- "$ref": "1267"
+ "$ref": "1279"
},
"enumType": {
- "$ref": "1266"
+ "$ref": "1278"
},
"decorators": []
},
{
- "$id": "1270",
+ "$id": "1282",
"kind": "enumvalue",
"name": "whisper-1",
"value": "whisper-1",
"valueType": {
- "$ref": "1267"
+ "$ref": "1279"
},
"enumType": {
- "$ref": "1266"
+ "$ref": "1278"
},
"decorators": []
}
@@ -15438,12 +15526,12 @@
"decorators": []
},
{
- "$id": "1271",
+ "$id": "1283",
"kind": "enum",
"name": "RealtimeSessionCreateRequestModel",
"crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.model.anonymous",
"valueType": {
- "$id": "1272",
+ "$id": "1284",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15451,80 +15539,80 @@
},
"values": [
{
- "$id": "1273",
+ "$id": "1285",
"kind": "enumvalue",
"name": "gpt-4o-realtime-preview",
"value": "gpt-4o-realtime-preview",
"valueType": {
- "$ref": "1272"
+ "$ref": "1284"
},
"enumType": {
- "$ref": "1271"
+ "$ref": "1283"
},
"decorators": []
},
{
- "$id": "1274",
+ "$id": "1286",
"kind": "enumvalue",
"name": "gpt-4o-realtime-preview-2024-10-01",
"value": "gpt-4o-realtime-preview-2024-10-01",
"valueType": {
- "$ref": "1272"
+ "$ref": "1284"
},
"enumType": {
- "$ref": "1271"
+ "$ref": "1283"
},
"decorators": []
},
{
- "$id": "1275",
+ "$id": "1287",
"kind": "enumvalue",
"name": "gpt-4o-realtime-preview-2024-12-17",
"value": "gpt-4o-realtime-preview-2024-12-17",
"valueType": {
- "$ref": "1272"
+ "$ref": "1284"
},
"enumType": {
- "$ref": "1271"
+ "$ref": "1283"
},
"decorators": []
},
{
- "$id": "1276",
+ "$id": "1288",
"kind": "enumvalue",
"name": "gpt-4o-realtime-preview-2025-06-03",
"value": "gpt-4o-realtime-preview-2025-06-03",
"valueType": {
- "$ref": "1272"
+ "$ref": "1284"
},
"enumType": {
- "$ref": "1271"
+ "$ref": "1283"
},
"decorators": []
},
{
- "$id": "1277",
+ "$id": "1289",
"kind": "enumvalue",
"name": "gpt-4o-mini-realtime-preview",
"value": "gpt-4o-mini-realtime-preview",
"valueType": {
- "$ref": "1272"
+ "$ref": "1284"
},
"enumType": {
- "$ref": "1271"
+ "$ref": "1283"
},
"decorators": []
},
{
- "$id": "1278",
+ "$id": "1290",
"kind": "enumvalue",
"name": "gpt-4o-mini-realtime-preview-2024-12-17",
"value": "gpt-4o-mini-realtime-preview-2024-12-17",
"valueType": {
- "$ref": "1272"
+ "$ref": "1284"
},
"enumType": {
- "$ref": "1271"
+ "$ref": "1283"
},
"decorators": []
}
@@ -15536,12 +15624,12 @@
"decorators": []
},
{
- "$id": "1279",
+ "$id": "1291",
"kind": "enum",
"name": "RealtimeSessionCreateRequestTurnDetectionType",
"crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.type.anonymous",
"valueType": {
- "$id": "1280",
+ "$id": "1292",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15549,28 +15637,28 @@
},
"values": [
{
- "$id": "1281",
+ "$id": "1293",
"kind": "enumvalue",
"name": "server_vad",
"value": "server_vad",
"valueType": {
- "$ref": "1280"
+ "$ref": "1292"
},
"enumType": {
- "$ref": "1279"
+ "$ref": "1291"
},
"decorators": []
},
{
- "$id": "1282",
+ "$id": "1294",
"kind": "enumvalue",
"name": "semantic_vad",
"value": "semantic_vad",
"valueType": {
- "$ref": "1280"
+ "$ref": "1292"
},
"enumType": {
- "$ref": "1279"
+ "$ref": "1291"
},
"decorators": []
}
@@ -15582,12 +15670,12 @@
"decorators": []
},
{
- "$id": "1283",
+ "$id": "1295",
"kind": "enum",
"name": "RealtimeSessionCreateRequestTurnDetectionEagerness",
"crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.turn_detection.eagerness.anonymous",
"valueType": {
- "$id": "1284",
+ "$id": "1296",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15595,54 +15683,54 @@
},
"values": [
{
- "$id": "1285",
+ "$id": "1297",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "1284"
+ "$ref": "1296"
},
"enumType": {
- "$ref": "1283"
+ "$ref": "1295"
},
"decorators": []
},
{
- "$id": "1286",
+ "$id": "1298",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "1284"
+ "$ref": "1296"
},
"enumType": {
- "$ref": "1283"
+ "$ref": "1295"
},
"decorators": []
},
{
- "$id": "1287",
+ "$id": "1299",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "1284"
+ "$ref": "1296"
},
"enumType": {
- "$ref": "1283"
+ "$ref": "1295"
},
"decorators": []
},
{
- "$id": "1288",
+ "$id": "1300",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1284"
+ "$ref": "1296"
},
"enumType": {
- "$ref": "1283"
+ "$ref": "1295"
},
"decorators": []
}
@@ -15654,12 +15742,12 @@
"decorators": []
},
{
- "$id": "1289",
+ "$id": "1301",
"kind": "enum",
"name": "RealtimeSessionCreateRequestInputAudioNoiseReductionType",
"crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequest.input_audio_noise_reduction.type.anonymous",
"valueType": {
- "$id": "1290",
+ "$id": "1302",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15667,28 +15755,28 @@
},
"values": [
{
- "$id": "1291",
+ "$id": "1303",
"kind": "enumvalue",
"name": "near_field",
"value": "near_field",
"valueType": {
- "$ref": "1290"
+ "$ref": "1302"
},
"enumType": {
- "$ref": "1289"
+ "$ref": "1301"
},
"decorators": []
},
{
- "$id": "1292",
+ "$id": "1304",
"kind": "enumvalue",
"name": "far_field",
"value": "far_field",
"valueType": {
- "$ref": "1290"
+ "$ref": "1302"
},
"enumType": {
- "$ref": "1289"
+ "$ref": "1301"
},
"decorators": []
}
@@ -15700,12 +15788,50 @@
"decorators": []
},
{
- "$id": "1293",
+ "$id": "1305",
+ "kind": "enum",
+ "name": "RealtimeSessionCreateRequestClientSecretExpiresAtAnchor",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "1306",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1307",
+ "kind": "enumvalue",
+ "name": "created_at",
+ "value": "created_at",
+ "valueType": {
+ "$id": "1308",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "1305"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1309",
"kind": "enum",
"name": "CreateUploadRequestPurpose",
"crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.purpose.anonymous",
"valueType": {
- "$id": "1294",
+ "$id": "1310",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15713,54 +15839,54 @@
},
"values": [
{
- "$id": "1295",
+ "$id": "1311",
"kind": "enumvalue",
"name": "assistants",
"value": "assistants",
"valueType": {
- "$ref": "1294"
+ "$ref": "1310"
},
"enumType": {
- "$ref": "1293"
+ "$ref": "1309"
},
"decorators": []
},
{
- "$id": "1296",
+ "$id": "1312",
"kind": "enumvalue",
"name": "batch",
"value": "batch",
"valueType": {
- "$ref": "1294"
+ "$ref": "1310"
},
"enumType": {
- "$ref": "1293"
+ "$ref": "1309"
},
"decorators": []
},
{
- "$id": "1297",
+ "$id": "1313",
"kind": "enumvalue",
"name": "fine-tune",
"value": "fine-tune",
"valueType": {
- "$ref": "1294"
+ "$ref": "1310"
},
"enumType": {
- "$ref": "1293"
+ "$ref": "1309"
},
"decorators": []
},
{
- "$id": "1298",
+ "$id": "1314",
"kind": "enumvalue",
"name": "vision",
"value": "vision",
"valueType": {
- "$ref": "1294"
+ "$ref": "1310"
},
"enumType": {
- "$ref": "1293"
+ "$ref": "1309"
},
"decorators": []
}
@@ -15772,12 +15898,12 @@
"decorators": []
},
{
- "$id": "1299",
+ "$id": "1315",
"kind": "enum",
"name": "UploadStatus",
"crossLanguageDefinitionId": "OpenAI.Upload.status.anonymous",
"valueType": {
- "$id": "1300",
+ "$id": "1316",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15785,54 +15911,54 @@
},
"values": [
{
- "$id": "1301",
+ "$id": "1317",
"kind": "enumvalue",
"name": "pending",
"value": "pending",
"valueType": {
- "$ref": "1300"
+ "$ref": "1316"
},
"enumType": {
- "$ref": "1299"
+ "$ref": "1315"
},
"decorators": []
},
{
- "$id": "1302",
+ "$id": "1318",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1300"
+ "$ref": "1316"
},
"enumType": {
- "$ref": "1299"
+ "$ref": "1315"
},
"decorators": []
},
{
- "$id": "1303",
+ "$id": "1319",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "1300"
+ "$ref": "1316"
},
"enumType": {
- "$ref": "1299"
+ "$ref": "1315"
},
"decorators": []
},
{
- "$id": "1304",
+ "$id": "1320",
"kind": "enumvalue",
"name": "expired",
"value": "expired",
"valueType": {
- "$ref": "1300"
+ "$ref": "1316"
},
"enumType": {
- "$ref": "1299"
+ "$ref": "1315"
},
"decorators": []
}
@@ -15844,12 +15970,89 @@
"decorators": []
},
{
- "$id": "1305",
+ "$id": "1321",
+ "kind": "enum",
+ "name": "UploadObject",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "1322",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1323",
+ "kind": "enumvalue",
+ "name": "upload",
+ "value": "upload",
+ "valueType": {
+ "$id": "1324",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "1321"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1325",
+ "kind": "enum",
+ "name": "BatchRequestInputMethod",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "1326",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1327",
+ "kind": "enumvalue",
+ "name": "POST",
+ "value": "POST",
+ "valueType": {
+ "$id": "1328",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "1325"
+ },
+ "decorators": []
+ }
+ ],
+ "access": "public",
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "1329",
"kind": "enum",
"name": "FineTuneChatCompletionRequestAssistantMessageWeight",
"crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.weight.anonymous",
"valueType": {
- "$id": "1306",
+ "$id": "1330",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15857,28 +16060,28 @@
},
"values": [
{
- "$id": "1307",
+ "$id": "1331",
"kind": "enumvalue",
"name": "0",
"value": "0",
"valueType": {
- "$ref": "1306"
+ "$ref": "1330"
},
"enumType": {
- "$ref": "1305"
+ "$ref": "1329"
},
"decorators": []
},
{
- "$id": "1308",
+ "$id": "1332",
"kind": "enumvalue",
"name": "1",
"value": "1",
"valueType": {
- "$ref": "1306"
+ "$ref": "1330"
},
"enumType": {
- "$ref": "1305"
+ "$ref": "1329"
},
"decorators": []
}
@@ -15890,12 +16093,12 @@
"decorators": []
},
{
- "$id": "1309",
+ "$id": "1333",
"kind": "enum",
"name": "MessageDeltaContentImageFileObjectImageFileDetail",
"crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.image_file.detail.anonymous",
"valueType": {
- "$id": "1310",
+ "$id": "1334",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15903,41 +16106,41 @@
},
"values": [
{
- "$id": "1311",
+ "$id": "1335",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1310"
+ "$ref": "1334"
},
"enumType": {
- "$ref": "1309"
+ "$ref": "1333"
},
"decorators": []
},
{
- "$id": "1312",
+ "$id": "1336",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "1310"
+ "$ref": "1334"
},
"enumType": {
- "$ref": "1309"
+ "$ref": "1333"
},
"decorators": []
},
{
- "$id": "1313",
+ "$id": "1337",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "1310"
+ "$ref": "1334"
},
"enumType": {
- "$ref": "1309"
+ "$ref": "1333"
},
"decorators": []
}
@@ -15949,12 +16152,12 @@
"decorators": []
},
{
- "$id": "1314",
+ "$id": "1338",
"kind": "enum",
"name": "MessageDeltaContentImageUrlObjectImageUrlDetail",
"crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.image_url.detail.anonymous",
"valueType": {
- "$id": "1315",
+ "$id": "1339",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -15962,41 +16165,41 @@
},
"values": [
{
- "$id": "1316",
+ "$id": "1340",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1315"
+ "$ref": "1339"
},
"enumType": {
- "$ref": "1314"
+ "$ref": "1338"
},
"decorators": []
},
{
- "$id": "1317",
+ "$id": "1341",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "1315"
+ "$ref": "1339"
},
"enumType": {
- "$ref": "1314"
+ "$ref": "1338"
},
"decorators": []
},
{
- "$id": "1318",
+ "$id": "1342",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "1315"
+ "$ref": "1339"
},
"enumType": {
- "$ref": "1314"
+ "$ref": "1338"
},
"decorators": []
}
@@ -16008,12 +16211,12 @@
"decorators": []
},
{
- "$id": "1319",
+ "$id": "1343",
"kind": "enum",
"name": "MessageDeltaObjectDeltaRole",
"crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.delta.role.anonymous",
"valueType": {
- "$id": "1320",
+ "$id": "1344",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16021,28 +16224,28 @@
},
"values": [
{
- "$id": "1321",
+ "$id": "1345",
"kind": "enumvalue",
"name": "user",
"value": "user",
"valueType": {
- "$ref": "1320"
+ "$ref": "1344"
},
"enumType": {
- "$ref": "1319"
+ "$ref": "1343"
},
"decorators": []
},
{
- "$id": "1322",
+ "$id": "1346",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "1320"
+ "$ref": "1344"
},
"enumType": {
- "$ref": "1319"
+ "$ref": "1343"
},
"decorators": []
}
@@ -16054,12 +16257,12 @@
"decorators": []
},
{
- "$id": "1323",
+ "$id": "1347",
"kind": "enum",
"name": "AssistantCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.AssistantCollectionOrder",
"valueType": {
- "$id": "1324",
+ "$id": "1348",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16067,28 +16270,28 @@
},
"values": [
{
- "$id": "1325",
+ "$id": "1349",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1324"
+ "$ref": "1348"
},
"enumType": {
- "$ref": "1323"
+ "$ref": "1347"
},
"decorators": []
},
{
- "$id": "1326",
+ "$id": "1350",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1324"
+ "$ref": "1348"
},
"enumType": {
- "$ref": "1323"
+ "$ref": "1347"
},
"decorators": []
}
@@ -16100,12 +16303,12 @@
"decorators": []
},
{
- "$id": "1327",
+ "$id": "1351",
"kind": "enum",
"name": "MessageCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.MessageCollectionOrder",
"valueType": {
- "$id": "1328",
+ "$id": "1352",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16113,28 +16316,28 @@
},
"values": [
{
- "$id": "1329",
+ "$id": "1353",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1328"
+ "$ref": "1352"
},
"enumType": {
- "$ref": "1327"
+ "$ref": "1351"
},
"decorators": []
},
{
- "$id": "1330",
+ "$id": "1354",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1328"
+ "$ref": "1352"
},
"enumType": {
- "$ref": "1327"
+ "$ref": "1351"
},
"decorators": []
}
@@ -16146,12 +16349,12 @@
"decorators": []
},
{
- "$id": "1331",
+ "$id": "1355",
"kind": "enum",
"name": "RunCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.RunCollectionOrder",
"valueType": {
- "$id": "1332",
+ "$id": "1356",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16159,28 +16362,28 @@
},
"values": [
{
- "$id": "1333",
+ "$id": "1357",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1332"
+ "$ref": "1356"
},
"enumType": {
- "$ref": "1331"
+ "$ref": "1355"
},
"decorators": []
},
{
- "$id": "1334",
+ "$id": "1358",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1332"
+ "$ref": "1356"
},
"enumType": {
- "$ref": "1331"
+ "$ref": "1355"
},
"decorators": []
}
@@ -16192,12 +16395,12 @@
"decorators": []
},
{
- "$id": "1335",
+ "$id": "1359",
"kind": "enum",
"name": "RunStepCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.RunStepCollectionOrder",
"valueType": {
- "$id": "1336",
+ "$id": "1360",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16205,28 +16408,28 @@
},
"values": [
{
- "$id": "1337",
+ "$id": "1361",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1336"
+ "$ref": "1360"
},
"enumType": {
- "$ref": "1335"
+ "$ref": "1359"
},
"decorators": []
},
{
- "$id": "1338",
+ "$id": "1362",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1336"
+ "$ref": "1360"
},
"enumType": {
- "$ref": "1335"
+ "$ref": "1359"
},
"decorators": []
}
@@ -16238,12 +16441,12 @@
"decorators": []
},
{
- "$id": "1339",
+ "$id": "1363",
"kind": "enum",
"name": "ChatCompletionCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOrder",
"valueType": {
- "$id": "1340",
+ "$id": "1364",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16251,28 +16454,28 @@
},
"values": [
{
- "$id": "1341",
+ "$id": "1365",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1340"
+ "$ref": "1364"
},
"enumType": {
- "$ref": "1339"
+ "$ref": "1363"
},
"decorators": []
},
{
- "$id": "1342",
+ "$id": "1366",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1340"
+ "$ref": "1364"
},
"enumType": {
- "$ref": "1339"
+ "$ref": "1363"
},
"decorators": []
}
@@ -16284,12 +16487,12 @@
"decorators": []
},
{
- "$id": "1343",
+ "$id": "1367",
"kind": "enum",
"name": "ChatCompletionMessageCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageCollectionOrder",
"valueType": {
- "$id": "1344",
+ "$id": "1368",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16297,28 +16500,28 @@
},
"values": [
{
- "$id": "1345",
+ "$id": "1369",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1344"
+ "$ref": "1368"
},
"enumType": {
- "$ref": "1343"
+ "$ref": "1367"
},
"decorators": []
},
{
- "$id": "1346",
+ "$id": "1370",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1344"
+ "$ref": "1368"
},
"enumType": {
- "$ref": "1343"
+ "$ref": "1367"
},
"decorators": []
}
@@ -16330,12 +16533,12 @@
"decorators": []
},
{
- "$id": "1347",
+ "$id": "1371",
"kind": "enum",
"name": "ContainerCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.ContainerCollectionOrder",
"valueType": {
- "$id": "1348",
+ "$id": "1372",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16343,28 +16546,28 @@
},
"values": [
{
- "$id": "1349",
+ "$id": "1373",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1348"
+ "$ref": "1372"
},
"enumType": {
- "$ref": "1347"
+ "$ref": "1371"
},
"decorators": []
},
{
- "$id": "1350",
+ "$id": "1374",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1348"
+ "$ref": "1372"
},
"enumType": {
- "$ref": "1347"
+ "$ref": "1371"
},
"decorators": []
}
@@ -16376,12 +16579,12 @@
"decorators": []
},
{
- "$id": "1351",
+ "$id": "1375",
"kind": "enum",
"name": "ResponseItemCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOrder",
"valueType": {
- "$id": "1352",
+ "$id": "1376",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16389,28 +16592,28 @@
},
"values": [
{
- "$id": "1353",
+ "$id": "1377",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1352"
+ "$ref": "1376"
},
"enumType": {
- "$ref": "1351"
+ "$ref": "1375"
},
"decorators": []
},
{
- "$id": "1354",
+ "$id": "1378",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1352"
+ "$ref": "1376"
},
"enumType": {
- "$ref": "1351"
+ "$ref": "1375"
},
"decorators": []
}
@@ -16422,12 +16625,12 @@
"decorators": []
},
{
- "$id": "1355",
+ "$id": "1379",
"kind": "enum",
"name": "DotNetGlobalToolCallApprovalPolicy",
"crossLanguageDefinitionId": "OpenAI.DotNetGlobalToolCallApprovalPolicy",
"valueType": {
- "$id": "1356",
+ "$id": "1380",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16435,28 +16638,28 @@
},
"values": [
{
- "$id": "1357",
+ "$id": "1381",
"kind": "enumvalue",
"name": "AlwaysRequireApproval",
"value": "always",
"valueType": {
- "$ref": "1356"
+ "$ref": "1380"
},
"enumType": {
- "$ref": "1355"
+ "$ref": "1379"
},
"decorators": []
},
{
- "$id": "1358",
+ "$id": "1382",
"kind": "enumvalue",
"name": "NeverRequireApproval",
"value": "never",
"valueType": {
- "$ref": "1356"
+ "$ref": "1380"
},
"enumType": {
- "$ref": "1355"
+ "$ref": "1379"
},
"decorators": []
}
@@ -16469,12 +16672,12 @@
"decorators": []
},
{
- "$id": "1359",
+ "$id": "1383",
"kind": "enum",
"name": "DotNetCombinedChunkingStrategyParamType",
"crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam.type.anonymous",
"valueType": {
- "$id": "1360",
+ "$id": "1384",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16482,41 +16685,41 @@
},
"values": [
{
- "$id": "1361",
+ "$id": "1385",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1360"
+ "$ref": "1384"
},
"enumType": {
- "$ref": "1359"
+ "$ref": "1383"
},
"decorators": []
},
{
- "$id": "1362",
+ "$id": "1386",
"kind": "enumvalue",
"name": "static",
"value": "static",
"valueType": {
- "$ref": "1360"
+ "$ref": "1384"
},
"enumType": {
- "$ref": "1359"
+ "$ref": "1383"
},
"decorators": []
},
{
- "$id": "1363",
+ "$id": "1387",
"kind": "enumvalue",
"name": "other",
"value": "other",
"valueType": {
- "$ref": "1360"
+ "$ref": "1384"
},
"enumType": {
- "$ref": "1359"
+ "$ref": "1383"
},
"decorators": []
}
@@ -16528,12 +16731,12 @@
"decorators": []
},
{
- "$id": "1364",
+ "$id": "1388",
"kind": "enum",
"name": "PageOrderOptions",
"crossLanguageDefinitionId": "OpenAI.PageOrderOptions",
"valueType": {
- "$id": "1365",
+ "$id": "1389",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16541,28 +16744,28 @@
},
"values": [
{
- "$id": "1366",
+ "$id": "1390",
"kind": "enumvalue",
"name": "asc",
"value": "asc",
"valueType": {
- "$ref": "1365"
+ "$ref": "1389"
},
"enumType": {
- "$ref": "1364"
+ "$ref": "1388"
},
"decorators": []
},
{
- "$id": "1367",
+ "$id": "1391",
"kind": "enumvalue",
"name": "desc",
"value": "desc",
"valueType": {
- "$ref": "1365"
+ "$ref": "1389"
},
"enumType": {
- "$ref": "1364"
+ "$ref": "1388"
},
"decorators": []
}
@@ -16574,12 +16777,12 @@
"decorators": []
},
{
- "$id": "1368",
+ "$id": "1392",
"kind": "enum",
"name": "VectorStoreFileCollectionOrder",
"crossLanguageDefinitionId": "OpenAI.VectorStoreFileCollectionOrder",
"valueType": {
- "$id": "1369",
+ "$id": "1393",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16587,28 +16790,28 @@
},
"values": [
{
- "$id": "1370",
+ "$id": "1394",
"kind": "enumvalue",
"name": "Ascending",
"value": "asc",
"valueType": {
- "$ref": "1369"
+ "$ref": "1393"
},
"enumType": {
- "$ref": "1368"
+ "$ref": "1392"
},
"decorators": []
},
{
- "$id": "1371",
+ "$id": "1395",
"kind": "enumvalue",
"name": "Descending",
"value": "desc",
"valueType": {
- "$ref": "1369"
+ "$ref": "1393"
},
"enumType": {
- "$ref": "1368"
+ "$ref": "1392"
},
"decorators": []
}
@@ -16620,12 +16823,12 @@
"decorators": []
},
{
- "$id": "1372",
+ "$id": "1396",
"kind": "enum",
"name": "ListVectorStoreFilesFilter",
"crossLanguageDefinitionId": "OpenAI.ListVectorStoreFilesFilter",
"valueType": {
- "$id": "1373",
+ "$id": "1397",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16633,54 +16836,54 @@
},
"values": [
{
- "$id": "1374",
+ "$id": "1398",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "1373"
+ "$ref": "1397"
},
"enumType": {
- "$ref": "1372"
+ "$ref": "1396"
},
"decorators": []
},
{
- "$id": "1375",
+ "$id": "1399",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1373"
+ "$ref": "1397"
},
"enumType": {
- "$ref": "1372"
+ "$ref": "1396"
},
"decorators": []
},
{
- "$id": "1376",
+ "$id": "1400",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "1373"
+ "$ref": "1397"
},
"enumType": {
- "$ref": "1372"
+ "$ref": "1396"
},
"decorators": []
},
{
- "$id": "1377",
+ "$id": "1401",
"kind": "enumvalue",
"name": "cancelled",
"value": "cancelled",
"valueType": {
- "$ref": "1373"
+ "$ref": "1397"
},
"enumType": {
- "$ref": "1372"
+ "$ref": "1396"
},
"decorators": []
}
@@ -16692,12 +16895,12 @@
"decorators": []
},
{
- "$id": "1378",
+ "$id": "1402",
"kind": "enum",
"name": "CreateTranscriptionRequestAccept",
"crossLanguageDefinitionId": "OpenAI.createTranscription.RequestAccept.anonymous",
"valueType": {
- "$id": "1379",
+ "$id": "1403",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16705,28 +16908,28 @@
},
"values": [
{
- "$id": "1380",
+ "$id": "1404",
"kind": "enumvalue",
"name": "application/json",
"value": "application/json",
"valueType": {
- "$ref": "1379"
+ "$ref": "1403"
},
"enumType": {
- "$ref": "1378"
+ "$ref": "1402"
},
"decorators": []
},
{
- "$id": "1381",
+ "$id": "1405",
"kind": "enumvalue",
"name": "text/event-stream",
"value": "text/event-stream",
"valueType": {
- "$ref": "1379"
+ "$ref": "1403"
},
"enumType": {
- "$ref": "1378"
+ "$ref": "1402"
},
"decorators": []
}
@@ -16738,12 +16941,78 @@
"decorators": []
},
{
- "$id": "1382",
+ "$id": "1406",
+ "kind": "enum",
+ "name": "ChatToolCallKind",
+ "crossLanguageDefinitionId": "OpenAI.ChatToolCallKind",
+ "valueType": {
+ "$id": "1407",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1408",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "1407"
+ },
+ "enumType": {
+ "$ref": "1406"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1409",
+ "kind": "enum",
+ "name": "ChatToolKind",
+ "crossLanguageDefinitionId": "OpenAI.ChatToolKind",
+ "valueType": {
+ "$id": "1410",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1411",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "1410"
+ },
+ "enumType": {
+ "$ref": "1409"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1412",
"kind": "enum",
"name": "ListEvalsRequestOrder",
"crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrder.anonymous",
"valueType": {
- "$id": "1383",
+ "$id": "1413",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16751,28 +17020,28 @@
},
"values": [
{
- "$id": "1384",
+ "$id": "1414",
"kind": "enumvalue",
"name": "asc",
"value": "asc",
"valueType": {
- "$ref": "1383"
+ "$ref": "1413"
},
"enumType": {
- "$ref": "1382"
+ "$ref": "1412"
},
"decorators": []
},
{
- "$id": "1385",
+ "$id": "1415",
"kind": "enumvalue",
"name": "desc",
"value": "desc",
"valueType": {
- "$ref": "1383"
+ "$ref": "1413"
},
"enumType": {
- "$ref": "1382"
+ "$ref": "1412"
},
"decorators": []
}
@@ -16784,12 +17053,12 @@
"decorators": []
},
{
- "$id": "1386",
+ "$id": "1416",
"kind": "enum",
"name": "ListEvalsRequestOrderBy",
"crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrderBy.anonymous",
"valueType": {
- "$id": "1387",
+ "$id": "1417",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16797,28 +17066,28 @@
},
"values": [
{
- "$id": "1388",
+ "$id": "1418",
"kind": "enumvalue",
"name": "created_at",
"value": "created_at",
"valueType": {
- "$ref": "1387"
+ "$ref": "1417"
},
"enumType": {
- "$ref": "1386"
+ "$ref": "1416"
},
"decorators": []
},
{
- "$id": "1389",
+ "$id": "1419",
"kind": "enumvalue",
"name": "updated_at",
"value": "updated_at",
"valueType": {
- "$ref": "1387"
+ "$ref": "1417"
},
"enumType": {
- "$ref": "1386"
+ "$ref": "1416"
},
"decorators": []
}
@@ -16830,12 +17099,12 @@
"decorators": []
},
{
- "$id": "1390",
+ "$id": "1420",
"kind": "enum",
"name": "GetEvalRunsRequestOrder",
"crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestOrder.anonymous",
"valueType": {
- "$id": "1391",
+ "$id": "1421",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16843,28 +17112,28 @@
},
"values": [
{
- "$id": "1392",
+ "$id": "1422",
"kind": "enumvalue",
"name": "asc",
"value": "asc",
"valueType": {
- "$ref": "1391"
+ "$ref": "1421"
},
"enumType": {
- "$ref": "1390"
+ "$ref": "1420"
},
"decorators": []
},
{
- "$id": "1393",
+ "$id": "1423",
"kind": "enumvalue",
"name": "desc",
"value": "desc",
"valueType": {
- "$ref": "1391"
+ "$ref": "1421"
},
"enumType": {
- "$ref": "1390"
+ "$ref": "1420"
},
"decorators": []
}
@@ -16876,12 +17145,12 @@
"decorators": []
},
{
- "$id": "1394",
+ "$id": "1424",
"kind": "enum",
"name": "GetEvalRunsRequestStatus",
"crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestStatus.anonymous",
"valueType": {
- "$id": "1395",
+ "$id": "1425",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16889,67 +17158,67 @@
},
"values": [
{
- "$id": "1396",
+ "$id": "1426",
"kind": "enumvalue",
"name": "queued",
"value": "queued",
"valueType": {
- "$ref": "1395"
+ "$ref": "1425"
},
"enumType": {
- "$ref": "1394"
+ "$ref": "1424"
},
"decorators": []
},
{
- "$id": "1397",
+ "$id": "1427",
"kind": "enumvalue",
"name": "in_progress",
"value": "in_progress",
"valueType": {
- "$ref": "1395"
+ "$ref": "1425"
},
"enumType": {
- "$ref": "1394"
+ "$ref": "1424"
},
"decorators": []
},
{
- "$id": "1398",
+ "$id": "1428",
"kind": "enumvalue",
"name": "completed",
"value": "completed",
"valueType": {
- "$ref": "1395"
+ "$ref": "1425"
},
"enumType": {
- "$ref": "1394"
+ "$ref": "1424"
},
"decorators": []
},
{
- "$id": "1399",
+ "$id": "1429",
"kind": "enumvalue",
"name": "canceled",
"value": "canceled",
"valueType": {
- "$ref": "1395"
+ "$ref": "1425"
},
"enumType": {
- "$ref": "1394"
+ "$ref": "1424"
},
"decorators": []
},
{
- "$id": "1400",
+ "$id": "1430",
"kind": "enumvalue",
"name": "failed",
"value": "failed",
"valueType": {
- "$ref": "1395"
+ "$ref": "1425"
},
"enumType": {
- "$ref": "1394"
+ "$ref": "1424"
},
"decorators": []
}
@@ -16961,12 +17230,12 @@
"decorators": []
},
{
- "$id": "1401",
+ "$id": "1431",
"kind": "enum",
"name": "GetEvalRunOutputItemsRequestStatus",
"crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestStatus.anonymous",
"valueType": {
- "$id": "1402",
+ "$id": "1432",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -16974,28 +17243,28 @@
},
"values": [
{
- "$id": "1403",
+ "$id": "1433",
"kind": "enumvalue",
"name": "fail",
"value": "fail",
"valueType": {
- "$ref": "1402"
+ "$ref": "1432"
},
"enumType": {
- "$ref": "1401"
+ "$ref": "1431"
},
"decorators": []
},
{
- "$id": "1404",
+ "$id": "1434",
"kind": "enumvalue",
"name": "pass",
"value": "pass",
"valueType": {
- "$ref": "1402"
+ "$ref": "1432"
},
"enumType": {
- "$ref": "1401"
+ "$ref": "1431"
},
"decorators": []
}
@@ -17007,12 +17276,12 @@
"decorators": []
},
{
- "$id": "1405",
+ "$id": "1435",
"kind": "enum",
"name": "GetEvalRunOutputItemsRequestOrder",
"crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestOrder.anonymous",
"valueType": {
- "$id": "1406",
+ "$id": "1436",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17020,28 +17289,28 @@
},
"values": [
{
- "$id": "1407",
+ "$id": "1437",
"kind": "enumvalue",
"name": "asc",
"value": "asc",
"valueType": {
- "$ref": "1406"
+ "$ref": "1436"
},
"enumType": {
- "$ref": "1405"
+ "$ref": "1435"
},
"decorators": []
},
{
- "$id": "1408",
+ "$id": "1438",
"kind": "enumvalue",
"name": "desc",
"value": "desc",
"valueType": {
- "$ref": "1406"
+ "$ref": "1436"
},
"enumType": {
- "$ref": "1405"
+ "$ref": "1435"
},
"decorators": []
}
@@ -17053,12 +17322,58 @@
"decorators": []
},
{
- "$id": "1409",
+ "$id": "1439",
+ "kind": "enum",
+ "name": "ModerationAppliedInputType",
+ "crossLanguageDefinitionId": "OpenAI.ModerationAppliedInputType",
+ "valueType": {
+ "$id": "1440",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1441",
+ "kind": "enumvalue",
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "1440"
+ },
+ "enumType": {
+ "$ref": "1439"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "1442",
+ "kind": "enumvalue",
+ "name": "image",
+ "value": "image",
+ "valueType": {
+ "$ref": "1440"
+ },
+ "enumType": {
+ "$ref": "1439"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1443",
"kind": "enum",
"name": "IncludedRunStepProperty",
"crossLanguageDefinitionId": "OpenAI.IncludedRunStepProperty",
"valueType": {
- "$id": "1410",
+ "$id": "1444",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17066,15 +17381,15 @@
},
"values": [
{
- "$id": "1411",
+ "$id": "1445",
"kind": "enumvalue",
"name": "file_search_result_content",
"value": "step_details.tool_calls[*].file_search.results[*].content",
"valueType": {
- "$ref": "1410"
+ "$ref": "1444"
},
"enumType": {
- "$ref": "1409"
+ "$ref": "1443"
},
"decorators": []
}
@@ -17086,12 +17401,78 @@
"decorators": []
},
{
- "$id": "1412",
+ "$id": "1446",
+ "kind": "enum",
+ "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType",
+ "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentType",
+ "valueType": {
+ "$id": "1447",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1448",
+ "kind": "enumvalue",
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "1447"
+ },
+ "enumType": {
+ "$ref": "1446"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1449",
+ "kind": "enum",
+ "name": "VectorStoreExpirationAnchor",
+ "crossLanguageDefinitionId": "OpenAI.VectorStoreExpirationAnchor",
+ "valueType": {
+ "$id": "1450",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "1451",
+ "kind": "enumvalue",
+ "name": "last_active_at",
+ "value": "last_active_at",
+ "valueType": {
+ "$ref": "1450"
+ },
+ "enumType": {
+ "$ref": "1449"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "OpenAI",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "1452",
"kind": "enum",
"name": "CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum",
"crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum",
"valueType": {
- "$id": "1413",
+ "$id": "1453",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17099,15 +17480,15 @@
},
"values": [
{
- "$id": "1414",
+ "$id": "1454",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1413"
+ "$ref": "1453"
},
"enumType": {
- "$ref": "1412"
+ "$ref": "1452"
},
"decorators": []
}
@@ -17120,12 +17501,12 @@
"decorators": []
},
{
- "$id": "1415",
+ "$id": "1455",
"kind": "enum",
"name": "CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum",
"crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum",
"valueType": {
- "$id": "1416",
+ "$id": "1456",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17133,15 +17514,15 @@
},
"values": [
{
- "$id": "1417",
+ "$id": "1457",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1416"
+ "$ref": "1456"
},
"enumType": {
- "$ref": "1415"
+ "$ref": "1455"
},
"decorators": []
}
@@ -17154,12 +17535,12 @@
"decorators": []
},
{
- "$id": "1418",
+ "$id": "1458",
"kind": "enum",
"name": "CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum",
"crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum",
"valueType": {
- "$id": "1419",
+ "$id": "1459",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17167,15 +17548,15 @@
},
"values": [
{
- "$id": "1420",
+ "$id": "1460",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1419"
+ "$ref": "1459"
},
"enumType": {
- "$ref": "1418"
+ "$ref": "1458"
},
"decorators": []
}
@@ -17188,12 +17569,12 @@
"decorators": []
},
{
- "$id": "1421",
+ "$id": "1461",
"kind": "enum",
"name": "CreateFineTuningJobRequestHyperparametersBetaChoiceEnum",
"crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBetaChoiceEnum",
"valueType": {
- "$id": "1422",
+ "$id": "1462",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17201,15 +17582,15 @@
},
"values": [
{
- "$id": "1423",
+ "$id": "1463",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "1422"
+ "$ref": "1462"
},
"enumType": {
- "$ref": "1421"
+ "$ref": "1461"
},
"decorators": []
}
@@ -17222,12 +17603,12 @@
"decorators": []
},
{
- "$id": "1424",
+ "$id": "1464",
"kind": "enum",
"name": "DotNetResponseReasoningEffortLevel",
"crossLanguageDefinitionId": "OpenAI.DotNetResponseReasoningEffortLevel",
"valueType": {
- "$id": "1425",
+ "$id": "1465",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17235,54 +17616,54 @@
},
"values": [
{
- "$id": "1426",
+ "$id": "1466",
"kind": "enumvalue",
"name": "minimal",
"value": "minimal",
"valueType": {
- "$ref": "1425"
+ "$ref": "1465"
},
"enumType": {
- "$ref": "1424"
+ "$ref": "1464"
},
"decorators": []
},
{
- "$id": "1427",
+ "$id": "1467",
"kind": "enumvalue",
"name": "low",
"value": "low",
"valueType": {
- "$ref": "1425"
+ "$ref": "1465"
},
"enumType": {
- "$ref": "1424"
+ "$ref": "1464"
},
"decorators": []
},
{
- "$id": "1428",
+ "$id": "1468",
"kind": "enumvalue",
"name": "medium",
"value": "medium",
"valueType": {
- "$ref": "1425"
+ "$ref": "1465"
},
"enumType": {
- "$ref": "1424"
+ "$ref": "1464"
},
"decorators": []
},
{
- "$id": "1429",
+ "$id": "1469",
"kind": "enumvalue",
"name": "high",
"value": "high",
"valueType": {
- "$ref": "1425"
+ "$ref": "1465"
},
"enumType": {
- "$ref": "1424"
+ "$ref": "1464"
},
"decorators": []
}
@@ -17295,12 +17676,12 @@
"decorators": []
},
{
- "$id": "1430",
+ "$id": "1470",
"kind": "enum",
"name": "DotNetAudioVoiceIds",
"crossLanguageDefinitionId": "OpenAI.DotNetAudioVoiceIds",
"valueType": {
- "$id": "1431",
+ "$id": "1471",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17308,145 +17689,145 @@
},
"values": [
{
- "$id": "1432",
+ "$id": "1472",
"kind": "enumvalue",
"name": "alloy",
"value": "alloy",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1433",
+ "$id": "1473",
"kind": "enumvalue",
"name": "ash",
"value": "ash",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1434",
+ "$id": "1474",
"kind": "enumvalue",
"name": "ballad",
"value": "ballad",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1435",
+ "$id": "1475",
"kind": "enumvalue",
"name": "coral",
"value": "coral",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1436",
+ "$id": "1476",
"kind": "enumvalue",
"name": "echo",
"value": "echo",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1437",
+ "$id": "1477",
"kind": "enumvalue",
"name": "fable",
"value": "fable",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1438",
+ "$id": "1478",
"kind": "enumvalue",
"name": "onyx",
"value": "onyx",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1439",
+ "$id": "1479",
"kind": "enumvalue",
"name": "nova",
"value": "nova",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1440",
+ "$id": "1480",
"kind": "enumvalue",
"name": "sage",
"value": "sage",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1441",
+ "$id": "1481",
"kind": "enumvalue",
"name": "shimmer",
"value": "shimmer",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
},
{
- "$id": "1442",
+ "$id": "1482",
"kind": "enumvalue",
"name": "verse",
"value": "verse",
"valueType": {
- "$ref": "1431"
+ "$ref": "1471"
},
"enumType": {
- "$ref": "1430"
+ "$ref": "1470"
},
"decorators": []
}
@@ -17459,12 +17840,12 @@
"decorators": []
},
{
- "$id": "1443",
+ "$id": "1483",
"kind": "enum",
"name": "DotNetChatVoiceIds",
"crossLanguageDefinitionId": "OpenAI.DotNetChatVoiceIds",
"valueType": {
- "$id": "1444",
+ "$id": "1484",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17472,145 +17853,145 @@
},
"values": [
{
- "$id": "1445",
+ "$id": "1485",
"kind": "enumvalue",
"name": "alloy",
"value": "alloy",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1446",
+ "$id": "1486",
"kind": "enumvalue",
"name": "ash",
"value": "ash",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1447",
+ "$id": "1487",
"kind": "enumvalue",
"name": "ballad",
"value": "ballad",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1448",
+ "$id": "1488",
"kind": "enumvalue",
"name": "coral",
"value": "coral",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1449",
+ "$id": "1489",
"kind": "enumvalue",
"name": "echo",
"value": "echo",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1450",
+ "$id": "1490",
"kind": "enumvalue",
"name": "fable",
"value": "fable",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1451",
+ "$id": "1491",
"kind": "enumvalue",
"name": "onyx",
"value": "onyx",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1452",
+ "$id": "1492",
"kind": "enumvalue",
"name": "nova",
"value": "nova",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1453",
+ "$id": "1493",
"kind": "enumvalue",
"name": "sage",
"value": "sage",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1454",
+ "$id": "1494",
"kind": "enumvalue",
"name": "shimmer",
"value": "shimmer",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
},
{
- "$id": "1455",
+ "$id": "1495",
"kind": "enumvalue",
"name": "verse",
"value": "verse",
"valueType": {
- "$ref": "1444"
+ "$ref": "1484"
},
"enumType": {
- "$ref": "1443"
+ "$ref": "1483"
},
"decorators": []
}
@@ -17623,12 +18004,12 @@
"decorators": []
},
{
- "$id": "1456",
+ "$id": "1496",
"kind": "enum",
"name": "DotNetRealtimeVoiceIds",
"crossLanguageDefinitionId": "OpenAI.DotNetRealtimeVoiceIds",
"valueType": {
- "$id": "1457",
+ "$id": "1497",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17636,145 +18017,145 @@
},
"values": [
{
- "$id": "1458",
+ "$id": "1498",
"kind": "enumvalue",
"name": "alloy",
"value": "alloy",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1459",
+ "$id": "1499",
"kind": "enumvalue",
"name": "ash",
"value": "ash",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1460",
+ "$id": "1500",
"kind": "enumvalue",
"name": "ballad",
"value": "ballad",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1461",
+ "$id": "1501",
"kind": "enumvalue",
"name": "coral",
"value": "coral",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1462",
+ "$id": "1502",
"kind": "enumvalue",
"name": "echo",
"value": "echo",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1463",
+ "$id": "1503",
"kind": "enumvalue",
"name": "fable",
"value": "fable",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1464",
+ "$id": "1504",
"kind": "enumvalue",
"name": "onyx",
"value": "onyx",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1465",
+ "$id": "1505",
"kind": "enumvalue",
"name": "nova",
"value": "nova",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1466",
+ "$id": "1506",
"kind": "enumvalue",
"name": "sage",
"value": "sage",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1467",
+ "$id": "1507",
"kind": "enumvalue",
"name": "shimmer",
"value": "shimmer",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
},
{
- "$id": "1468",
+ "$id": "1508",
"kind": "enumvalue",
"name": "verse",
"value": "verse",
"valueType": {
- "$ref": "1457"
+ "$ref": "1497"
},
"enumType": {
- "$ref": "1456"
+ "$ref": "1496"
},
"decorators": []
}
@@ -17789,13 +18170,13 @@
],
"constants": [
{
- "$id": "1469",
+ "$id": "1509",
"kind": "constant",
"name": "ListAssistantsResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1470",
+ "$id": "1510",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17805,13 +18186,13 @@
"decorators": []
},
{
- "$id": "1471",
+ "$id": "1511",
"kind": "constant",
"name": "AssistantObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1472",
+ "$id": "1512",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17821,13 +18202,13 @@
"decorators": []
},
{
- "$id": "1473",
+ "$id": "1513",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1474",
+ "$id": "1514",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17837,13 +18218,13 @@
"decorators": []
},
{
- "$id": "1475",
+ "$id": "1515",
"kind": "constant",
"name": "DeleteAssistantResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1476",
+ "$id": "1516",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17853,13 +18234,13 @@
"decorators": []
},
{
- "$id": "1477",
+ "$id": "1517",
"kind": "constant",
"name": "VadConfigType",
"namespace": "OpenAI",
"usage": "Input",
"valueType": {
- "$id": "1478",
+ "$id": "1518",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17869,13 +18250,13 @@
"decorators": []
},
{
- "$id": "1479",
+ "$id": "1519",
"kind": "constant",
"name": "CreateTranscriptionResponseVerboseJsonTask",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1480",
+ "$id": "1520",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17885,13 +18266,13 @@
"decorators": []
},
{
- "$id": "1481",
+ "$id": "1521",
"kind": "constant",
"name": "CreateTranslationResponseVerboseJsonTask",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1482",
+ "$id": "1522",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17901,13 +18282,13 @@
"decorators": []
},
{
- "$id": "1483",
+ "$id": "1523",
"kind": "constant",
"name": "CreateBatchRequestCompletion_window",
"namespace": "",
"usage": "Spread,Json",
"valueType": {
- "$id": "1484",
+ "$id": "1524",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17917,13 +18298,13 @@
"decorators": []
},
{
- "$id": "1485",
+ "$id": "1525",
"kind": "constant",
"name": "BatchObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1486",
+ "$id": "1526",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17933,29 +18314,13 @@
"decorators": []
},
{
- "$id": "1487",
- "kind": "constant",
- "name": "BatchErrorsObject",
- "namespace": "OpenAI",
- "usage": "Output,Json",
- "valueType": {
- "$id": "1488",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "list",
- "decorators": []
- },
- {
- "$id": "1489",
+ "$id": "1527",
"kind": "constant",
"name": "ListBatchesResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1490",
+ "$id": "1528",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17965,13 +18330,13 @@
"decorators": []
},
{
- "$id": "1491",
+ "$id": "1529",
"kind": "constant",
"name": "ChatCompletionListObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1492",
+ "$id": "1530",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17981,13 +18346,13 @@
"decorators": []
},
{
- "$id": "1493",
+ "$id": "1531",
"kind": "constant",
"name": "ChatCompletionResponseMessageAnnotationType",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1494",
+ "$id": "1532",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -17997,13 +18362,13 @@
"decorators": []
},
{
- "$id": "1495",
+ "$id": "1533",
"kind": "constant",
"name": "CreateChatCompletionResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1496",
+ "$id": "1534",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18013,13 +18378,13 @@
"decorators": []
},
{
- "$id": "1497",
+ "$id": "1535",
"kind": "constant",
"name": "CreateChatCompletionRequestWebSearchOptionsUserLocation1Type",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1498",
+ "$id": "1536",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18029,13 +18394,13 @@
"decorators": []
},
{
- "$id": "1499",
+ "$id": "1537",
"kind": "constant",
"name": "ChatCompletionNamedToolChoiceType",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1500",
+ "$id": "1538",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18045,13 +18410,13 @@
"decorators": []
},
{
- "$id": "1501",
+ "$id": "1539",
"kind": "constant",
"name": "CreateChatCompletionRequestToolChoice1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1502",
+ "$id": "1540",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18061,13 +18426,13 @@
"decorators": []
},
{
- "$id": "1503",
+ "$id": "1541",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1504",
+ "$id": "1542",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18077,30 +18442,14 @@
"decorators": []
},
{
- "$id": "1505",
- "kind": "constant",
- "name": "ChatCompletionMessageToolCallChunkType",
- "namespace": "OpenAI",
- "usage": "Output",
- "valueType": {
- "$id": "1506",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "function",
- "decorators": []
- },
- {
- "$id": "1507",
+ "$id": "1543",
"kind": "constant",
"name": "CreateChatCompletionStreamResponseObject",
"namespace": "OpenAI",
"access": "public",
"usage": "Output",
"valueType": {
- "$id": "1508",
+ "$id": "1544",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18110,13 +18459,13 @@
"decorators": []
},
{
- "$id": "1509",
+ "$id": "1545",
"kind": "constant",
"name": "ChatCompletionDeletedObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1510",
+ "$id": "1546",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18126,13 +18475,13 @@
"decorators": []
},
{
- "$id": "1511",
+ "$id": "1547",
"kind": "constant",
"name": "ChatCompletionMessageListObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1512",
+ "$id": "1548",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18142,13 +18491,13 @@
"decorators": []
},
{
- "$id": "1513",
+ "$id": "1549",
"kind": "constant",
"name": "ContainerListResourceObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1514",
+ "$id": "1550",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18158,29 +18507,13 @@
"decorators": []
},
{
- "$id": "1515",
- "kind": "constant",
- "name": "ContainerResourceExpiresAfterAnchor",
- "namespace": "OpenAI",
- "usage": "Output,Json",
- "valueType": {
- "$id": "1516",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "last_active_at",
- "decorators": []
- },
- {
- "$id": "1517",
+ "$id": "1551",
"kind": "constant",
"name": "CreateContainerBodyExpiresAfterAnchor",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1518",
+ "$id": "1552",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18190,13 +18523,13 @@
"decorators": []
},
{
- "$id": "1519",
+ "$id": "1553",
"kind": "constant",
"name": "DeleteContainerResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1520",
+ "$id": "1554",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18206,13 +18539,13 @@
"decorators": []
},
{
- "$id": "1521",
+ "$id": "1555",
"kind": "constant",
"name": "DeleteContainerResponseDeleted",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1522",
+ "$id": "1556",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -18222,13 +18555,13 @@
"decorators": []
},
{
- "$id": "1523",
+ "$id": "1557",
"kind": "constant",
"name": "ContainerFileListResourceObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1524",
+ "$id": "1558",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18238,13 +18571,13 @@
"decorators": []
},
{
- "$id": "1525",
+ "$id": "1559",
"kind": "constant",
"name": "DeleteContainerFileResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1526",
+ "$id": "1560",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18254,13 +18587,13 @@
"decorators": []
},
{
- "$id": "1527",
+ "$id": "1561",
"kind": "constant",
"name": "DeleteContainerFileResponseDeleted",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1528",
+ "$id": "1562",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -18270,13 +18603,13 @@
"decorators": []
},
{
- "$id": "1529",
+ "$id": "1563",
"kind": "constant",
"name": "EmbeddingObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1530",
+ "$id": "1564",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18286,13 +18619,13 @@
"decorators": []
},
{
- "$id": "1531",
+ "$id": "1565",
"kind": "constant",
"name": "CreateEmbeddingResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1532",
+ "$id": "1566",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18302,13 +18635,13 @@
"decorators": []
},
{
- "$id": "1533",
+ "$id": "1567",
"kind": "constant",
"name": "ListFilesResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1534",
+ "$id": "1568",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18318,13 +18651,13 @@
"decorators": []
},
{
- "$id": "1535",
+ "$id": "1569",
"kind": "constant",
"name": "OpenAIFileObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1536",
+ "$id": "1570",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18334,13 +18667,13 @@
"decorators": []
},
{
- "$id": "1537",
+ "$id": "1571",
"kind": "constant",
"name": "DeleteFileResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1538",
+ "$id": "1572",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18350,13 +18683,13 @@
"decorators": []
},
{
- "$id": "1539",
+ "$id": "1573",
"kind": "constant",
"name": "FineTuningCheckpointPermissionObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1540",
+ "$id": "1574",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18366,13 +18699,13 @@
"decorators": []
},
{
- "$id": "1541",
+ "$id": "1575",
"kind": "constant",
"name": "ListFineTuningCheckpointPermissionResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1542",
+ "$id": "1576",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18382,13 +18715,13 @@
"decorators": []
},
{
- "$id": "1543",
+ "$id": "1577",
"kind": "constant",
"name": "DeleteFineTuningCheckpointPermissionResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1544",
+ "$id": "1578",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18398,13 +18731,13 @@
"decorators": []
},
{
- "$id": "1545",
+ "$id": "1579",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker2",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1546",
+ "$id": "1580",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18414,13 +18747,13 @@
"decorators": []
},
{
- "$id": "1547",
+ "$id": "1581",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker3",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1548",
+ "$id": "1582",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18430,13 +18763,13 @@
"decorators": []
},
{
- "$id": "1549",
+ "$id": "1583",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker4",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1550",
+ "$id": "1584",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18446,13 +18779,13 @@
"decorators": []
},
{
- "$id": "1551",
+ "$id": "1585",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker5",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1552",
+ "$id": "1586",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18462,13 +18795,13 @@
"decorators": []
},
{
- "$id": "1553",
+ "$id": "1587",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker6",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1554",
+ "$id": "1588",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18478,13 +18811,13 @@
"decorators": []
},
{
- "$id": "1555",
+ "$id": "1589",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker7",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1556",
+ "$id": "1590",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18494,13 +18827,13 @@
"decorators": []
},
{
- "$id": "1557",
+ "$id": "1591",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker8",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1558",
+ "$id": "1592",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18510,13 +18843,13 @@
"decorators": []
},
{
- "$id": "1559",
+ "$id": "1593",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker9",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1560",
+ "$id": "1594",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18526,13 +18859,13 @@
"decorators": []
},
{
- "$id": "1561",
+ "$id": "1595",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker10",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1562",
+ "$id": "1596",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18542,13 +18875,13 @@
"decorators": []
},
{
- "$id": "1563",
+ "$id": "1597",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker11",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1564",
+ "$id": "1598",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18558,29 +18891,13 @@
"decorators": []
},
{
- "$id": "1565",
- "kind": "constant",
- "name": "EvalItemType",
- "namespace": "OpenAI",
- "usage": "Input,Output,Json",
- "valueType": {
- "$id": "1566",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "message",
- "decorators": []
- },
- {
- "$id": "1567",
+ "$id": "1599",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker12",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1568",
+ "$id": "1600",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18590,13 +18907,13 @@
"decorators": []
},
{
- "$id": "1569",
+ "$id": "1601",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker13",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1570",
+ "$id": "1602",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18606,13 +18923,13 @@
"decorators": []
},
{
- "$id": "1571",
+ "$id": "1603",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker14",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1572",
+ "$id": "1604",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18622,13 +18939,13 @@
"decorators": []
},
{
- "$id": "1573",
+ "$id": "1605",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker15",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1574",
+ "$id": "1606",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18638,13 +18955,13 @@
"decorators": []
},
{
- "$id": "1575",
+ "$id": "1607",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker16",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1576",
+ "$id": "1608",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18654,13 +18971,13 @@
"decorators": []
},
{
- "$id": "1577",
+ "$id": "1609",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker17",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1578",
+ "$id": "1610",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18670,13 +18987,13 @@
"decorators": []
},
{
- "$id": "1579",
+ "$id": "1611",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker18",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1580",
+ "$id": "1612",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18686,13 +19003,13 @@
"decorators": []
},
{
- "$id": "1581",
+ "$id": "1613",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker19",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1582",
+ "$id": "1614",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18702,13 +19019,13 @@
"decorators": []
},
{
- "$id": "1583",
+ "$id": "1615",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker20",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1584",
+ "$id": "1616",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18718,13 +19035,13 @@
"decorators": []
},
{
- "$id": "1585",
+ "$id": "1617",
"kind": "constant",
"name": "FineTuningJobObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1586",
+ "$id": "1618",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18734,13 +19051,13 @@
"decorators": []
},
{
- "$id": "1587",
+ "$id": "1619",
"kind": "constant",
"name": "ListPaginatedFineTuningJobsResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1588",
+ "$id": "1620",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18750,13 +19067,13 @@
"decorators": []
},
{
- "$id": "1589",
+ "$id": "1621",
"kind": "constant",
"name": "FineTuningJobCheckpointObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1590",
+ "$id": "1622",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18766,13 +19083,13 @@
"decorators": []
},
{
- "$id": "1591",
+ "$id": "1623",
"kind": "constant",
"name": "ListFineTuningJobCheckpointsResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1592",
+ "$id": "1624",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18782,13 +19099,13 @@
"decorators": []
},
{
- "$id": "1593",
+ "$id": "1625",
"kind": "constant",
"name": "FineTuningJobEventObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1594",
+ "$id": "1626",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18798,13 +19115,13 @@
"decorators": []
},
{
- "$id": "1595",
+ "$id": "1627",
"kind": "constant",
"name": "ListFineTuningJobEventsResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1596",
+ "$id": "1628",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18814,13 +19131,13 @@
"decorators": []
},
{
- "$id": "1597",
+ "$id": "1629",
"kind": "constant",
"name": "EvalListObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1598",
+ "$id": "1630",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18830,13 +19147,13 @@
"decorators": []
},
{
- "$id": "1599",
+ "$id": "1631",
"kind": "constant",
"name": "EvalObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1600",
+ "$id": "1632",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18846,13 +19163,13 @@
"decorators": []
},
{
- "$id": "1601",
+ "$id": "1633",
"kind": "constant",
"name": "DeleteEvalResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1602",
+ "$id": "1634",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18862,13 +19179,13 @@
"decorators": []
},
{
- "$id": "1603",
+ "$id": "1635",
"kind": "constant",
"name": "EvalRunListObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1604",
+ "$id": "1636",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18878,13 +19195,13 @@
"decorators": []
},
{
- "$id": "1605",
+ "$id": "1637",
"kind": "constant",
"name": "EvalRunObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1606",
+ "$id": "1638",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18894,13 +19211,13 @@
"decorators": []
},
{
- "$id": "1607",
+ "$id": "1639",
"kind": "constant",
"name": "EvalCompletionsRunDataSourceParamsInputMessages1Type",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1608",
+ "$id": "1640",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18910,13 +19227,13 @@
"decorators": []
},
{
- "$id": "1609",
+ "$id": "1641",
"kind": "constant",
"name": "EvalCompletionsRunDataSourceParamsInputMessages2Type",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1610",
+ "$id": "1642",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18926,13 +19243,13 @@
"decorators": []
},
{
- "$id": "1611",
+ "$id": "1643",
"kind": "constant",
"name": "EvalResponsesRunDataSourceParamsInputMessages1Type",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1612",
+ "$id": "1644",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18942,13 +19259,13 @@
"decorators": []
},
{
- "$id": "1613",
+ "$id": "1645",
"kind": "constant",
"name": "EvalResponsesRunDataSourceParamsInputMessages2Type",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1614",
+ "$id": "1646",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18958,29 +19275,13 @@
"decorators": []
},
{
- "$id": "1615",
- "kind": "constant",
- "name": "ImageGenToolModel",
- "namespace": "OpenAI",
- "usage": "Input,Output,Json",
- "valueType": {
- "$id": "1616",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "gpt-image-1",
- "decorators": []
- },
- {
- "$id": "1617",
+ "$id": "1647",
"kind": "constant",
"name": "MCPToolRequireApproval2",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1618",
+ "$id": "1648",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -18990,13 +19291,13 @@
"decorators": []
},
{
- "$id": "1619",
+ "$id": "1649",
"kind": "constant",
"name": "MCPToolRequireApproval3",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1620",
+ "$id": "1650",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19006,13 +19307,13 @@
"decorators": []
},
{
- "$id": "1621",
+ "$id": "1651",
"kind": "constant",
"name": "DeleteEvalRunResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1622",
+ "$id": "1652",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19022,13 +19323,13 @@
"decorators": []
},
{
- "$id": "1623",
+ "$id": "1653",
"kind": "constant",
"name": "EvalRunOutputItemListObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1624",
+ "$id": "1654",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19038,13 +19339,13 @@
"decorators": []
},
{
- "$id": "1625",
+ "$id": "1655",
"kind": "constant",
"name": "EvalRunOutputItemObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1626",
+ "$id": "1656",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19054,13 +19355,13 @@
"decorators": []
},
{
- "$id": "1627",
+ "$id": "1657",
"kind": "constant",
"name": "LocalShellExecActionType",
"namespace": "OpenAI",
"usage": "Input,Output,Json",
"valueType": {
- "$id": "1628",
+ "$id": "1658",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19070,13 +19371,13 @@
"decorators": []
},
{
- "$id": "1629",
+ "$id": "1659",
"kind": "constant",
"name": "ResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1630",
+ "$id": "1660",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19086,13 +19387,13 @@
"decorators": []
},
{
- "$id": "1631",
+ "$id": "1661",
"kind": "constant",
"name": "DeleteResponseResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1632",
+ "$id": "1662",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19102,13 +19403,13 @@
"decorators": []
},
{
- "$id": "1633",
+ "$id": "1663",
"kind": "constant",
"name": "DeleteResponseResponseDeleted",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1634",
+ "$id": "1664",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -19118,13 +19419,13 @@
"decorators": []
},
{
- "$id": "1635",
+ "$id": "1665",
"kind": "constant",
"name": "ResponseItemListObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1636",
+ "$id": "1666",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19134,13 +19435,13 @@
"decorators": []
},
{
- "$id": "1637",
+ "$id": "1667",
"kind": "constant",
"name": "AssistantToolsFileSearchTypeOnlyType",
"namespace": "OpenAI",
"usage": "Input,Output,Json",
"valueType": {
- "$id": "1638",
+ "$id": "1668",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19150,13 +19451,13 @@
"decorators": []
},
{
- "$id": "1639",
+ "$id": "1669",
"kind": "constant",
"name": "MessageObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1640",
+ "$id": "1670",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19166,13 +19467,13 @@
"decorators": []
},
{
- "$id": "1641",
+ "$id": "1671",
"kind": "constant",
"name": "ListMessagesResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1642",
+ "$id": "1672",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19182,13 +19483,13 @@
"decorators": []
},
{
- "$id": "1643",
+ "$id": "1673",
"kind": "constant",
"name": "DeleteMessageResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1644",
+ "$id": "1674",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19198,13 +19499,13 @@
"decorators": []
},
{
- "$id": "1645",
+ "$id": "1675",
"kind": "constant",
"name": "CreateModerationRequestInput2Type",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1646",
+ "$id": "1676",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19214,13 +19515,13 @@
"decorators": []
},
{
- "$id": "1647",
+ "$id": "1677",
"kind": "constant",
"name": "CreateModerationRequestInput3Type",
"namespace": "OpenAI",
"usage": "Input,Json",
"valueType": {
- "$id": "1648",
+ "$id": "1678",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19230,13 +19531,13 @@
"decorators": []
},
{
- "$id": "1649",
+ "$id": "1679",
"kind": "constant",
"name": "RunObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1650",
+ "$id": "1680",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19246,13 +19547,13 @@
"decorators": []
},
{
- "$id": "1651",
+ "$id": "1681",
"kind": "constant",
"name": "RunObjectRequiredAction1Type",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1652",
+ "$id": "1682",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19262,13 +19563,13 @@
"decorators": []
},
{
- "$id": "1653",
+ "$id": "1683",
"kind": "constant",
"name": "RunToolCallObjectType",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1654",
+ "$id": "1684",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19278,13 +19579,13 @@
"decorators": []
},
{
- "$id": "1655",
+ "$id": "1685",
"kind": "constant",
"name": "ListRunsResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1656",
+ "$id": "1686",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19294,13 +19595,13 @@
"decorators": []
},
{
- "$id": "1657",
+ "$id": "1687",
"kind": "constant",
"name": "ListRunStepsResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1658",
+ "$id": "1688",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19310,13 +19611,13 @@
"decorators": []
},
{
- "$id": "1659",
+ "$id": "1689",
"kind": "constant",
"name": "RunStepObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1660",
+ "$id": "1690",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19326,13 +19627,13 @@
"decorators": []
},
{
- "$id": "1661",
+ "$id": "1691",
"kind": "constant",
"name": "ThreadObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1662",
+ "$id": "1692",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19342,13 +19643,13 @@
"decorators": []
},
{
- "$id": "1663",
+ "$id": "1693",
"kind": "constant",
"name": "DeleteThreadResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1664",
+ "$id": "1694",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19358,13 +19659,13 @@
"decorators": []
},
{
- "$id": "1665",
+ "$id": "1695",
"kind": "constant",
"name": "ListVectorStoresResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1666",
+ "$id": "1696",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19374,13 +19675,13 @@
"decorators": []
},
{
- "$id": "1667",
+ "$id": "1697",
"kind": "constant",
"name": "VectorStoreObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1668",
+ "$id": "1698",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19390,13 +19691,13 @@
"decorators": []
},
{
- "$id": "1669",
+ "$id": "1699",
"kind": "constant",
"name": "DeleteVectorStoreResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1670",
+ "$id": "1700",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19406,13 +19707,13 @@
"decorators": []
},
{
- "$id": "1671",
+ "$id": "1701",
"kind": "constant",
"name": "VectorStoreFileBatchObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1672",
+ "$id": "1702",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19422,13 +19723,13 @@
"decorators": []
},
{
- "$id": "1673",
+ "$id": "1703",
"kind": "constant",
"name": "ListVectorStoreFilesResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1674",
+ "$id": "1704",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19438,13 +19739,13 @@
"decorators": []
},
{
- "$id": "1675",
+ "$id": "1705",
"kind": "constant",
"name": "VectorStoreFileObjectObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1676",
+ "$id": "1706",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19454,13 +19755,13 @@
"decorators": []
},
{
- "$id": "1677",
+ "$id": "1707",
"kind": "constant",
"name": "DeleteVectorStoreFileResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1678",
+ "$id": "1708",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19470,13 +19771,13 @@
"decorators": []
},
{
- "$id": "1679",
+ "$id": "1709",
"kind": "constant",
"name": "VectorStoreFileContentResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1680",
+ "$id": "1710",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19486,13 +19787,13 @@
"decorators": []
},
{
- "$id": "1681",
+ "$id": "1711",
"kind": "constant",
"name": "VectorStoreSearchResultsPageObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1682",
+ "$id": "1712",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19502,13 +19803,13 @@
"decorators": []
},
{
- "$id": "1683",
+ "$id": "1713",
"kind": "constant",
"name": "VectorStoreSearchResultContentObjectType",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1684",
+ "$id": "1714",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19518,13 +19819,13 @@
"decorators": []
},
{
- "$id": "1685",
+ "$id": "1715",
"kind": "constant",
"name": "CreateCompletionResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1686",
+ "$id": "1716",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19534,13 +19835,13 @@
"decorators": []
},
{
- "$id": "1687",
+ "$id": "1717",
"kind": "constant",
"name": "ListModelsResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1688",
+ "$id": "1718",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19550,13 +19851,13 @@
"decorators": []
},
{
- "$id": "1689",
+ "$id": "1719",
"kind": "constant",
"name": "ModelObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1690",
+ "$id": "1720",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19566,13 +19867,13 @@
"decorators": []
},
{
- "$id": "1691",
+ "$id": "1721",
"kind": "constant",
"name": "DeleteModelResponseObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1692",
+ "$id": "1722",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19582,13 +19883,13 @@
"decorators": []
},
{
- "$id": "1693",
+ "$id": "1723",
"kind": "constant",
"name": "RealtimeRequestSessionMaxResponseOutputTokens1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1694",
+ "$id": "1724",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19598,13 +19899,13 @@
"decorators": []
},
{
- "$id": "1695",
+ "$id": "1725",
"kind": "constant",
"name": "RealtimeRequestSessionMaxResponseOutputTokens11",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1696",
+ "$id": "1726",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19614,29 +19915,13 @@
"decorators": []
},
{
- "$id": "1697",
- "kind": "constant",
- "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor",
- "namespace": "OpenAI",
- "usage": "Input,Json",
- "valueType": {
- "$id": "1698",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "created_at",
- "decorators": []
- },
- {
- "$id": "1699",
+ "$id": "1727",
"kind": "constant",
"name": "RealtimeResponseSessionObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1700",
+ "$id": "1728",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19646,13 +19931,13 @@
"decorators": []
},
{
- "$id": "1701",
+ "$id": "1729",
"kind": "constant",
"name": "RealtimeRequestSessionMaxResponseOutputTokens12",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1702",
+ "$id": "1730",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19662,13 +19947,13 @@
"decorators": []
},
{
- "$id": "1703",
+ "$id": "1731",
"kind": "constant",
"name": "RealtimeConversationResponseItemObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1704",
+ "$id": "1732",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19678,29 +19963,13 @@
"decorators": []
},
{
- "$id": "1705",
- "kind": "constant",
- "name": "RealtimeResponseObject",
- "namespace": "OpenAI",
- "usage": "Output,Json",
- "valueType": {
- "$id": "1706",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "realtime.response",
- "decorators": []
- },
- {
- "$id": "1707",
+ "$id": "1733",
"kind": "constant",
"name": "RealtimeRequestSessionMaxResponseOutputTokens13",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1708",
+ "$id": "1734",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19710,13 +19979,13 @@
"decorators": []
},
{
- "$id": "1709",
+ "$id": "1735",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker21",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1710",
+ "$id": "1736",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19726,13 +19995,13 @@
"decorators": []
},
{
- "$id": "1711",
+ "$id": "1737",
"kind": "constant",
"name": "RealtimeRequestSessionMaxResponseOutputTokens14",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1712",
+ "$id": "1738",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19742,29 +20011,13 @@
"decorators": []
},
{
- "$id": "1713",
- "kind": "constant",
- "name": "RealtimeSessionCreateRequestClientSecretExpiresAtAnchor",
- "namespace": "OpenAI",
- "usage": "Input,Json",
- "valueType": {
- "$id": "1714",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "created_at",
- "decorators": []
- },
- {
- "$id": "1715",
+ "$id": "1739",
"kind": "constant",
"name": "FileSearchRankingOptionsRanker22",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1716",
+ "$id": "1740",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19774,13 +20027,13 @@
"decorators": []
},
{
- "$id": "1717",
+ "$id": "1741",
"kind": "constant",
"name": "RealtimeRequestSessionMaxResponseOutputTokens15",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "1718",
+ "$id": "1742",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19790,29 +20043,13 @@
"decorators": []
},
{
- "$id": "1719",
- "kind": "constant",
- "name": "UploadObject",
- "namespace": "OpenAI",
- "usage": "Output,Json",
- "valueType": {
- "$id": "1720",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "upload",
- "decorators": []
- },
- {
- "$id": "1721",
+ "$id": "1743",
"kind": "constant",
"name": "UploadPartObject",
"namespace": "OpenAI",
"usage": "Output,Json",
"valueType": {
- "$id": "1722",
+ "$id": "1744",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19822,31 +20059,14 @@
"decorators": []
},
{
- "$id": "1723",
- "kind": "constant",
- "name": "BatchRequestInputMethod",
- "namespace": "OpenAI",
- "access": "public",
- "usage": "Input",
- "valueType": {
- "$id": "1724",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "POST",
- "decorators": []
- },
- {
- "$id": "1725",
+ "$id": "1745",
"kind": "constant",
"name": "MessageDeltaObjectObject",
"namespace": "OpenAI",
"access": "public",
"usage": "Output",
"valueType": {
- "$id": "1726",
+ "$id": "1746",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19856,14 +20076,14 @@
"decorators": []
},
{
- "$id": "1727",
+ "$id": "1747",
"kind": "constant",
"name": "RunStepDeltaObjectObject",
"namespace": "OpenAI",
"access": "public",
"usage": "Output",
"valueType": {
- "$id": "1728",
+ "$id": "1748",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -19873,172 +20093,12 @@
"decorators": []
},
{
- "$id": "1729",
+ "$id": "1749",
"kind": "constant",
"name": "DotNetCombinedJsonTranscriptionResponseTask",
"namespace": "OpenAI",
"access": "public",
"usage": "Output",
- "valueType": {
- "$id": "1730",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "transcribe",
- "decorators": []
- },
- {
- "$id": "1731",
- "kind": "constant",
- "name": "ListAssistantsRequestAccept",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1732",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "application/json",
- "decorators": []
- },
- {
- "$id": "1733",
- "kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1734",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "assistants=v2",
- "decorators": []
- },
- {
- "$id": "1735",
- "kind": "constant",
- "name": "ListAssistantsRequestAccept1",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1736",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "application/json",
- "decorators": []
- },
- {
- "$id": "1737",
- "kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta1",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1738",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "assistants=v2",
- "decorators": []
- },
- {
- "$id": "1739",
- "kind": "constant",
- "name": "ListAssistantsRequestAccept2",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1740",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "application/json",
- "decorators": []
- },
- {
- "$id": "1741",
- "kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta2",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1742",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "assistants=v2",
- "decorators": []
- },
- {
- "$id": "1743",
- "kind": "constant",
- "name": "createAssistantContentType",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1744",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "application/json",
- "decorators": []
- },
- {
- "$id": "1745",
- "kind": "constant",
- "name": "ListAssistantsRequestAccept3",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1746",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "application/json",
- "decorators": []
- },
- {
- "$id": "1747",
- "kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta3",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "1748",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "assistants=v2",
- "decorators": []
- },
- {
- "$id": "1749",
- "kind": "constant",
- "name": "ListAssistantsRequestAccept4",
- "namespace": "",
- "usage": "None",
"valueType": {
"$id": "1750",
"kind": "string",
@@ -20046,13 +20106,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "transcribe",
"decorators": []
},
{
"$id": "1751",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta4",
+ "name": "ListAssistantsRequestAccept",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20062,13 +20122,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1753",
"kind": "constant",
- "name": "ListAssistantsRequestAccept5",
+ "name": "ListAssistantsRequestOpenAiBeta",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20078,13 +20138,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1755",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta5",
+ "name": "ListAssistantsRequestAccept1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20094,13 +20154,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1757",
"kind": "constant",
- "name": "ListAssistantsRequestAccept6",
+ "name": "ListAssistantsRequestOpenAiBeta1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20110,13 +20170,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1759",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta6",
+ "name": "ListAssistantsRequestAccept2",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20126,13 +20186,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1761",
"kind": "constant",
- "name": "modifyAssistantContentType",
+ "name": "ListAssistantsRequestOpenAiBeta2",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20142,13 +20202,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1763",
"kind": "constant",
- "name": "ListAssistantsRequestAccept7",
+ "name": "createAssistantContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20164,7 +20224,7 @@
{
"$id": "1765",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta7",
+ "name": "ListAssistantsRequestAccept3",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20174,13 +20234,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1767",
"kind": "constant",
- "name": "ListAssistantsRequestAccept8",
+ "name": "ListAssistantsRequestOpenAiBeta3",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20190,13 +20250,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1769",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta8",
+ "name": "ListAssistantsRequestAccept4",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20206,13 +20266,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1771",
"kind": "constant",
- "name": "ListAssistantsRequestAccept9",
+ "name": "ListAssistantsRequestOpenAiBeta4",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20222,13 +20282,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1773",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta9",
+ "name": "ListAssistantsRequestAccept5",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20238,13 +20298,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1775",
"kind": "constant",
- "name": "CreateSpeechRequestAccept",
+ "name": "ListAssistantsRequestOpenAiBeta5",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20254,13 +20314,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/octet-stream",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1777",
"kind": "constant",
- "name": "createSpeechContentType",
+ "name": "ListAssistantsRequestAccept6",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20276,7 +20336,7 @@
{
"$id": "1779",
"kind": "constant",
- "name": "CreateSpeechRequestAccept1",
+ "name": "ListAssistantsRequestOpenAiBeta6",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20286,13 +20346,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/octet-stream",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1781",
"kind": "constant",
- "name": "CreateSpeechRequestAccept2",
+ "name": "modifyAssistantContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20302,13 +20362,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/octet-stream",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1783",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType",
+ "name": "ListAssistantsRequestAccept7",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20318,13 +20378,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1785",
"kind": "constant",
- "name": "CreateTranscriptionRequestAccept1",
+ "name": "ListAssistantsRequestOpenAiBeta7",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20334,13 +20394,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "text/event-stream",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1787",
"kind": "constant",
- "name": "CreateTranscriptionResponseContentType",
+ "name": "ListAssistantsRequestAccept8",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20350,13 +20410,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "text/plain",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1789",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType1",
+ "name": "ListAssistantsRequestOpenAiBeta8",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20366,13 +20426,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1791",
"kind": "constant",
- "name": "ListAssistantsRequestAccept10",
+ "name": "ListAssistantsRequestAccept9",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20388,7 +20448,7 @@
{
"$id": "1793",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType2",
+ "name": "ListAssistantsRequestOpenAiBeta9",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20398,13 +20458,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "1795",
"kind": "constant",
- "name": "CreateTranscriptionResponseContentType1",
+ "name": "CreateSpeechRequestAccept",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20414,13 +20474,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "text/plain",
+ "value": "application/octet-stream",
"decorators": []
},
{
"$id": "1797",
"kind": "constant",
- "name": "ListAssistantsRequestAccept11",
+ "name": "createSpeechContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20436,7 +20496,7 @@
{
"$id": "1799",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType3",
+ "name": "CreateSpeechRequestAccept1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20446,13 +20506,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/octet-stream",
"decorators": []
},
{
"$id": "1801",
"kind": "constant",
- "name": "ListAssistantsRequestAccept12",
+ "name": "CreateSpeechRequestAccept2",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20462,13 +20522,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "application/octet-stream",
"decorators": []
},
{
"$id": "1803",
"kind": "constant",
- "name": "createBatchContentType",
+ "name": "CreateTranscriptionRequestContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20478,13 +20538,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1805",
"kind": "constant",
- "name": "ListAssistantsRequestAccept13",
+ "name": "CreateTranscriptionRequestAccept1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20494,13 +20554,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "text/event-stream",
"decorators": []
},
{
"$id": "1807",
"kind": "constant",
- "name": "CreateBatchRequestCompletionWindow",
+ "name": "CreateTranscriptionResponseContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20510,13 +20570,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "24h",
+ "value": "text/plain",
"decorators": []
},
{
"$id": "1809",
"kind": "constant",
- "name": "ListAssistantsRequestAccept14",
+ "name": "CreateTranscriptionRequestContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20526,13 +20586,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1811",
"kind": "constant",
- "name": "ListAssistantsRequestAccept15",
+ "name": "ListAssistantsRequestAccept10",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20548,7 +20608,7 @@
{
"$id": "1813",
"kind": "constant",
- "name": "ListAssistantsRequestAccept16",
+ "name": "CreateTranscriptionRequestContentType2",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20558,13 +20618,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1815",
"kind": "constant",
- "name": "ListAssistantsRequestAccept17",
+ "name": "CreateTranscriptionResponseContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20574,13 +20634,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "text/plain",
"decorators": []
},
{
"$id": "1817",
"kind": "constant",
- "name": "ListAssistantsRequestAccept18",
+ "name": "ListAssistantsRequestAccept11",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20596,7 +20656,7 @@
{
"$id": "1819",
"kind": "constant",
- "name": "ListAssistantsRequestAccept19",
+ "name": "CreateTranscriptionRequestContentType3",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20606,13 +20666,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1821",
"kind": "constant",
- "name": "listChatCompletionsContentType",
+ "name": "ListAssistantsRequestAccept12",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20628,7 +20688,7 @@
{
"$id": "1823",
"kind": "constant",
- "name": "ListAssistantsRequestAccept20",
+ "name": "createBatchContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20644,7 +20704,7 @@
{
"$id": "1825",
"kind": "constant",
- "name": "createChatCompletionContentType",
+ "name": "ListAssistantsRequestAccept13",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20660,7 +20720,7 @@
{
"$id": "1827",
"kind": "constant",
- "name": "CreateTranscriptionRequestAccept11",
+ "name": "CreateBatchRequestCompletionWindow",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20670,13 +20730,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "text/event-stream",
+ "value": "24h",
"decorators": []
},
{
"$id": "1829",
"kind": "constant",
- "name": "ListAssistantsRequestAccept21",
+ "name": "ListAssistantsRequestAccept14",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20692,7 +20752,7 @@
{
"$id": "1831",
"kind": "constant",
- "name": "getChatCompletionContentType",
+ "name": "ListAssistantsRequestAccept15",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20708,7 +20768,7 @@
{
"$id": "1833",
"kind": "constant",
- "name": "updateChatCompletionContentType",
+ "name": "ListAssistantsRequestAccept16",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20724,7 +20784,7 @@
{
"$id": "1835",
"kind": "constant",
- "name": "updateChatCompletionContentType1",
+ "name": "ListAssistantsRequestAccept17",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20740,7 +20800,7 @@
{
"$id": "1837",
"kind": "constant",
- "name": "deleteChatCompletionContentType",
+ "name": "ListAssistantsRequestAccept18",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20756,7 +20816,7 @@
{
"$id": "1839",
"kind": "constant",
- "name": "getChatCompletionMessagesContentType",
+ "name": "ListAssistantsRequestAccept19",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20772,7 +20832,7 @@
{
"$id": "1841",
"kind": "constant",
- "name": "listContainersContentType",
+ "name": "listChatCompletionsContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20788,7 +20848,7 @@
{
"$id": "1843",
"kind": "constant",
- "name": "createContainerContentType",
+ "name": "ListAssistantsRequestAccept20",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20804,7 +20864,7 @@
{
"$id": "1845",
"kind": "constant",
- "name": "createContainerContentType1",
+ "name": "createChatCompletionContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20820,7 +20880,7 @@
{
"$id": "1847",
"kind": "constant",
- "name": "retrieveContainerContentType",
+ "name": "CreateTranscriptionRequestAccept11",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20830,13 +20890,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "text/event-stream",
"decorators": []
},
{
"$id": "1849",
"kind": "constant",
- "name": "deleteContainerContentType",
+ "name": "ListAssistantsRequestAccept21",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20852,7 +20912,7 @@
{
"$id": "1851",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType4",
+ "name": "getChatCompletionContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20862,13 +20922,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1853",
"kind": "constant",
- "name": "createContainerFileContentType",
+ "name": "updateChatCompletionContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20884,7 +20944,7 @@
{
"$id": "1855",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType5",
+ "name": "updateChatCompletionContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20894,13 +20954,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1857",
"kind": "constant",
- "name": "listContainerFilesContentType",
+ "name": "deleteChatCompletionContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20916,7 +20976,7 @@
{
"$id": "1859",
"kind": "constant",
- "name": "retrieveContainerFileContentType",
+ "name": "getChatCompletionMessagesContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20932,7 +20992,7 @@
{
"$id": "1861",
"kind": "constant",
- "name": "deleteContainerFileContentType",
+ "name": "listContainersContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20948,7 +21008,7 @@
{
"$id": "1863",
"kind": "constant",
- "name": "retrieveContainerFileContentContentType",
+ "name": "createContainerContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20958,13 +21018,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/octet-stream",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1865",
"kind": "constant",
- "name": "ListAssistantsRequestAccept22",
+ "name": "createContainerContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20980,7 +21040,7 @@
{
"$id": "1867",
"kind": "constant",
- "name": "createEmbeddingContentType",
+ "name": "retrieveContainerContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -20996,7 +21056,7 @@
{
"$id": "1869",
"kind": "constant",
- "name": "ListAssistantsRequestAccept23",
+ "name": "deleteContainerContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21012,7 +21072,7 @@
{
"$id": "1871",
"kind": "constant",
- "name": "ListAssistantsRequestAccept24",
+ "name": "CreateTranscriptionRequestContentType4",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21022,13 +21082,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1873",
"kind": "constant",
- "name": "ListAssistantsRequestAccept25",
+ "name": "createContainerFileContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21044,7 +21104,7 @@
{
"$id": "1875",
"kind": "constant",
- "name": "ListAssistantsRequestAccept26",
+ "name": "CreateTranscriptionRequestContentType5",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21054,13 +21114,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1877",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType6",
+ "name": "listContainerFilesContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21070,13 +21130,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1879",
"kind": "constant",
- "name": "ListAssistantsRequestAccept27",
+ "name": "retrieveContainerFileContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21092,7 +21152,7 @@
{
"$id": "1881",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType7",
+ "name": "deleteContainerFileContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21102,13 +21162,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1883",
"kind": "constant",
- "name": "ListAssistantsRequestAccept28",
+ "name": "retrieveContainerFileContentContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21118,13 +21178,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "application/octet-stream",
"decorators": []
},
{
"$id": "1885",
"kind": "constant",
- "name": "ListAssistantsRequestAccept29",
+ "name": "ListAssistantsRequestAccept22",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21140,7 +21200,7 @@
{
"$id": "1887",
"kind": "constant",
- "name": "ListAssistantsRequestAccept30",
+ "name": "createEmbeddingContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21156,7 +21216,7 @@
{
"$id": "1889",
"kind": "constant",
- "name": "ListAssistantsRequestAccept31",
+ "name": "ListAssistantsRequestAccept23",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21172,7 +21232,7 @@
{
"$id": "1891",
"kind": "constant",
- "name": "ListAssistantsRequestAccept32",
+ "name": "ListAssistantsRequestAccept24",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21188,7 +21248,7 @@
{
"$id": "1893",
"kind": "constant",
- "name": "ListAssistantsRequestAccept33",
+ "name": "ListAssistantsRequestAccept25",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21204,7 +21264,7 @@
{
"$id": "1895",
"kind": "constant",
- "name": "listFineTuningCheckpointPermissionsContentType",
+ "name": "ListAssistantsRequestAccept26",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21220,7 +21280,7 @@
{
"$id": "1897",
"kind": "constant",
- "name": "createFineTuningCheckpointPermissionContentType",
+ "name": "CreateTranscriptionRequestContentType6",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21230,13 +21290,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1899",
"kind": "constant",
- "name": "createFineTuningCheckpointPermissionContentType1",
+ "name": "ListAssistantsRequestAccept27",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21252,7 +21312,7 @@
{
"$id": "1901",
"kind": "constant",
- "name": "deleteFineTuningCheckpointPermissionContentType",
+ "name": "CreateTranscriptionRequestContentType7",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21262,13 +21322,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "1903",
"kind": "constant",
- "name": "ListAssistantsRequestAccept34",
+ "name": "ListAssistantsRequestAccept28",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21284,7 +21344,7 @@
{
"$id": "1905",
"kind": "constant",
- "name": "createFineTuningJobContentType",
+ "name": "ListAssistantsRequestAccept29",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21300,7 +21360,7 @@
{
"$id": "1907",
"kind": "constant",
- "name": "ListAssistantsRequestAccept35",
+ "name": "ListAssistantsRequestAccept30",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21316,7 +21376,7 @@
{
"$id": "1909",
"kind": "constant",
- "name": "ListAssistantsRequestAccept36",
+ "name": "ListAssistantsRequestAccept31",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21332,7 +21392,7 @@
{
"$id": "1911",
"kind": "constant",
- "name": "ListAssistantsRequestAccept37",
+ "name": "ListAssistantsRequestAccept32",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21348,7 +21408,7 @@
{
"$id": "1913",
"kind": "constant",
- "name": "ListAssistantsRequestAccept38",
+ "name": "ListAssistantsRequestAccept33",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21364,7 +21424,7 @@
{
"$id": "1915",
"kind": "constant",
- "name": "ListAssistantsRequestAccept39",
+ "name": "listFineTuningCheckpointPermissionsContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21380,7 +21440,7 @@
{
"$id": "1917",
"kind": "constant",
- "name": "ListAssistantsRequestAccept40",
+ "name": "createFineTuningCheckpointPermissionContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21396,7 +21456,7 @@
{
"$id": "1919",
"kind": "constant",
- "name": "ListAssistantsRequestAccept41",
+ "name": "createFineTuningCheckpointPermissionContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21412,7 +21472,7 @@
{
"$id": "1921",
"kind": "constant",
- "name": "ListAssistantsRequestAccept42",
+ "name": "deleteFineTuningCheckpointPermissionContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21428,7 +21488,7 @@
{
"$id": "1923",
"kind": "constant",
- "name": "ListAssistantsRequestAccept43",
+ "name": "ListAssistantsRequestAccept34",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21444,7 +21504,7 @@
{
"$id": "1925",
"kind": "constant",
- "name": "ListAssistantsRequestAccept44",
+ "name": "createFineTuningJobContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21460,7 +21520,7 @@
{
"$id": "1927",
"kind": "constant",
- "name": "ListAssistantsRequestAccept45",
+ "name": "ListAssistantsRequestAccept35",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21476,7 +21536,7 @@
{
"$id": "1929",
"kind": "constant",
- "name": "pauseFineTuningJobContentType",
+ "name": "ListAssistantsRequestAccept36",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21492,7 +21552,7 @@
{
"$id": "1931",
"kind": "constant",
- "name": "resumeFineTuningJobContentType",
+ "name": "ListAssistantsRequestAccept37",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21508,7 +21568,7 @@
{
"$id": "1933",
"kind": "constant",
- "name": "runGraderContentType",
+ "name": "ListAssistantsRequestAccept38",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21524,7 +21584,7 @@
{
"$id": "1935",
"kind": "constant",
- "name": "runGraderContentType1",
+ "name": "ListAssistantsRequestAccept39",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21540,7 +21600,7 @@
{
"$id": "1937",
"kind": "constant",
- "name": "validateGraderContentType",
+ "name": "ListAssistantsRequestAccept40",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21556,7 +21616,7 @@
{
"$id": "1939",
"kind": "constant",
- "name": "validateGraderContentType1",
+ "name": "ListAssistantsRequestAccept41",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21572,7 +21632,7 @@
{
"$id": "1941",
"kind": "constant",
- "name": "listEvalsContentType",
+ "name": "ListAssistantsRequestAccept42",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21588,7 +21648,7 @@
{
"$id": "1943",
"kind": "constant",
- "name": "createEvalContentType",
+ "name": "ListAssistantsRequestAccept43",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21604,7 +21664,7 @@
{
"$id": "1945",
"kind": "constant",
- "name": "createEvalContentType1",
+ "name": "ListAssistantsRequestAccept44",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21620,7 +21680,7 @@
{
"$id": "1947",
"kind": "constant",
- "name": "getEvalContentType",
+ "name": "ListAssistantsRequestAccept45",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21636,7 +21696,7 @@
{
"$id": "1949",
"kind": "constant",
- "name": "updateEvalContentType",
+ "name": "pauseFineTuningJobContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21652,7 +21712,7 @@
{
"$id": "1951",
"kind": "constant",
- "name": "updateEvalContentType1",
+ "name": "resumeFineTuningJobContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21668,7 +21728,7 @@
{
"$id": "1953",
"kind": "constant",
- "name": "deleteEvalContentType",
+ "name": "runGraderContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21684,7 +21744,7 @@
{
"$id": "1955",
"kind": "constant",
- "name": "getEvalRunsContentType",
+ "name": "runGraderContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21700,7 +21760,7 @@
{
"$id": "1957",
"kind": "constant",
- "name": "createEvalRunContentType",
+ "name": "validateGraderContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21716,7 +21776,7 @@
{
"$id": "1959",
"kind": "constant",
- "name": "createEvalRunContentType1",
+ "name": "validateGraderContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21732,7 +21792,7 @@
{
"$id": "1961",
"kind": "constant",
- "name": "getEvalRunContentType",
+ "name": "listEvalsContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21748,7 +21808,7 @@
{
"$id": "1963",
"kind": "constant",
- "name": "cancelEvalRunContentType",
+ "name": "createEvalContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21764,7 +21824,7 @@
{
"$id": "1965",
"kind": "constant",
- "name": "deleteEvalRunContentType",
+ "name": "createEvalContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21780,7 +21840,7 @@
{
"$id": "1967",
"kind": "constant",
- "name": "getEvalRunOutputItemsContentType",
+ "name": "getEvalContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21796,7 +21856,7 @@
{
"$id": "1969",
"kind": "constant",
- "name": "getEvalRunOutputItemContentType",
+ "name": "updateEvalContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21812,7 +21872,7 @@
{
"$id": "1971",
"kind": "constant",
- "name": "createResponseContentType",
+ "name": "updateEvalContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21828,7 +21888,7 @@
{
"$id": "1973",
"kind": "constant",
- "name": "CreateTranscriptionRequestAccept12",
+ "name": "deleteEvalContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21838,13 +21898,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "text/event-stream",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1975",
"kind": "constant",
- "name": "CreateTranscriptionRequestAccept13",
+ "name": "getEvalRunsContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21854,13 +21914,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "text/event-stream",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1977",
"kind": "constant",
- "name": "deleteResponseContentType",
+ "name": "createEvalRunContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21876,7 +21936,7 @@
{
"$id": "1979",
"kind": "constant",
- "name": "cancelResponseContentType",
+ "name": "createEvalRunContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21892,7 +21952,7 @@
{
"$id": "1981",
"kind": "constant",
- "name": "listInputItemsContentType",
+ "name": "getEvalRunContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21908,7 +21968,7 @@
{
"$id": "1983",
"kind": "constant",
- "name": "ListAssistantsRequestAccept46",
+ "name": "cancelEvalRunContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21924,7 +21984,7 @@
{
"$id": "1985",
"kind": "constant",
- "name": "createImageContentType",
+ "name": "deleteEvalRunContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21940,7 +22000,7 @@
{
"$id": "1987",
"kind": "constant",
- "name": "ListAssistantsRequestAccept47",
+ "name": "getEvalRunOutputItemsContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21956,7 +22016,7 @@
{
"$id": "1989",
"kind": "constant",
- "name": "ListAssistantsRequestAccept48",
+ "name": "getEvalRunOutputItemContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21972,7 +22032,7 @@
{
"$id": "1991",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType8",
+ "name": "createResponseContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21982,13 +22042,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "1993",
"kind": "constant",
- "name": "ListAssistantsRequestAccept49",
+ "name": "CreateTranscriptionRequestAccept12",
"namespace": "",
"usage": "None",
"valueType": {
@@ -21998,13 +22058,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "text/event-stream",
"decorators": []
},
{
"$id": "1995",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType9",
+ "name": "CreateTranscriptionRequestAccept13",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22014,13 +22074,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "text/event-stream",
"decorators": []
},
{
"$id": "1997",
"kind": "constant",
- "name": "ListAssistantsRequestAccept50",
+ "name": "deleteResponseContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22036,7 +22096,7 @@
{
"$id": "1999",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType10",
+ "name": "cancelResponseContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22046,13 +22106,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2001",
"kind": "constant",
- "name": "ListAssistantsRequestAccept51",
+ "name": "listInputItemsContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22068,7 +22128,7 @@
{
"$id": "2003",
"kind": "constant",
- "name": "CreateTranscriptionRequestContentType11",
+ "name": "ListAssistantsRequestAccept46",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22078,13 +22138,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2005",
"kind": "constant",
- "name": "ListAssistantsRequestAccept52",
+ "name": "createImageContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22100,7 +22160,7 @@
{
"$id": "2007",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta10",
+ "name": "ListAssistantsRequestAccept47",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22110,13 +22170,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2009",
"kind": "constant",
- "name": "createMessageContentType",
+ "name": "ListAssistantsRequestAccept48",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22132,7 +22192,7 @@
{
"$id": "2011",
"kind": "constant",
- "name": "ListAssistantsRequestAccept53",
+ "name": "CreateTranscriptionRequestContentType8",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22142,13 +22202,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "2013",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta11",
+ "name": "ListAssistantsRequestAccept49",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22158,13 +22218,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2015",
"kind": "constant",
- "name": "ListAssistantsRequestAccept54",
+ "name": "CreateTranscriptionRequestContentType9",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22174,13 +22234,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "2017",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta12",
+ "name": "ListAssistantsRequestAccept50",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22190,13 +22250,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2019",
"kind": "constant",
- "name": "ListAssistantsRequestAccept55",
+ "name": "CreateTranscriptionRequestContentType10",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22206,13 +22266,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "2021",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta13",
+ "name": "ListAssistantsRequestAccept51",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22222,13 +22282,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2023",
"kind": "constant",
- "name": "ListAssistantsRequestAccept56",
+ "name": "CreateTranscriptionRequestContentType11",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22238,13 +22298,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "multipart/form-data",
"decorators": []
},
{
"$id": "2025",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta14",
+ "name": "ListAssistantsRequestAccept52",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22254,13 +22314,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2027",
"kind": "constant",
- "name": "ListAssistantsRequestAccept57",
+ "name": "ListAssistantsRequestOpenAiBeta10",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22270,13 +22330,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2029",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta15",
+ "name": "createMessageContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22286,13 +22346,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2031",
"kind": "constant",
- "name": "ListAssistantsRequestAccept58",
+ "name": "ListAssistantsRequestAccept53",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22308,7 +22368,7 @@
{
"$id": "2033",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta16",
+ "name": "ListAssistantsRequestOpenAiBeta11",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22324,7 +22384,7 @@
{
"$id": "2035",
"kind": "constant",
- "name": "modifyMessageContentType",
+ "name": "ListAssistantsRequestAccept54",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22340,7 +22400,7 @@
{
"$id": "2037",
"kind": "constant",
- "name": "ListAssistantsRequestAccept59",
+ "name": "ListAssistantsRequestOpenAiBeta12",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22350,13 +22410,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2039",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta17",
+ "name": "ListAssistantsRequestAccept55",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22366,13 +22426,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2041",
"kind": "constant",
- "name": "ListAssistantsRequestAccept60",
+ "name": "ListAssistantsRequestOpenAiBeta13",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22382,13 +22442,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2043",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta18",
+ "name": "ListAssistantsRequestAccept56",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22398,13 +22458,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2045",
"kind": "constant",
- "name": "ListAssistantsRequestAccept61",
+ "name": "ListAssistantsRequestOpenAiBeta14",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22414,13 +22474,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2047",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta19",
+ "name": "ListAssistantsRequestAccept57",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22430,13 +22490,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2049",
"kind": "constant",
- "name": "ListAssistantsRequestAccept62",
+ "name": "ListAssistantsRequestOpenAiBeta15",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22446,13 +22506,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2051",
"kind": "constant",
- "name": "createModerationContentType",
+ "name": "ListAssistantsRequestAccept58",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22468,7 +22528,7 @@
{
"$id": "2053",
"kind": "constant",
- "name": "ListAssistantsRequestAccept63",
+ "name": "ListAssistantsRequestOpenAiBeta16",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22478,13 +22538,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2055",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta20",
+ "name": "modifyMessageContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22494,13 +22554,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2057",
"kind": "constant",
- "name": "createThreadAndRunContentType",
+ "name": "ListAssistantsRequestAccept59",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22516,7 +22576,7 @@
{
"$id": "2059",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta21",
+ "name": "ListAssistantsRequestOpenAiBeta17",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22532,7 +22592,7 @@
{
"$id": "2061",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta22",
+ "name": "ListAssistantsRequestAccept60",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22542,13 +22602,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2063",
"kind": "constant",
- "name": "createRunContentType",
+ "name": "ListAssistantsRequestOpenAiBeta18",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22558,13 +22618,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2065",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta23",
+ "name": "ListAssistantsRequestAccept61",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22574,13 +22634,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2067",
"kind": "constant",
- "name": "ListAssistantsRequestAccept64",
+ "name": "ListAssistantsRequestOpenAiBeta19",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22590,13 +22650,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2069",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta24",
+ "name": "ListAssistantsRequestAccept62",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22606,13 +22666,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2071",
"kind": "constant",
- "name": "ListAssistantsRequestAccept65",
+ "name": "createModerationContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22628,7 +22688,7 @@
{
"$id": "2073",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta25",
+ "name": "ListAssistantsRequestAccept63",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22638,13 +22698,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2075",
"kind": "constant",
- "name": "ListAssistantsRequestAccept66",
+ "name": "ListAssistantsRequestOpenAiBeta20",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22654,13 +22714,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2077",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta26",
+ "name": "createThreadAndRunContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22670,13 +22730,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2079",
"kind": "constant",
- "name": "ListAssistantsRequestAccept67",
+ "name": "ListAssistantsRequestOpenAiBeta21",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22686,13 +22746,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2081",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta27",
+ "name": "ListAssistantsRequestOpenAiBeta22",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22708,7 +22768,7 @@
{
"$id": "2083",
"kind": "constant",
- "name": "ListAssistantsRequestAccept68",
+ "name": "createRunContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22724,7 +22784,7 @@
{
"$id": "2085",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta28",
+ "name": "ListAssistantsRequestOpenAiBeta23",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22740,7 +22800,7 @@
{
"$id": "2087",
"kind": "constant",
- "name": "modifyRunContentType",
+ "name": "ListAssistantsRequestAccept64",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22756,7 +22816,7 @@
{
"$id": "2089",
"kind": "constant",
- "name": "ListAssistantsRequestAccept69",
+ "name": "ListAssistantsRequestOpenAiBeta24",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22766,13 +22826,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2091",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta29",
+ "name": "ListAssistantsRequestAccept65",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22782,13 +22842,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2093",
"kind": "constant",
- "name": "ListAssistantsRequestAccept70",
+ "name": "ListAssistantsRequestOpenAiBeta25",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22798,13 +22858,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2095",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta30",
+ "name": "ListAssistantsRequestAccept66",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22814,13 +22874,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2097",
"kind": "constant",
- "name": "ListAssistantsRequestAccept71",
+ "name": "ListAssistantsRequestOpenAiBeta26",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22830,13 +22890,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "application/json",
+ "value": "assistants=v2",
"decorators": []
},
{
"$id": "2099",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta31",
+ "name": "ListAssistantsRequestAccept67",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22846,13 +22906,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "assistants=v2",
+ "value": "application/json",
"decorators": []
},
{
"$id": "2101",
"kind": "constant",
- "name": "ListAssistantsRequestOpenAiBeta32",
+ "name": "ListAssistantsRequestOpenAiBeta27",
"namespace": "",
"usage": "None",
"valueType": {
@@ -22866,13 +22926,173 @@
"decorators": []
},
{
- "$id": "2103",
+ "$id": "2103",
+ "kind": "constant",
+ "name": "ListAssistantsRequestAccept68",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2104",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "2105",
+ "kind": "constant",
+ "name": "ListAssistantsRequestOpenAiBeta28",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2106",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "assistants=v2",
+ "decorators": []
+ },
+ {
+ "$id": "2107",
+ "kind": "constant",
+ "name": "modifyRunContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2108",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "2109",
+ "kind": "constant",
+ "name": "ListAssistantsRequestAccept69",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2110",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "2111",
+ "kind": "constant",
+ "name": "ListAssistantsRequestOpenAiBeta29",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2112",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "assistants=v2",
+ "decorators": []
+ },
+ {
+ "$id": "2113",
+ "kind": "constant",
+ "name": "ListAssistantsRequestAccept70",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2114",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "2115",
+ "kind": "constant",
+ "name": "ListAssistantsRequestOpenAiBeta30",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2116",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "assistants=v2",
+ "decorators": []
+ },
+ {
+ "$id": "2117",
+ "kind": "constant",
+ "name": "ListAssistantsRequestAccept71",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2118",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "2119",
+ "kind": "constant",
+ "name": "ListAssistantsRequestOpenAiBeta31",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2120",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "assistants=v2",
+ "decorators": []
+ },
+ {
+ "$id": "2121",
+ "kind": "constant",
+ "name": "ListAssistantsRequestOpenAiBeta32",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "2122",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "assistants=v2",
+ "decorators": []
+ },
+ {
+ "$id": "2123",
"kind": "constant",
"name": "submitToolOutputsToRunContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2104",
+ "$id": "2124",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22882,13 +23102,13 @@
"decorators": []
},
{
- "$id": "2105",
+ "$id": "2125",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta33",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2106",
+ "$id": "2126",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22898,13 +23118,13 @@
"decorators": []
},
{
- "$id": "2107",
+ "$id": "2127",
"kind": "constant",
"name": "ListAssistantsRequestAccept72",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2108",
+ "$id": "2128",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22914,13 +23134,13 @@
"decorators": []
},
{
- "$id": "2109",
+ "$id": "2129",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta34",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2110",
+ "$id": "2130",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22930,13 +23150,13 @@
"decorators": []
},
{
- "$id": "2111",
+ "$id": "2131",
"kind": "constant",
"name": "ListAssistantsRequestAccept73",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2112",
+ "$id": "2132",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22946,13 +23166,13 @@
"decorators": []
},
{
- "$id": "2113",
+ "$id": "2133",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta35",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2114",
+ "$id": "2134",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22962,13 +23182,13 @@
"decorators": []
},
{
- "$id": "2115",
+ "$id": "2135",
"kind": "constant",
"name": "ListAssistantsRequestAccept74",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2116",
+ "$id": "2136",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22978,13 +23198,13 @@
"decorators": []
},
{
- "$id": "2117",
+ "$id": "2137",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta36",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2118",
+ "$id": "2138",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -22994,13 +23214,13 @@
"decorators": []
},
{
- "$id": "2119",
+ "$id": "2139",
"kind": "constant",
"name": "ListAssistantsRequestAccept75",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2120",
+ "$id": "2140",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23010,13 +23230,13 @@
"decorators": []
},
{
- "$id": "2121",
+ "$id": "2141",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta37",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2122",
+ "$id": "2142",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23026,13 +23246,13 @@
"decorators": []
},
{
- "$id": "2123",
+ "$id": "2143",
"kind": "constant",
"name": "ListAssistantsRequestAccept76",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2124",
+ "$id": "2144",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23042,13 +23262,13 @@
"decorators": []
},
{
- "$id": "2125",
+ "$id": "2145",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta38",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2126",
+ "$id": "2146",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23058,13 +23278,13 @@
"decorators": []
},
{
- "$id": "2127",
+ "$id": "2147",
"kind": "constant",
"name": "createThreadContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2128",
+ "$id": "2148",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23074,13 +23294,13 @@
"decorators": []
},
{
- "$id": "2129",
+ "$id": "2149",
"kind": "constant",
"name": "ListAssistantsRequestAccept77",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2130",
+ "$id": "2150",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23090,13 +23310,13 @@
"decorators": []
},
{
- "$id": "2131",
+ "$id": "2151",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta39",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2132",
+ "$id": "2152",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23106,13 +23326,13 @@
"decorators": []
},
{
- "$id": "2133",
+ "$id": "2153",
"kind": "constant",
"name": "ListAssistantsRequestAccept78",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2134",
+ "$id": "2154",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23122,13 +23342,13 @@
"decorators": []
},
{
- "$id": "2135",
+ "$id": "2155",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta40",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2136",
+ "$id": "2156",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23138,13 +23358,13 @@
"decorators": []
},
{
- "$id": "2137",
+ "$id": "2157",
"kind": "constant",
"name": "ListAssistantsRequestAccept79",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2138",
+ "$id": "2158",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23154,13 +23374,13 @@
"decorators": []
},
{
- "$id": "2139",
+ "$id": "2159",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta41",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2140",
+ "$id": "2160",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23170,13 +23390,13 @@
"decorators": []
},
{
- "$id": "2141",
+ "$id": "2161",
"kind": "constant",
"name": "ListAssistantsRequestAccept80",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2142",
+ "$id": "2162",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23186,13 +23406,13 @@
"decorators": []
},
{
- "$id": "2143",
+ "$id": "2163",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta42",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2144",
+ "$id": "2164",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23202,13 +23422,13 @@
"decorators": []
},
{
- "$id": "2145",
+ "$id": "2165",
"kind": "constant",
"name": "modifyThreadContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2146",
+ "$id": "2166",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23218,13 +23438,13 @@
"decorators": []
},
{
- "$id": "2147",
+ "$id": "2167",
"kind": "constant",
"name": "ListAssistantsRequestAccept81",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2148",
+ "$id": "2168",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23234,13 +23454,13 @@
"decorators": []
},
{
- "$id": "2149",
+ "$id": "2169",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta43",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2150",
+ "$id": "2170",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23250,13 +23470,13 @@
"decorators": []
},
{
- "$id": "2151",
+ "$id": "2171",
"kind": "constant",
"name": "ListAssistantsRequestAccept82",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2152",
+ "$id": "2172",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23266,13 +23486,13 @@
"decorators": []
},
{
- "$id": "2153",
+ "$id": "2173",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta44",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2154",
+ "$id": "2174",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23282,13 +23502,13 @@
"decorators": []
},
{
- "$id": "2155",
+ "$id": "2175",
"kind": "constant",
"name": "ListAssistantsRequestAccept83",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2156",
+ "$id": "2176",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23298,13 +23518,13 @@
"decorators": []
},
{
- "$id": "2157",
+ "$id": "2177",
"kind": "constant",
"name": "ListAssistantsRequestOpenAiBeta45",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2158",
+ "$id": "2178",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23314,13 +23534,13 @@
"decorators": []
},
{
- "$id": "2159",
+ "$id": "2179",
"kind": "constant",
"name": "ListAssistantsRequestAccept84",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2160",
+ "$id": "2180",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23330,13 +23550,13 @@
"decorators": []
},
{
- "$id": "2161",
+ "$id": "2181",
"kind": "constant",
"name": "ListAssistantsRequestAccept85",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2162",
+ "$id": "2182",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23346,13 +23566,13 @@
"decorators": []
},
{
- "$id": "2163",
+ "$id": "2183",
"kind": "constant",
"name": "ListAssistantsRequestAccept86",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2164",
+ "$id": "2184",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23362,13 +23582,13 @@
"decorators": []
},
{
- "$id": "2165",
+ "$id": "2185",
"kind": "constant",
"name": "createVectorStoreContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2166",
+ "$id": "2186",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23378,13 +23598,13 @@
"decorators": []
},
{
- "$id": "2167",
+ "$id": "2187",
"kind": "constant",
"name": "ListAssistantsRequestAccept87",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2168",
+ "$id": "2188",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23394,13 +23614,13 @@
"decorators": []
},
{
- "$id": "2169",
+ "$id": "2189",
"kind": "constant",
"name": "ListAssistantsRequestAccept88",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2170",
+ "$id": "2190",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23410,13 +23630,13 @@
"decorators": []
},
{
- "$id": "2171",
+ "$id": "2191",
"kind": "constant",
"name": "ListAssistantsRequestAccept89",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2172",
+ "$id": "2192",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23426,13 +23646,13 @@
"decorators": []
},
{
- "$id": "2173",
+ "$id": "2193",
"kind": "constant",
"name": "ListAssistantsRequestAccept90",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2174",
+ "$id": "2194",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23442,13 +23662,13 @@
"decorators": []
},
{
- "$id": "2175",
+ "$id": "2195",
"kind": "constant",
"name": "modifyVectorStoreContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2176",
+ "$id": "2196",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23458,13 +23678,13 @@
"decorators": []
},
{
- "$id": "2177",
+ "$id": "2197",
"kind": "constant",
"name": "ListAssistantsRequestAccept91",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2178",
+ "$id": "2198",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23474,13 +23694,13 @@
"decorators": []
},
{
- "$id": "2179",
+ "$id": "2199",
"kind": "constant",
"name": "ListAssistantsRequestAccept92",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2180",
+ "$id": "2200",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23490,13 +23710,13 @@
"decorators": []
},
{
- "$id": "2181",
+ "$id": "2201",
"kind": "constant",
"name": "ListAssistantsRequestAccept93",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2182",
+ "$id": "2202",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23506,13 +23726,13 @@
"decorators": []
},
{
- "$id": "2183",
+ "$id": "2203",
"kind": "constant",
"name": "ListAssistantsRequestAccept94",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2184",
+ "$id": "2204",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23522,13 +23742,13 @@
"decorators": []
},
{
- "$id": "2185",
+ "$id": "2205",
"kind": "constant",
"name": "createVectorStoreFileBatchContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2186",
+ "$id": "2206",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23538,13 +23758,13 @@
"decorators": []
},
{
- "$id": "2187",
+ "$id": "2207",
"kind": "constant",
"name": "ListAssistantsRequestAccept95",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2188",
+ "$id": "2208",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23554,13 +23774,13 @@
"decorators": []
},
{
- "$id": "2189",
+ "$id": "2209",
"kind": "constant",
"name": "ListAssistantsRequestAccept96",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2190",
+ "$id": "2210",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23570,13 +23790,13 @@
"decorators": []
},
{
- "$id": "2191",
+ "$id": "2211",
"kind": "constant",
"name": "ListAssistantsRequestAccept97",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2192",
+ "$id": "2212",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23586,13 +23806,13 @@
"decorators": []
},
{
- "$id": "2193",
+ "$id": "2213",
"kind": "constant",
"name": "ListAssistantsRequestAccept98",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2194",
+ "$id": "2214",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23602,13 +23822,13 @@
"decorators": []
},
{
- "$id": "2195",
+ "$id": "2215",
"kind": "constant",
"name": "ListAssistantsRequestAccept99",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2196",
+ "$id": "2216",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23618,13 +23838,13 @@
"decorators": []
},
{
- "$id": "2197",
+ "$id": "2217",
"kind": "constant",
"name": "ListAssistantsRequestAccept100",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2198",
+ "$id": "2218",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23634,13 +23854,13 @@
"decorators": []
},
{
- "$id": "2199",
+ "$id": "2219",
"kind": "constant",
"name": "ListAssistantsRequestAccept101",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2200",
+ "$id": "2220",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23650,13 +23870,13 @@
"decorators": []
},
{
- "$id": "2201",
+ "$id": "2221",
"kind": "constant",
"name": "ListAssistantsRequestAccept102",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2202",
+ "$id": "2222",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23666,13 +23886,13 @@
"decorators": []
},
{
- "$id": "2203",
+ "$id": "2223",
"kind": "constant",
"name": "ListAssistantsRequestAccept103",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2204",
+ "$id": "2224",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23682,13 +23902,13 @@
"decorators": []
},
{
- "$id": "2205",
+ "$id": "2225",
"kind": "constant",
"name": "ListAssistantsRequestAccept104",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2206",
+ "$id": "2226",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23698,13 +23918,13 @@
"decorators": []
},
{
- "$id": "2207",
+ "$id": "2227",
"kind": "constant",
"name": "createVectorStoreFileContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2208",
+ "$id": "2228",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23714,13 +23934,13 @@
"decorators": []
},
{
- "$id": "2209",
+ "$id": "2229",
"kind": "constant",
"name": "ListAssistantsRequestAccept105",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2210",
+ "$id": "2230",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23730,13 +23950,13 @@
"decorators": []
},
{
- "$id": "2211",
+ "$id": "2231",
"kind": "constant",
"name": "ListAssistantsRequestAccept106",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2212",
+ "$id": "2232",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23746,13 +23966,13 @@
"decorators": []
},
{
- "$id": "2213",
+ "$id": "2233",
"kind": "constant",
"name": "ListAssistantsRequestAccept107",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2214",
+ "$id": "2234",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23762,13 +23982,13 @@
"decorators": []
},
{
- "$id": "2215",
+ "$id": "2235",
"kind": "constant",
"name": "ListAssistantsRequestAccept108",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2216",
+ "$id": "2236",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23778,13 +23998,13 @@
"decorators": []
},
{
- "$id": "2217",
+ "$id": "2237",
"kind": "constant",
"name": "ListAssistantsRequestAccept109",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2218",
+ "$id": "2238",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23794,13 +24014,13 @@
"decorators": []
},
{
- "$id": "2219",
+ "$id": "2239",
"kind": "constant",
"name": "updateVectorStoreFileAttributesContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2220",
+ "$id": "2240",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23810,13 +24030,13 @@
"decorators": []
},
{
- "$id": "2221",
+ "$id": "2241",
"kind": "constant",
"name": "updateVectorStoreFileAttributesContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2222",
+ "$id": "2242",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23826,13 +24046,13 @@
"decorators": []
},
{
- "$id": "2223",
+ "$id": "2243",
"kind": "constant",
"name": "retrieveVectorStoreFileContentContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2224",
+ "$id": "2244",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23842,13 +24062,13 @@
"decorators": []
},
{
- "$id": "2225",
+ "$id": "2245",
"kind": "constant",
"name": "searchVectorStoreContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2226",
+ "$id": "2246",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23858,13 +24078,13 @@
"decorators": []
},
{
- "$id": "2227",
+ "$id": "2247",
"kind": "constant",
"name": "searchVectorStoreContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2228",
+ "$id": "2248",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23874,13 +24094,13 @@
"decorators": []
},
{
- "$id": "2229",
+ "$id": "2249",
"kind": "constant",
"name": "ListAssistantsRequestAccept110",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2230",
+ "$id": "2250",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23890,13 +24110,13 @@
"decorators": []
},
{
- "$id": "2231",
+ "$id": "2251",
"kind": "constant",
"name": "createCompletionContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2232",
+ "$id": "2252",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23906,13 +24126,13 @@
"decorators": []
},
{
- "$id": "2233",
+ "$id": "2253",
"kind": "constant",
"name": "ListAssistantsRequestAccept111",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2234",
+ "$id": "2254",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23922,13 +24142,13 @@
"decorators": []
},
{
- "$id": "2235",
+ "$id": "2255",
"kind": "constant",
"name": "ListAssistantsRequestAccept112",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2236",
+ "$id": "2256",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23938,13 +24158,13 @@
"decorators": []
},
{
- "$id": "2237",
+ "$id": "2257",
"kind": "constant",
"name": "ListAssistantsRequestAccept113",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2238",
+ "$id": "2258",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23954,13 +24174,13 @@
"decorators": []
},
{
- "$id": "2239",
+ "$id": "2259",
"kind": "constant",
"name": "ListAssistantsRequestAccept114",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2240",
+ "$id": "2260",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23970,13 +24190,13 @@
"decorators": []
},
{
- "$id": "2241",
+ "$id": "2261",
"kind": "constant",
"name": "ListAssistantsRequestAccept115",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2242",
+ "$id": "2262",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -23986,13 +24206,13 @@
"decorators": []
},
{
- "$id": "2243",
+ "$id": "2263",
"kind": "constant",
"name": "ListAssistantsRequestAccept116",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2244",
+ "$id": "2264",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24002,13 +24222,13 @@
"decorators": []
},
{
- "$id": "2245",
+ "$id": "2265",
"kind": "constant",
"name": "ListAssistantsRequestAccept117",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2246",
+ "$id": "2266",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24018,13 +24238,13 @@
"decorators": []
},
{
- "$id": "2247",
+ "$id": "2267",
"kind": "constant",
"name": "StartRealtimeSessionRequestOpenAiBeta",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2248",
+ "$id": "2268",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24034,13 +24254,13 @@
"decorators": []
},
{
- "$id": "2249",
+ "$id": "2269",
"kind": "constant",
"name": "startRealtimeSessionContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2250",
+ "$id": "2270",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24050,13 +24270,13 @@
"decorators": []
},
{
- "$id": "2251",
+ "$id": "2271",
"kind": "constant",
"name": "startRealtimeSessionContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2252",
+ "$id": "2272",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24066,13 +24286,13 @@
"decorators": []
},
{
- "$id": "2253",
+ "$id": "2273",
"kind": "constant",
"name": "StartRealtimeSessionRequestOpenAiBeta1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2254",
+ "$id": "2274",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24082,13 +24302,13 @@
"decorators": []
},
{
- "$id": "2255",
+ "$id": "2275",
"kind": "constant",
"name": "createEphemeralTokenContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2256",
+ "$id": "2276",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24098,13 +24318,13 @@
"decorators": []
},
{
- "$id": "2257",
+ "$id": "2277",
"kind": "constant",
"name": "createEphemeralTokenContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2258",
+ "$id": "2278",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24114,13 +24334,13 @@
"decorators": []
},
{
- "$id": "2259",
+ "$id": "2279",
"kind": "constant",
"name": "createEphemeralTranscriptionTokenContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2260",
+ "$id": "2280",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24130,13 +24350,13 @@
"decorators": []
},
{
- "$id": "2261",
+ "$id": "2281",
"kind": "constant",
"name": "createEphemeralTranscriptionTokenContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2262",
+ "$id": "2282",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24146,13 +24366,13 @@
"decorators": []
},
{
- "$id": "2263",
+ "$id": "2283",
"kind": "constant",
"name": "ListAssistantsRequestAccept118",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2264",
+ "$id": "2284",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24162,13 +24382,13 @@
"decorators": []
},
{
- "$id": "2265",
+ "$id": "2285",
"kind": "constant",
"name": "createUploadContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2266",
+ "$id": "2286",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24178,13 +24398,13 @@
"decorators": []
},
{
- "$id": "2267",
+ "$id": "2287",
"kind": "constant",
"name": "ListAssistantsRequestAccept119",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2268",
+ "$id": "2288",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24194,13 +24414,13 @@
"decorators": []
},
{
- "$id": "2269",
+ "$id": "2289",
"kind": "constant",
"name": "ListAssistantsRequestAccept120",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2270",
+ "$id": "2290",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24210,13 +24430,13 @@
"decorators": []
},
{
- "$id": "2271",
+ "$id": "2291",
"kind": "constant",
"name": "CreateTranscriptionRequestContentType12",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2272",
+ "$id": "2292",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24226,13 +24446,13 @@
"decorators": []
},
{
- "$id": "2273",
+ "$id": "2293",
"kind": "constant",
"name": "ListAssistantsRequestAccept121",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2274",
+ "$id": "2294",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24242,13 +24462,13 @@
"decorators": []
},
{
- "$id": "2275",
+ "$id": "2295",
"kind": "constant",
"name": "CreateTranscriptionRequestContentType13",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2276",
+ "$id": "2296",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24258,13 +24478,13 @@
"decorators": []
},
{
- "$id": "2277",
+ "$id": "2297",
"kind": "constant",
"name": "ListAssistantsRequestAccept122",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2278",
+ "$id": "2298",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24274,13 +24494,13 @@
"decorators": []
},
{
- "$id": "2279",
+ "$id": "2299",
"kind": "constant",
"name": "completeUploadContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2280",
+ "$id": "2300",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24290,13 +24510,13 @@
"decorators": []
},
{
- "$id": "2281",
+ "$id": "2301",
"kind": "constant",
"name": "ListAssistantsRequestAccept123",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2282",
+ "$id": "2302",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24306,13 +24526,13 @@
"decorators": []
},
{
- "$id": "2283",
+ "$id": "2303",
"kind": "constant",
"name": "ListAssistantsRequestAccept124",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2284",
+ "$id": "2304",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24322,13 +24542,13 @@
"decorators": []
},
{
- "$id": "2285",
+ "$id": "2305",
"kind": "constant",
"name": "ListAssistantsRequestAccept125",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2286",
+ "$id": "2306",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24340,7 +24560,7 @@
],
"models": [
{
- "$id": "2287",
+ "$id": "2307",
"kind": "model",
"name": "ListAssistantsResponse",
"namespace": "OpenAI",
@@ -24349,12 +24569,12 @@
"decorators": [],
"properties": [
{
- "$id": "2288",
+ "$id": "2308",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1469"
+ "$ref": "1509"
},
"optional": false,
"readOnly": false,
@@ -24370,16 +24590,16 @@
"isHttpMetadata": false
},
{
- "$id": "2289",
+ "$id": "2309",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "2290",
+ "$id": "2310",
"kind": "array",
"name": "ArrayAssistantObject",
"valueType": {
- "$id": "2291",
+ "$id": "2311",
"kind": "model",
"name": "AssistantObject",
"namespace": "OpenAI",
@@ -24389,13 +24609,13 @@
"decorators": [],
"properties": [
{
- "$id": "2292",
+ "$id": "2312",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "2293",
+ "$id": "2313",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24415,13 +24635,13 @@
"isHttpMetadata": false
},
{
- "$id": "2294",
+ "$id": "2314",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `assistant`.",
"type": {
- "$ref": "1471"
+ "$ref": "1511"
},
"optional": false,
"readOnly": false,
@@ -24437,18 +24657,18 @@
"isHttpMetadata": false
},
{
- "$id": "2295",
+ "$id": "2315",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the assistant was created.",
"type": {
- "$id": "2296",
+ "$id": "2316",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2297",
+ "$id": "2317",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -24471,16 +24691,16 @@
"isHttpMetadata": false
},
{
- "$id": "2298",
+ "$id": "2318",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the assistant. The maximum length is 256 characters.",
"type": {
- "$id": "2299",
+ "$id": "2319",
"kind": "nullable",
"type": {
- "$id": "2300",
+ "$id": "2320",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24502,16 +24722,16 @@
"isHttpMetadata": false
},
{
- "$id": "2301",
+ "$id": "2321",
"kind": "property",
"name": "description",
"serializedName": "description",
"doc": "The description of the assistant. The maximum length is 512 characters.",
"type": {
- "$id": "2302",
+ "$id": "2322",
"kind": "nullable",
"type": {
- "$id": "2303",
+ "$id": "2323",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24533,13 +24753,13 @@
"isHttpMetadata": false
},
{
- "$id": "2304",
+ "$id": "2324",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them.",
"type": {
- "$id": "2305",
+ "$id": "2325",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24559,16 +24779,16 @@
"isHttpMetadata": false
},
{
- "$id": "2306",
+ "$id": "2326",
"kind": "property",
"name": "instructions",
"serializedName": "instructions",
"doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.",
"type": {
- "$id": "2307",
+ "$id": "2327",
"kind": "nullable",
"type": {
- "$id": "2308",
+ "$id": "2328",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24590,17 +24810,17 @@
"isHttpMetadata": false
},
{
- "$id": "2309",
+ "$id": "2329",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.",
"type": {
- "$id": "2310",
+ "$id": "2330",
"kind": "array",
"name": "ArrayAssistantToolDefinition",
"valueType": {
- "$id": "2311",
+ "$id": "2331",
"kind": "model",
"name": "AssistantToolDefinition",
"namespace": "OpenAI",
@@ -24608,7 +24828,7 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "2312",
+ "$id": "2332",
"kind": "property",
"name": "type",
"serializedName": "type",
@@ -24630,12 +24850,12 @@
},
"properties": [
{
- "$ref": "2312"
+ "$ref": "2332"
}
],
"discriminatedSubtypes": {
"code_interpreter": {
- "$id": "2313",
+ "$id": "2333",
"kind": "model",
"name": "AssistantToolsCode",
"namespace": "OpenAI",
@@ -24644,17 +24864,89 @@
"discriminatorValue": "code_interpreter",
"decorators": [],
"baseModel": {
- "$ref": "2311"
+ "$ref": "2331"
},
"properties": [
{
- "$id": "2314",
+ "$id": "2334",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of tool being defined: `code_interpreter`",
"type": {
- "$ref": "3"
+ "$id": "2335",
+ "kind": "enumvalue",
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "2"
+ },
+ "enumType": {
+ "$id": "2336",
+ "kind": "enum",
+ "decorators": [],
+ "name": "AssistantToolDefinitionType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "2337",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "2338",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "2337"
+ },
+ "enumType": {
+ "$ref": "2336"
+ }
+ },
+ {
+ "$id": "2339",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "2337"
+ },
+ "enumType": {
+ "$ref": "2336"
+ }
+ },
+ {
+ "$id": "2340",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "2337"
+ },
+ "enumType": {
+ "$ref": "2336"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.AssistantToolDefinitionType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -24672,7 +24964,7 @@
]
},
"file_search": {
- "$id": "2315",
+ "$id": "2341",
"kind": "model",
"name": "AssistantToolsFileSearch",
"namespace": "OpenAI",
@@ -24681,17 +24973,27 @@
"discriminatorValue": "file_search",
"decorators": [],
"baseModel": {
- "$ref": "2311"
+ "$ref": "2331"
},
"properties": [
{
- "$id": "2316",
+ "$id": "2342",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of tool being defined: `file_search`",
"type": {
- "$ref": "4"
+ "$id": "2343",
+ "kind": "enumvalue",
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "2"
+ },
+ "enumType": {
+ "$ref": "2336"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -24707,13 +25009,13 @@
"isHttpMetadata": false
},
{
- "$id": "2317",
+ "$id": "2344",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"doc": "Overrides for the file search tool.",
"type": {
- "$id": "2318",
+ "$id": "2345",
"kind": "model",
"name": "AssistantToolsFileSearchFileSearch",
"namespace": "OpenAI",
@@ -24722,13 +25024,13 @@
"decorators": [],
"properties": [
{
- "$id": "2319",
+ "$id": "2346",
"kind": "property",
"name": "max_num_results",
"serializedName": "max_num_results",
"doc": "The maximum number of results the file search tool should output. The default is 20 for `gpt-4*` models and 5 for `gpt-3.5-turbo`. This number should be between 1 and 50 inclusive.\n\nNote that the file search tool may output fewer than `max_num_results` results. See the [file search tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) for more information.",
"type": {
- "$id": "2320",
+ "$id": "2347",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -24748,12 +25050,12 @@
"isHttpMetadata": false
},
{
- "$id": "2321",
+ "$id": "2348",
"kind": "property",
"name": "ranking_options",
"serializedName": "ranking_options",
"type": {
- "$id": "2322",
+ "$id": "2349",
"kind": "model",
"name": "FileSearchRankingOptions",
"namespace": "OpenAI",
@@ -24763,7 +25065,7 @@
"decorators": [],
"properties": [
{
- "$id": "2323",
+ "$id": "2350",
"kind": "property",
"name": "ranker",
"serializedName": "ranker",
@@ -24784,13 +25086,13 @@
"isHttpMetadata": false
},
{
- "$id": "2324",
+ "$id": "2351",
"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": "2325",
+ "$id": "2352",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -24842,7 +25144,7 @@
]
},
"function": {
- "$id": "2326",
+ "$id": "2353",
"kind": "model",
"name": "AssistantToolsFunction",
"namespace": "OpenAI",
@@ -24851,17 +25153,27 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "2311"
+ "$ref": "2331"
},
"properties": [
{
- "$id": "2327",
+ "$id": "2354",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of tool being defined: `function`",
"type": {
- "$ref": "5"
+ "$id": "2355",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "2"
+ },
+ "enumType": {
+ "$ref": "2336"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -24877,12 +25189,12 @@
"isHttpMetadata": false
},
{
- "$id": "2328",
+ "$id": "2356",
"kind": "property",
"name": "function",
"serializedName": "function",
"type": {
- "$id": "2329",
+ "$id": "2357",
"kind": "model",
"name": "FunctionObject",
"namespace": "OpenAI",
@@ -24891,13 +25203,13 @@
"decorators": [],
"properties": [
{
- "$id": "2330",
+ "$id": "2358",
"kind": "property",
"name": "description",
"serializedName": "description",
"doc": "A description of what the function does, used by the model to choose when and how to call the function.",
"type": {
- "$id": "2331",
+ "$id": "2359",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24917,13 +25229,13 @@
"isHttpMetadata": false
},
{
- "$id": "2332",
+ "$id": "2360",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.",
"type": {
- "$id": "2333",
+ "$id": "2361",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -24943,13 +25255,13 @@
"isHttpMetadata": false
},
{
- "$id": "2334",
+ "$id": "2362",
"kind": "property",
"name": "parameters",
"serializedName": "parameters",
"doc": "The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.\n\nOmitting `parameters` defines a function with an empty parameter list.",
"type": {
- "$id": "2335",
+ "$id": "2363",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -24969,16 +25281,16 @@
"isHttpMetadata": false
},
{
- "$id": "2336",
+ "$id": "2364",
"kind": "property",
"name": "strict",
"serializedName": "strict",
"doc": "Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn more about Structured Outputs in the [function calling guide](docs/guides/function-calling).",
"type": {
- "$id": "2337",
+ "$id": "2365",
"kind": "nullable",
"type": {
- "$id": "2338",
+ "$id": "2366",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -25035,16 +25347,16 @@
"isHttpMetadata": false
},
{
- "$id": "2339",
+ "$id": "2367",
"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": "2340",
+ "$id": "2368",
"kind": "nullable",
"type": {
- "$id": "2341",
+ "$id": "2369",
"kind": "model",
"name": "AssistantObjectToolResources1",
"namespace": "OpenAI",
@@ -25053,12 +25365,12 @@
"decorators": [],
"properties": [
{
- "$id": "2342",
+ "$id": "2370",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"type": {
- "$id": "2343",
+ "$id": "2371",
"kind": "model",
"name": "AssistantObjectToolResourcesCodeInterpreter",
"namespace": "OpenAI",
@@ -25067,17 +25379,17 @@
"decorators": [],
"properties": [
{
- "$id": "2344",
+ "$id": "2372",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter`` tool. There can be a maximum of 20 files associated with the tool.",
"type": {
- "$id": "2345",
+ "$id": "2373",
"kind": "array",
"name": "Array",
"valueType": {
- "$id": "2346",
+ "$id": "2374",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25115,12 +25427,12 @@
"isHttpMetadata": false
},
{
- "$id": "2347",
+ "$id": "2375",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"type": {
- "$id": "2348",
+ "$id": "2376",
"kind": "model",
"name": "ToolResourcesFileSearchIdsOnly",
"namespace": "OpenAI",
@@ -25129,13 +25441,13 @@
"decorators": [],
"properties": [
{
- "$id": "2349",
+ "$id": "2377",
"kind": "property",
"name": "vector_store_ids",
"serializedName": "vector_store_ids",
"doc": "The [vector store](/docs/api-reference/vector-stores/object) attached to this assistant.\nThere can be a maximum of 1 vector store attached to the assistant.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -25183,26 +25495,26 @@
"isHttpMetadata": false
},
{
- "$id": "2350",
+ "$id": "2378",
"kind": "property",
"name": "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": {
- "$id": "2351",
+ "$id": "2379",
"kind": "nullable",
"type": {
- "$id": "2352",
+ "$id": "2380",
"kind": "dict",
"keyType": {
- "$id": "2353",
+ "$id": "2381",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
"valueType": {
- "$id": "2354",
+ "$id": "2382",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25226,16 +25538,16 @@
"isHttpMetadata": false
},
{
- "$id": "2355",
+ "$id": "2383",
"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": "2356",
+ "$id": "2384",
"kind": "nullable",
"type": {
- "$id": "2357",
+ "$id": "2385",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -25257,16 +25569,16 @@
"isHttpMetadata": false
},
{
- "$id": "2358",
+ "$id": "2386",
"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": "2359",
+ "$id": "2387",
"kind": "nullable",
"type": {
- "$id": "2360",
+ "$id": "2388",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -25288,23 +25600,23 @@
"isHttpMetadata": false
},
{
- "$id": "2361",
+ "$id": "2389",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
"type": {
- "$id": "2362",
+ "$id": "2390",
"kind": "nullable",
"type": {
- "$id": "2363",
+ "$id": "2391",
"kind": "union",
"name": "AssistantsApiResponseFormatOption",
"variantTypes": [
{
- "$ref": "1473"
+ "$ref": "1513"
},
{
- "$id": "2364",
+ "$id": "2392",
"kind": "model",
"name": "ResponseFormatText",
"namespace": "OpenAI",
@@ -25314,7 +25626,7 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$id": "2365",
+ "$id": "2393",
"kind": "model",
"name": "ResponseFormat",
"namespace": "OpenAI",
@@ -25322,7 +25634,7 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "2366",
+ "$id": "2394",
"kind": "property",
"name": "type",
"serializedName": "type",
@@ -25344,15 +25656,15 @@
},
"properties": [
{
- "$ref": "2366"
+ "$ref": "2394"
}
],
"discriminatedSubtypes": {
"text": {
- "$ref": "2364"
+ "$ref": "2392"
},
"json_object": {
- "$id": "2367",
+ "$id": "2395",
"kind": "model",
"name": "ResponseFormatJsonObject",
"namespace": "OpenAI",
@@ -25362,17 +25674,89 @@
"discriminatorValue": "json_object",
"decorators": [],
"baseModel": {
- "$ref": "2365"
+ "$ref": "2393"
},
"properties": [
{
- "$id": "2368",
+ "$id": "2396",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of response format being defined. Always `json_object`.",
"type": {
- "$ref": "13"
+ "$id": "2397",
+ "kind": "enumvalue",
+ "name": "json_object",
+ "value": "json_object",
+ "valueType": {
+ "$ref": "11"
+ },
+ "enumType": {
+ "$id": "2398",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ResponseFormatType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "2399",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "2400",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "2399"
+ },
+ "enumType": {
+ "$ref": "2398"
+ }
+ },
+ {
+ "$id": "2401",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "json_object",
+ "value": "json_object",
+ "valueType": {
+ "$ref": "2399"
+ },
+ "enumType": {
+ "$ref": "2398"
+ }
+ },
+ {
+ "$id": "2402",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "json_schema",
+ "value": "json_schema",
+ "valueType": {
+ "$ref": "2399"
+ },
+ "enumType": {
+ "$ref": "2398"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ResponseFormat.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -25390,7 +25774,7 @@
]
},
"json_schema": {
- "$id": "2369",
+ "$id": "2403",
"kind": "model",
"name": "ResponseFormatJsonSchema",
"namespace": "OpenAI",
@@ -25400,17 +25784,27 @@
"discriminatorValue": "json_schema",
"decorators": [],
"baseModel": {
- "$ref": "2365"
+ "$ref": "2393"
},
"properties": [
{
- "$id": "2370",
+ "$id": "2404",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of response format being defined. Always `json_schema`.",
"type": {
- "$ref": "14"
+ "$id": "2405",
+ "kind": "enumvalue",
+ "name": "json_schema",
+ "value": "json_schema",
+ "valueType": {
+ "$ref": "11"
+ },
+ "enumType": {
+ "$ref": "2398"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -25426,13 +25820,13 @@
"isHttpMetadata": false
},
{
- "$id": "2371",
+ "$id": "2406",
"kind": "property",
"name": "json_schema",
"serializedName": "json_schema",
"doc": "Structured Outputs configuration options, including a JSON Schema.",
"type": {
- "$id": "2372",
+ "$id": "2407",
"kind": "model",
"name": "ResponseFormatJsonSchemaJsonSchema",
"namespace": "OpenAI",
@@ -25441,13 +25835,13 @@
"decorators": [],
"properties": [
{
- "$id": "2373",
+ "$id": "2408",
"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": "2374",
+ "$id": "2409",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25467,13 +25861,13 @@
"isHttpMetadata": false
},
{
- "$id": "2375",
+ "$id": "2410",
"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": "2376",
+ "$id": "2411",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25493,12 +25887,12 @@
"isHttpMetadata": false
},
{
- "$id": "2377",
+ "$id": "2412",
"kind": "property",
"name": "schema",
"serializedName": "schema",
"type": {
- "$id": "2378",
+ "$id": "2413",
"kind": "model",
"name": "ResponseFormatJsonSchemaSchema",
"namespace": "OpenAI",
@@ -25507,7 +25901,7 @@
"doc": "The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).",
"decorators": [],
"additionalProperties": {
- "$id": "2379",
+ "$id": "2414",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -25529,16 +25923,16 @@
"isHttpMetadata": false
},
{
- "$id": "2380",
+ "$id": "2415",
"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": "2381",
+ "$id": "2416",
"kind": "nullable",
"type": {
- "$id": "2382",
+ "$id": "2417",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -25580,13 +25974,13 @@
},
"properties": [
{
- "$id": "2383",
+ "$id": "2418",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of response format being defined. Always `text`.",
"type": {
- "$id": "2384",
+ "$id": "2419",
"kind": "enumvalue",
"name": "text",
"value": "text",
@@ -25594,7 +25988,7 @@
"$ref": "11"
},
"enumType": {
- "$ref": "10"
+ "$ref": "2398"
},
"decorators": []
},
@@ -25614,10 +26008,10 @@
]
},
{
- "$ref": "2367"
+ "$ref": "2395"
},
{
- "$ref": "2369"
+ "$ref": "2403"
}
],
"namespace": "OpenAI",
@@ -25657,12 +26051,12 @@
"isHttpMetadata": false
},
{
- "$id": "2385",
+ "$id": "2420",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "2386",
+ "$id": "2421",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25682,12 +26076,12 @@
"isHttpMetadata": false
},
{
- "$id": "2387",
+ "$id": "2422",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "2388",
+ "$id": "2423",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25707,12 +26101,12 @@
"isHttpMetadata": false
},
{
- "$id": "2389",
+ "$id": "2424",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "2390",
+ "$id": "2425",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -25734,58 +26128,58 @@
]
},
{
- "$ref": "2291"
+ "$ref": "2311"
},
{
- "$ref": "2311"
+ "$ref": "2331"
},
{
- "$ref": "2313"
+ "$ref": "2333"
},
{
- "$ref": "2315"
+ "$ref": "2341"
},
{
- "$ref": "2318"
+ "$ref": "2345"
},
{
- "$ref": "2322"
+ "$ref": "2349"
},
{
- "$ref": "2326"
+ "$ref": "2353"
},
{
- "$ref": "2329"
+ "$ref": "2357"
},
{
- "$ref": "2341"
+ "$ref": "2369"
},
{
- "$ref": "2343"
+ "$ref": "2371"
},
{
- "$ref": "2348"
+ "$ref": "2376"
},
{
- "$ref": "2364"
+ "$ref": "2392"
},
{
- "$ref": "2365"
+ "$ref": "2393"
},
{
- "$ref": "2367"
+ "$ref": "2395"
},
{
- "$ref": "2369"
+ "$ref": "2403"
},
{
- "$ref": "2372"
+ "$ref": "2407"
},
{
- "$ref": "2378"
+ "$ref": "2413"
},
{
- "$id": "2391",
+ "$id": "2426",
"kind": "model",
"name": "ErrorResponse",
"namespace": "OpenAI",
@@ -25794,12 +26188,12 @@
"decorators": [],
"properties": [
{
- "$id": "2392",
+ "$id": "2427",
"kind": "property",
"name": "error",
"serializedName": "error",
"type": {
- "$id": "2393",
+ "$id": "2428",
"kind": "model",
"name": "Error",
"namespace": "OpenAI",
@@ -25808,15 +26202,15 @@
"decorators": [],
"properties": [
{
- "$id": "2394",
+ "$id": "2429",
"kind": "property",
"name": "code",
"serializedName": "code",
"type": {
- "$id": "2395",
+ "$id": "2430",
"kind": "nullable",
"type": {
- "$id": "2396",
+ "$id": "2431",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25838,12 +26232,12 @@
"isHttpMetadata": false
},
{
- "$id": "2397",
+ "$id": "2432",
"kind": "property",
"name": "message",
"serializedName": "message",
"type": {
- "$id": "2398",
+ "$id": "2433",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25863,15 +26257,15 @@
"isHttpMetadata": false
},
{
- "$id": "2399",
+ "$id": "2434",
"kind": "property",
"name": "param",
"serializedName": "param",
"type": {
- "$id": "2400",
+ "$id": "2435",
"kind": "nullable",
"type": {
- "$id": "2401",
+ "$id": "2436",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25893,12 +26287,12 @@
"isHttpMetadata": false
},
{
- "$id": "2402",
+ "$id": "2437",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$id": "2403",
+ "$id": "2438",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -25935,10 +26329,10 @@
]
},
{
- "$ref": "2393"
+ "$ref": "2428"
},
{
- "$id": "2404",
+ "$id": "2439",
"kind": "model",
"name": "CreateAssistantRequest",
"namespace": "OpenAI",
@@ -25947,7 +26341,7 @@
"decorators": [],
"properties": [
{
- "$id": "2405",
+ "$id": "2440",
"kind": "property",
"name": "model",
"serializedName": "model",
@@ -25969,16 +26363,16 @@
"isHttpMetadata": false
},
{
- "$id": "2406",
+ "$id": "2441",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the assistant. The maximum length is 256 characters.",
"type": {
- "$id": "2407",
+ "$id": "2442",
"kind": "nullable",
"type": {
- "$id": "2408",
+ "$id": "2443",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -26000,16 +26394,16 @@
"isHttpMetadata": false
},
{
- "$id": "2409",
+ "$id": "2444",
"kind": "property",
"name": "description",
"serializedName": "description",
"doc": "The description of the assistant. The maximum length is 512 characters.",
"type": {
- "$id": "2410",
+ "$id": "2445",
"kind": "nullable",
"type": {
- "$id": "2411",
+ "$id": "2446",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -26031,16 +26425,16 @@
"isHttpMetadata": false
},
{
- "$id": "2412",
+ "$id": "2447",
"kind": "property",
"name": "instructions",
"serializedName": "instructions",
"doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.",
"type": {
- "$id": "2413",
+ "$id": "2448",
"kind": "nullable",
"type": {
- "$id": "2414",
+ "$id": "2449",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -26062,12 +26456,12 @@
"isHttpMetadata": false
},
{
- "$id": "2415",
+ "$id": "2450",
"kind": "property",
"name": "reasoning_effort",
"serializedName": "reasoning_effort",
"type": {
- "$id": "2416",
+ "$id": "2451",
"kind": "nullable",
"type": {
"$ref": "53"
@@ -26088,13 +26482,13 @@
"isHttpMetadata": false
},
{
- "$id": "2417",
+ "$id": "2452",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.",
"type": {
- "$ref": "2310"
+ "$ref": "2330"
},
"optional": true,
"readOnly": false,
@@ -26110,16 +26504,16 @@
"isHttpMetadata": false
},
{
- "$id": "2418",
+ "$id": "2453",
"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": "2419",
+ "$id": "2454",
"kind": "nullable",
"type": {
- "$id": "2420",
+ "$id": "2455",
"kind": "model",
"name": "CreateAssistantRequestToolResources1",
"namespace": "OpenAI",
@@ -26128,12 +26522,12 @@
"decorators": [],
"properties": [
{
- "$id": "2421",
+ "$id": "2456",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"type": {
- "$id": "2422",
+ "$id": "2457",
"kind": "model",
"name": "CreateAssistantRequestToolResourcesCodeInterpreter",
"namespace": "OpenAI",
@@ -26142,13 +26536,13 @@
"decorators": [],
"properties": [
{
- "$id": "2423",
+ "$id": "2458",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -26179,12 +26573,12 @@
"isHttpMetadata": false
},
{
- "$id": "2424",
+ "$id": "2459",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"type": {
- "$id": "2425",
+ "$id": "2460",
"kind": "model",
"name": "ToolResourcesFileSearch",
"namespace": "OpenAI",
@@ -26193,13 +26587,13 @@
"decorators": [],
"properties": [
{
- "$id": "2426",
+ "$id": "2461",
"kind": "property",
"name": "vector_store_ids",
"serializedName": "vector_store_ids",
"doc": "The [vector store](/docs/api-reference/vector-stores/object) attached to this assistant.\nThere can be a maximum of 1 vector store attached to the assistant.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -26215,17 +26609,17 @@
"isHttpMetadata": false
},
{
- "$id": "2427",
+ "$id": "2462",
"kind": "property",
"name": "vector_stores",
"serializedName": "vector_stores",
"doc": "A helper to create a [vector store](/docs/api-reference/vector-stores/object) with\nfile_ids and attach it to this assistant. There can be a maximum of 1 vector store\nattached to the assistant.",
"type": {
- "$id": "2428",
+ "$id": "2463",
"kind": "array",
"name": "Array1",
"valueType": {
- "$id": "2429",
+ "$id": "2464",
"kind": "model",
"name": "ToolResourcesFileSearchVectorStore",
"namespace": "OpenAI",
@@ -26234,13 +26628,13 @@
"decorators": [],
"properties": [
{
- "$id": "2430",
+ "$id": "2465",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [file](/docs/api-reference/files) IDs to add to the vector store. There can be\na maximum of 10000 files in a vector store.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -26256,13 +26650,13 @@
"isHttpMetadata": false
},
{
- "$id": "2431",
+ "$id": "2466",
"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": "2432",
+ "$id": "2467",
"kind": "model",
"name": "ChunkingStrategyRequestParam",
"namespace": "OpenAI",
@@ -26271,7 +26665,7 @@
"doc": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.",
"decorators": [],
"discriminatorProperty": {
- "$id": "2433",
+ "$id": "2468",
"kind": "property",
"name": "type",
"serializedName": "type",
@@ -26294,12 +26688,12 @@
},
"properties": [
{
- "$ref": "2433"
+ "$ref": "2468"
}
],
"discriminatedSubtypes": {
"auto": {
- "$id": "2434",
+ "$id": "2469",
"kind": "model",
"name": "AutoChunkingStrategyRequestParam",
"namespace": "OpenAI",
@@ -26309,17 +26703,76 @@
"discriminatorValue": "auto",
"decorators": [],
"baseModel": {
- "$ref": "2432"
+ "$ref": "2467"
},
"properties": [
{
- "$id": "2435",
+ "$id": "2470",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `auto`.",
"type": {
- "$ref": "61"
+ "$id": "2471",
+ "kind": "enumvalue",
+ "name": "auto",
+ "value": "auto",
+ "valueType": {
+ "$ref": "60"
+ },
+ "enumType": {
+ "$id": "2472",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ChunkingStrategyRequestParamType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "2473",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "2474",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "auto",
+ "value": "auto",
+ "valueType": {
+ "$ref": "2473"
+ },
+ "enumType": {
+ "$ref": "2472"
+ }
+ },
+ {
+ "$id": "2475",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "static",
+ "value": "static",
+ "valueType": {
+ "$ref": "2473"
+ },
+ "enumType": {
+ "$ref": "2472"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ChunkingStrategyRequestParam.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -26337,7 +26790,7 @@
]
},
"static": {
- "$id": "2436",
+ "$id": "2476",
"kind": "model",
"name": "StaticChunkingStrategyRequestParam",
"namespace": "OpenAI",
@@ -26347,17 +26800,27 @@
"discriminatorValue": "static",
"decorators": [],
"baseModel": {
- "$ref": "2432"
+ "$ref": "2467"
},
"properties": [
{
- "$id": "2437",
+ "$id": "2477",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `static`.",
"type": {
- "$ref": "62"
+ "$id": "2478",
+ "kind": "enumvalue",
+ "name": "static",
+ "value": "static",
+ "valueType": {
+ "$ref": "60"
+ },
+ "enumType": {
+ "$ref": "2472"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -26373,12 +26836,12 @@
"isHttpMetadata": false
},
{
- "$id": "2438",
+ "$id": "2479",
"kind": "property",
"name": "static",
"serializedName": "static",
"type": {
- "$id": "2439",
+ "$id": "2480",
"kind": "model",
"name": "StaticChunkingStrategy",
"namespace": "OpenAI",
@@ -26387,13 +26850,13 @@
"decorators": [],
"properties": [
{
- "$id": "2440",
+ "$id": "2481",
"kind": "property",
"name": "max_chunk_size_tokens",
"serializedName": "max_chunk_size_tokens",
"doc": "The maximum number of tokens in each chunk. The default value is `800`. The minimum value is `100` and the maximum value is `4096`.",
"type": {
- "$id": "2441",
+ "$id": "2482",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -26413,13 +26876,13 @@
"isHttpMetadata": false
},
{
- "$id": "2442",
+ "$id": "2483",
"kind": "property",
"name": "chunk_overlap_tokens",
"serializedName": "chunk_overlap_tokens",
"doc": "The number of tokens that overlap between chunks. The default value is `400`.\n\nNote that the overlap must not exceed half of `max_chunk_size_tokens`.",
"type": {
- "$id": "2443",
+ "$id": "2484",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -26471,13 +26934,13 @@
"isHttpMetadata": false
},
{
- "$id": "2444",
+ "$id": "2485",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -26543,13 +27006,13 @@
"isHttpMetadata": false
},
{
- "$id": "2445",
+ "$id": "2486",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -26565,16 +27028,16 @@
"isHttpMetadata": false
},
{
- "$id": "2446",
+ "$id": "2487",
"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": "2447",
+ "$id": "2488",
"kind": "nullable",
"type": {
- "$id": "2448",
+ "$id": "2489",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -26596,16 +27059,16 @@
"isHttpMetadata": false
},
{
- "$id": "2449",
+ "$id": "2490",
"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": "2450",
+ "$id": "2491",
"kind": "nullable",
"type": {
- "$id": "2451",
+ "$id": "2492",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -26627,15 +27090,15 @@
"isHttpMetadata": false
},
{
- "$id": "2452",
+ "$id": "2493",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
"type": {
- "$id": "2453",
+ "$id": "2494",
"kind": "nullable",
"type": {
- "$ref": "2363"
+ "$ref": "2391"
},
"namespace": "OpenAI"
},
@@ -26655,31 +27118,31 @@
]
},
{
- "$ref": "2420"
+ "$ref": "2455"
},
{
- "$ref": "2422"
+ "$ref": "2457"
},
{
- "$ref": "2425"
+ "$ref": "2460"
},
{
- "$ref": "2429"
+ "$ref": "2464"
},
{
- "$ref": "2432"
+ "$ref": "2467"
},
{
- "$ref": "2434"
+ "$ref": "2469"
},
{
- "$ref": "2436"
+ "$ref": "2476"
},
{
- "$ref": "2439"
+ "$ref": "2480"
},
{
- "$id": "2454",
+ "$id": "2495",
"kind": "model",
"name": "ModifyAssistantRequest",
"namespace": "OpenAI",
@@ -26688,7 +27151,7 @@
"decorators": [],
"properties": [
{
- "$id": "2455",
+ "$id": "2496",
"kind": "property",
"name": "model",
"serializedName": "model",
@@ -26710,12 +27173,12 @@
"isHttpMetadata": false
},
{
- "$id": "2456",
+ "$id": "2497",
"kind": "property",
"name": "reasoning_effort",
"serializedName": "reasoning_effort",
"type": {
- "$id": "2457",
+ "$id": "2498",
"kind": "nullable",
"type": {
"$ref": "53"
@@ -26736,16 +27199,16 @@
"isHttpMetadata": false
},
{
- "$id": "2458",
+ "$id": "2499",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the assistant. The maximum length is 256 characters.",
"type": {
- "$id": "2459",
+ "$id": "2500",
"kind": "nullable",
"type": {
- "$id": "2460",
+ "$id": "2501",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -26767,16 +27230,16 @@
"isHttpMetadata": false
},
{
- "$id": "2461",
+ "$id": "2502",
"kind": "property",
"name": "description",
"serializedName": "description",
"doc": "The description of the assistant. The maximum length is 512 characters.",
"type": {
- "$id": "2462",
+ "$id": "2503",
"kind": "nullable",
"type": {
- "$id": "2463",
+ "$id": "2504",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -26798,16 +27261,16 @@
"isHttpMetadata": false
},
{
- "$id": "2464",
+ "$id": "2505",
"kind": "property",
"name": "instructions",
"serializedName": "instructions",
"doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.",
"type": {
- "$id": "2465",
+ "$id": "2506",
"kind": "nullable",
"type": {
- "$id": "2466",
+ "$id": "2507",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -26829,13 +27292,13 @@
"isHttpMetadata": false
},
{
- "$id": "2467",
+ "$id": "2508",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.",
"type": {
- "$ref": "2310"
+ "$ref": "2330"
},
"optional": true,
"readOnly": false,
@@ -26851,16 +27314,16 @@
"isHttpMetadata": false
},
{
- "$id": "2468",
+ "$id": "2509",
"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": "2469",
+ "$id": "2510",
"kind": "nullable",
"type": {
- "$id": "2470",
+ "$id": "2511",
"kind": "model",
"name": "ModifyAssistantRequestToolResources1",
"namespace": "OpenAI",
@@ -26869,12 +27332,12 @@
"decorators": [],
"properties": [
{
- "$id": "2471",
+ "$id": "2512",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"type": {
- "$id": "2472",
+ "$id": "2513",
"kind": "model",
"name": "ModifyAssistantRequestToolResourcesCodeInterpreter",
"namespace": "OpenAI",
@@ -26883,13 +27346,13 @@
"decorators": [],
"properties": [
{
- "$id": "2473",
+ "$id": "2514",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "Overrides the list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -26920,12 +27383,12 @@
"isHttpMetadata": false
},
{
- "$id": "2474",
+ "$id": "2515",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"type": {
- "$ref": "2348"
+ "$ref": "2376"
},
"optional": true,
"readOnly": false,
@@ -26958,13 +27421,13 @@
"isHttpMetadata": false
},
{
- "$id": "2475",
+ "$id": "2516",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -26980,16 +27443,16 @@
"isHttpMetadata": false
},
{
- "$id": "2476",
+ "$id": "2517",
"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": "2477",
+ "$id": "2518",
"kind": "nullable",
"type": {
- "$id": "2478",
+ "$id": "2519",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27011,16 +27474,16 @@
"isHttpMetadata": false
},
{
- "$id": "2479",
+ "$id": "2520",
"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": "2480",
+ "$id": "2521",
"kind": "nullable",
"type": {
- "$id": "2481",
+ "$id": "2522",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27042,15 +27505,15 @@
"isHttpMetadata": false
},
{
- "$id": "2482",
+ "$id": "2523",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
"type": {
- "$id": "2483",
+ "$id": "2524",
"kind": "nullable",
"type": {
- "$ref": "2363"
+ "$ref": "2391"
},
"namespace": "OpenAI"
},
@@ -27070,13 +27533,13 @@
]
},
{
- "$ref": "2470"
+ "$ref": "2511"
},
{
- "$ref": "2472"
+ "$ref": "2513"
},
{
- "$id": "2484",
+ "$id": "2525",
"kind": "model",
"name": "DeleteAssistantResponse",
"namespace": "OpenAI",
@@ -27085,12 +27548,12 @@
"decorators": [],
"properties": [
{
- "$id": "2485",
+ "$id": "2526",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "2486",
+ "$id": "2527",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27110,12 +27573,12 @@
"isHttpMetadata": false
},
{
- "$id": "2487",
+ "$id": "2528",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "2488",
+ "$id": "2529",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -27135,12 +27598,12 @@
"isHttpMetadata": false
},
{
- "$id": "2489",
+ "$id": "2530",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1475"
+ "$ref": "1515"
},
"optional": false,
"readOnly": false,
@@ -27158,7 +27621,7 @@
]
},
{
- "$id": "2490",
+ "$id": "2531",
"kind": "model",
"name": "CreateSpeechRequest",
"namespace": "OpenAI",
@@ -27167,7 +27630,7 @@
"decorators": [],
"properties": [
{
- "$id": "2491",
+ "$id": "2532",
"kind": "property",
"name": "model",
"serializedName": "model",
@@ -27189,13 +27652,13 @@
"isHttpMetadata": false
},
{
- "$id": "2492",
+ "$id": "2533",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The text to generate audio for. The maximum length is 4096 characters.",
"type": {
- "$id": "2493",
+ "$id": "2534",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27215,13 +27678,13 @@
"isHttpMetadata": false
},
{
- "$id": "2494",
+ "$id": "2535",
"kind": "property",
"name": "instructions",
"serializedName": "instructions",
"doc": "Control the voice of your generated audio with additional instructions. Does not work with `tts-1` or `tts-1-hd`.",
"type": {
- "$id": "2495",
+ "$id": "2536",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27241,7 +27704,7 @@
"isHttpMetadata": false
},
{
- "$id": "2496",
+ "$id": "2537",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -27263,7 +27726,7 @@
"isHttpMetadata": false
},
{
- "$id": "2497",
+ "$id": "2538",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
@@ -27285,13 +27748,13 @@
"isHttpMetadata": false
},
{
- "$id": "2498",
+ "$id": "2539",
"kind": "property",
"name": "speed",
"serializedName": "speed",
"doc": "The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. Does not work with `gpt-4o-mini-tts`.",
"type": {
- "$id": "2499",
+ "$id": "2540",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27313,7 +27776,7 @@
]
},
{
- "$id": "2500",
+ "$id": "2541",
"kind": "model",
"name": "CreateTranscriptionRequest",
"namespace": "OpenAI",
@@ -27322,13 +27785,13 @@
"decorators": [],
"properties": [
{
- "$id": "2501",
+ "$id": "2542",
"kind": "property",
"name": "file",
"serializedName": "file",
"doc": "The audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.",
"type": {
- "$id": "2502",
+ "$id": "2543",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -27355,7 +27818,7 @@
"isHttpMetadata": false
},
{
- "$id": "2503",
+ "$id": "2544",
"kind": "property",
"name": "model",
"serializedName": "model",
@@ -27383,13 +27846,13 @@
"isHttpMetadata": false
},
{
- "$id": "2504",
+ "$id": "2545",
"kind": "property",
"name": "language",
"serializedName": "language",
"doc": "The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency.",
"type": {
- "$id": "2505",
+ "$id": "2546",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27415,13 +27878,13 @@
"isHttpMetadata": false
},
{
- "$id": "2506",
+ "$id": "2547",
"kind": "property",
"name": "prompt",
"serializedName": "prompt",
"doc": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should match the audio language.",
"type": {
- "$id": "2507",
+ "$id": "2548",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27447,7 +27910,7 @@
"isHttpMetadata": false
},
{
- "$id": "2508",
+ "$id": "2549",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
@@ -27474,18 +27937,18 @@
"isHttpMetadata": false
},
{
- "$id": "2509",
+ "$id": "2550",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.",
"type": {
- "$id": "2510",
+ "$id": "2551",
"kind": "float32",
"name": "ZeroOrOneFloat",
"crossLanguageDefinitionId": "OpenAI.ZeroOrOneFloat",
"baseType": {
- "$id": "2511",
+ "$id": "2552",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27513,13 +27976,13 @@
"isHttpMetadata": false
},
{
- "$id": "2512",
+ "$id": "2553",
"kind": "property",
"name": "include[]",
"serializedName": "include[]",
"doc": "Additional information to include in the transcription response.\n`logprobs` will return the log probabilities of the tokens in the\nresponse to understand the model's confidence in the transcription.\n`logprobs` only works with response_format set to `json` and only with\nthe models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`.",
"type": {
- "$id": "2513",
+ "$id": "2554",
"kind": "array",
"name": "ArrayTranscriptionInclude",
"valueType": {
@@ -27548,13 +28011,13 @@
"isHttpMetadata": false
},
{
- "$id": "2514",
+ "$id": "2555",
"kind": "property",
"name": "timestamp_granularities[]",
"serializedName": "timestamp_granularities[]",
"doc": "The timestamp granularities to populate for this transcription. `response_format` must be set `verbose_json` to use timestamp granularities. Either or both of these options are supported: `word`, or `segment`. Note: There is no additional latency for segment timestamps, but generating word timestamps incurs additional latency.",
"type": {
- "$id": "2515",
+ "$id": "2556",
"kind": "array",
"name": "Array2",
"valueType": {
@@ -27583,16 +28046,16 @@
"isHttpMetadata": false
},
{
- "$id": "2516",
+ "$id": "2557",
"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 of the Speech-to-Text guide](/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)\nfor more information.\n\nNote: Streaming is not supported for the `whisper-1` model and will be ignored.",
"type": {
- "$id": "2517",
+ "$id": "2558",
"kind": "nullable",
"type": {
- "$id": "2518",
+ "$id": "2559",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -27620,16 +28083,16 @@
"isHttpMetadata": false
},
{
- "$id": "2519",
+ "$id": "2560",
"kind": "property",
"name": "chunking_strategy",
"serializedName": "chunking_strategy",
"doc": "Controls how the audio is cut into chunks. When set to `\"auto\"`, the server first normalizes loudness and then uses voice activity detection (VAD) to choose boundaries. `server_vad` object can be provided to tweak VAD detection parameters manually. If unset, the audio is transcribed as a single block.",
"type": {
- "$id": "2520",
+ "$id": "2561",
"kind": "nullable",
"type": {
- "$id": "2521",
+ "$id": "2562",
"kind": "model",
"name": "VadConfig",
"namespace": "OpenAI",
@@ -27638,12 +28101,12 @@
"decorators": [],
"properties": [
{
- "$id": "2522",
+ "$id": "2563",
"kind": "property",
"name": "type",
"doc": "Must be set to `server_vad` to enable manual chunking using server side VAD.",
"type": {
- "$ref": "1477"
+ "$ref": "1517"
},
"optional": false,
"readOnly": false,
@@ -27655,12 +28118,12 @@
"isHttpMetadata": false
},
{
- "$id": "2523",
+ "$id": "2564",
"kind": "property",
"name": "prefix_padding_ms",
"doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds).",
"type": {
- "$id": "2524",
+ "$id": "2565",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -27676,12 +28139,12 @@
"isHttpMetadata": false
},
{
- "$id": "2525",
+ "$id": "2566",
"kind": "property",
"name": "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": "2526",
+ "$id": "2567",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -27697,12 +28160,12 @@
"isHttpMetadata": false
},
{
- "$id": "2527",
+ "$id": "2568",
"kind": "property",
"name": "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": "2528",
+ "$id": "2569",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27743,10 +28206,10 @@
]
},
{
- "$ref": "2521"
+ "$ref": "2562"
},
{
- "$id": "2529",
+ "$id": "2570",
"kind": "model",
"name": "CreateTranscriptionResponseVerboseJson",
"namespace": "OpenAI",
@@ -27756,13 +28219,13 @@
"decorators": [],
"properties": [
{
- "$id": "2530",
+ "$id": "2571",
"kind": "property",
"name": "task",
"serializedName": "task",
"doc": "The task label.",
"type": {
- "$ref": "1479"
+ "$ref": "1519"
},
"optional": false,
"readOnly": false,
@@ -27778,13 +28241,13 @@
"isHttpMetadata": false
},
{
- "$id": "2531",
+ "$id": "2572",
"kind": "property",
"name": "language",
"serializedName": "language",
"doc": "The language of the input audio.",
"type": {
- "$id": "2532",
+ "$id": "2573",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27804,18 +28267,18 @@
"isHttpMetadata": false
},
{
- "$id": "2533",
+ "$id": "2574",
"kind": "property",
"name": "duration",
"serializedName": "duration",
"doc": "The duration of the input audio.",
"type": {
- "$id": "2534",
+ "$id": "2575",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "2535",
+ "$id": "2576",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27838,13 +28301,13 @@
"isHttpMetadata": false
},
{
- "$id": "2536",
+ "$id": "2577",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The transcribed text.",
"type": {
- "$id": "2537",
+ "$id": "2578",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27864,17 +28327,17 @@
"isHttpMetadata": false
},
{
- "$id": "2538",
+ "$id": "2579",
"kind": "property",
"name": "words",
"serializedName": "words",
"doc": "Extracted words and their corresponding timestamps.",
"type": {
- "$id": "2539",
+ "$id": "2580",
"kind": "array",
"name": "ArrayTranscriptionWord",
"valueType": {
- "$id": "2540",
+ "$id": "2581",
"kind": "model",
"name": "TranscriptionWord",
"namespace": "OpenAI",
@@ -27883,13 +28346,13 @@
"decorators": [],
"properties": [
{
- "$id": "2541",
+ "$id": "2582",
"kind": "property",
"name": "word",
"serializedName": "word",
"doc": "The text content of the word.",
"type": {
- "$id": "2542",
+ "$id": "2583",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -27909,18 +28372,18 @@
"isHttpMetadata": false
},
{
- "$id": "2543",
+ "$id": "2584",
"kind": "property",
"name": "start",
"serializedName": "start",
"doc": "Start time of the word in seconds.",
"type": {
- "$id": "2544",
+ "$id": "2585",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "2545",
+ "$id": "2586",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27943,18 +28406,18 @@
"isHttpMetadata": false
},
{
- "$id": "2546",
+ "$id": "2587",
"kind": "property",
"name": "end",
"serializedName": "end",
"doc": "End time of the word in seconds.",
"type": {
- "$id": "2547",
+ "$id": "2588",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "2548",
+ "$id": "2589",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -27995,17 +28458,17 @@
"isHttpMetadata": false
},
{
- "$id": "2549",
+ "$id": "2590",
"kind": "property",
"name": "segments",
"serializedName": "segments",
"doc": "Segments of the transcribed text and their corresponding details.",
"type": {
- "$id": "2550",
+ "$id": "2591",
"kind": "array",
"name": "ArrayTranscriptionSegment",
"valueType": {
- "$id": "2551",
+ "$id": "2592",
"kind": "model",
"name": "TranscriptionSegment",
"namespace": "OpenAI",
@@ -28014,13 +28477,13 @@
"decorators": [],
"properties": [
{
- "$id": "2552",
+ "$id": "2593",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier of the segment.",
"type": {
- "$id": "2553",
+ "$id": "2594",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -28040,13 +28503,13 @@
"isHttpMetadata": false
},
{
- "$id": "2554",
+ "$id": "2595",
"kind": "property",
"name": "seek",
"serializedName": "seek",
"doc": "Seek offset of the segment.",
"type": {
- "$id": "2555",
+ "$id": "2596",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -28066,18 +28529,18 @@
"isHttpMetadata": false
},
{
- "$id": "2556",
+ "$id": "2597",
"kind": "property",
"name": "start",
"serializedName": "start",
"doc": "Start time of the segment in seconds.",
"type": {
- "$id": "2557",
+ "$id": "2598",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "2558",
+ "$id": "2599",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28100,18 +28563,18 @@
"isHttpMetadata": false
},
{
- "$id": "2559",
+ "$id": "2600",
"kind": "property",
"name": "end",
"serializedName": "end",
"doc": "End time of the segment in seconds.",
"type": {
- "$id": "2560",
+ "$id": "2601",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "2561",
+ "$id": "2602",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28134,13 +28597,13 @@
"isHttpMetadata": false
},
{
- "$id": "2562",
+ "$id": "2603",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "Text content of the segment.",
"type": {
- "$id": "2563",
+ "$id": "2604",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28160,17 +28623,17 @@
"isHttpMetadata": false
},
{
- "$id": "2564",
+ "$id": "2605",
"kind": "property",
"name": "tokens",
"serializedName": "tokens",
"doc": "Array of token IDs for the text content.",
"type": {
- "$id": "2565",
+ "$id": "2606",
"kind": "array",
"name": "Array3",
"valueType": {
- "$id": "2566",
+ "$id": "2607",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -28193,13 +28656,13 @@
"isHttpMetadata": false
},
{
- "$id": "2567",
+ "$id": "2608",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "Temperature parameter used for generating the segment.",
"type": {
- "$id": "2568",
+ "$id": "2609",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28219,13 +28682,13 @@
"isHttpMetadata": false
},
{
- "$id": "2569",
+ "$id": "2610",
"kind": "property",
"name": "avg_logprob",
"serializedName": "avg_logprob",
"doc": "Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.",
"type": {
- "$id": "2570",
+ "$id": "2611",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28245,13 +28708,13 @@
"isHttpMetadata": false
},
{
- "$id": "2571",
+ "$id": "2612",
"kind": "property",
"name": "compression_ratio",
"serializedName": "compression_ratio",
"doc": "Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.",
"type": {
- "$id": "2572",
+ "$id": "2613",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28271,13 +28734,13 @@
"isHttpMetadata": false
},
{
- "$id": "2573",
+ "$id": "2614",
"kind": "property",
"name": "no_speech_prob",
"serializedName": "no_speech_prob",
"doc": "Probability of no speech in the segment. If the value is higher than 1.0 and the `avg_logprob` is below -1, consider this segment silent.",
"type": {
- "$id": "2574",
+ "$id": "2615",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28317,13 +28780,13 @@
]
},
{
- "$ref": "2540"
+ "$ref": "2581"
},
{
- "$ref": "2551"
+ "$ref": "2592"
},
{
- "$id": "2575",
+ "$id": "2616",
"kind": "model",
"name": "CreateTranscriptionResponseJson",
"namespace": "OpenAI",
@@ -28333,13 +28796,13 @@
"decorators": [],
"properties": [
{
- "$id": "2576",
+ "$id": "2617",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The transcribed text.",
"type": {
- "$id": "2577",
+ "$id": "2618",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28359,17 +28822,17 @@
"isHttpMetadata": false
},
{
- "$id": "2578",
+ "$id": "2619",
"kind": "property",
"name": "logprobs",
"serializedName": "logprobs",
"doc": "The log probabilities of the tokens in the transcription. Only returned with the models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added to the `include` array.",
"type": {
- "$id": "2579",
+ "$id": "2620",
"kind": "array",
"name": "Array4",
"valueType": {
- "$id": "2580",
+ "$id": "2621",
"kind": "model",
"name": "CreateTranscriptionResponseJsonLogprob",
"namespace": "OpenAI",
@@ -28378,13 +28841,13 @@
"decorators": [],
"properties": [
{
- "$id": "2581",
+ "$id": "2622",
"kind": "property",
"name": "token",
"serializedName": "token",
"doc": "The token in the transcription.",
"type": {
- "$id": "2582",
+ "$id": "2623",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28404,13 +28867,13 @@
"isHttpMetadata": false
},
{
- "$id": "2583",
+ "$id": "2624",
"kind": "property",
"name": "logprob",
"serializedName": "logprob",
"doc": "The log probability of the token.",
"type": {
- "$id": "2584",
+ "$id": "2625",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28430,17 +28893,17 @@
"isHttpMetadata": false
},
{
- "$id": "2585",
+ "$id": "2626",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "The bytes of the token.",
"type": {
- "$id": "2586",
+ "$id": "2627",
"kind": "array",
"name": "Array5",
"valueType": {
- "$id": "2587",
+ "$id": "2628",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28483,10 +28946,10 @@
]
},
{
- "$ref": "2580"
+ "$ref": "2621"
},
{
- "$id": "2588",
+ "$id": "2629",
"kind": "model",
"name": "CreateTranscriptionResponseStreamEvent",
"namespace": "OpenAI",
@@ -28494,7 +28957,7 @@
"usage": "Output",
"decorators": [],
"discriminatorProperty": {
- "$id": "2589",
+ "$id": "2630",
"kind": "property",
"name": "type",
"type": {
@@ -28511,12 +28974,12 @@
},
"properties": [
{
- "$ref": "2589"
+ "$ref": "2630"
}
],
"discriminatedSubtypes": {
"transcript.text.delta": {
- "$id": "2590",
+ "$id": "2631",
"kind": "model",
"name": "TranscriptTextDeltaEvent",
"namespace": "OpenAI",
@@ -28526,16 +28989,75 @@
"discriminatorValue": "transcript.text.delta",
"decorators": [],
"baseModel": {
- "$ref": "2588"
+ "$ref": "2629"
},
"properties": [
{
- "$id": "2591",
+ "$id": "2632",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `transcript.text.delta`.",
"type": {
- "$ref": "110"
+ "$id": "2633",
+ "kind": "enumvalue",
+ "name": "transcript_text_delta",
+ "value": "transcript.text.delta",
+ "valueType": {
+ "$ref": "109"
+ },
+ "enumType": {
+ "$id": "2634",
+ "kind": "enum",
+ "decorators": [],
+ "name": "CreateTranscriptionResponseStreamEventType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "2635",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "2636",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "transcript_text_delta",
+ "value": "transcript.text.delta",
+ "valueType": {
+ "$ref": "2635"
+ },
+ "enumType": {
+ "$ref": "2634"
+ }
+ },
+ {
+ "$id": "2637",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "transcript_text_done",
+ "value": "transcript.text.done",
+ "valueType": {
+ "$ref": "2635"
+ },
+ "enumType": {
+ "$ref": "2634"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.CreateTranscriptionResponseStreamEventType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -28547,12 +29069,12 @@
"isHttpMetadata": false
},
{
- "$id": "2592",
+ "$id": "2638",
"kind": "property",
"name": "delta",
"doc": "The text delta that was additionally transcribed.",
"type": {
- "$id": "2593",
+ "$id": "2639",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28568,16 +29090,16 @@
"isHttpMetadata": false
},
{
- "$id": "2594",
+ "$id": "2640",
"kind": "property",
"name": "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": "2595",
+ "$id": "2641",
"kind": "array",
"name": "Array6",
"valueType": {
- "$id": "2596",
+ "$id": "2642",
"kind": "model",
"name": "TranscriptTextDeltaEventLogprob",
"namespace": "OpenAI",
@@ -28586,12 +29108,12 @@
"decorators": [],
"properties": [
{
- "$id": "2597",
+ "$id": "2643",
"kind": "property",
"name": "token",
"doc": "The token that was used to generate the log probability.",
"type": {
- "$id": "2598",
+ "$id": "2644",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28607,12 +29129,12 @@
"isHttpMetadata": false
},
{
- "$id": "2599",
+ "$id": "2645",
"kind": "property",
"name": "logprob",
"doc": "The log probability of the token.",
"type": {
- "$id": "2600",
+ "$id": "2646",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28628,12 +29150,12 @@
"isHttpMetadata": false
},
{
- "$id": "2601",
+ "$id": "2647",
"kind": "property",
"name": "bytes",
"doc": "The bytes that were used to generate the log probability.",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": true,
"readOnly": false,
@@ -28661,7 +29183,7 @@
]
},
"transcript.text.done": {
- "$id": "2602",
+ "$id": "2648",
"kind": "model",
"name": "TranscriptTextDoneEvent",
"namespace": "OpenAI",
@@ -28671,16 +29193,26 @@
"discriminatorValue": "transcript.text.done",
"decorators": [],
"baseModel": {
- "$ref": "2588"
+ "$ref": "2629"
},
"properties": [
{
- "$id": "2603",
+ "$id": "2649",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `transcript.text.done`.",
"type": {
- "$ref": "111"
+ "$id": "2650",
+ "kind": "enumvalue",
+ "name": "transcript_text_done",
+ "value": "transcript.text.done",
+ "valueType": {
+ "$ref": "109"
+ },
+ "enumType": {
+ "$ref": "2634"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -28692,12 +29224,12 @@
"isHttpMetadata": false
},
{
- "$id": "2604",
+ "$id": "2651",
"kind": "property",
"name": "text",
"doc": "The text that was transcribed.",
"type": {
- "$id": "2605",
+ "$id": "2652",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28713,16 +29245,16 @@
"isHttpMetadata": false
},
{
- "$id": "2606",
+ "$id": "2653",
"kind": "property",
"name": "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": "2607",
+ "$id": "2654",
"kind": "array",
"name": "Array7",
"valueType": {
- "$id": "2608",
+ "$id": "2655",
"kind": "model",
"name": "TranscriptTextDoneEventLogprob",
"namespace": "OpenAI",
@@ -28731,12 +29263,12 @@
"decorators": [],
"properties": [
{
- "$id": "2609",
+ "$id": "2656",
"kind": "property",
"name": "token",
"doc": "The token that was used to generate the log probability.",
"type": {
- "$id": "2610",
+ "$id": "2657",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28752,12 +29284,12 @@
"isHttpMetadata": false
},
{
- "$id": "2611",
+ "$id": "2658",
"kind": "property",
"name": "logprob",
"doc": "The log probability of the token.",
"type": {
- "$id": "2612",
+ "$id": "2659",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28773,12 +29305,12 @@
"isHttpMetadata": false
},
{
- "$id": "2613",
+ "$id": "2660",
"kind": "property",
"name": "bytes",
"doc": "The bytes that were used to generate the log probability.",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": true,
"readOnly": false,
@@ -28808,19 +29340,19 @@
}
},
{
- "$ref": "2590"
+ "$ref": "2631"
},
{
- "$ref": "2596"
+ "$ref": "2642"
},
{
- "$ref": "2602"
+ "$ref": "2648"
},
{
- "$ref": "2608"
+ "$ref": "2655"
},
{
- "$id": "2614",
+ "$id": "2661",
"kind": "model",
"name": "CreateTranslationRequest",
"namespace": "OpenAI",
@@ -28829,13 +29361,13 @@
"decorators": [],
"properties": [
{
- "$id": "2615",
+ "$id": "2662",
"kind": "property",
"name": "file",
"serializedName": "file",
"doc": "The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.",
"type": {
- "$id": "2616",
+ "$id": "2663",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -28862,7 +29394,7 @@
"isHttpMetadata": false
},
{
- "$id": "2617",
+ "$id": "2664",
"kind": "property",
"name": "model",
"serializedName": "model",
@@ -28890,13 +29422,13 @@
"isHttpMetadata": false
},
{
- "$id": "2618",
+ "$id": "2665",
"kind": "property",
"name": "prompt",
"serializedName": "prompt",
"doc": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should be in English.",
"type": {
- "$id": "2619",
+ "$id": "2666",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -28922,7 +29454,7 @@
"isHttpMetadata": false
},
{
- "$id": "2620",
+ "$id": "2667",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
@@ -28950,18 +29482,18 @@
"isHttpMetadata": false
},
{
- "$id": "2621",
+ "$id": "2668",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.",
"type": {
- "$id": "2622",
+ "$id": "2669",
"kind": "float32",
"name": "ZeroOrOneFloat",
"crossLanguageDefinitionId": "OpenAI.ZeroOrOneFloat",
"baseType": {
- "$id": "2623",
+ "$id": "2670",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -28991,7 +29523,7 @@
]
},
{
- "$id": "2624",
+ "$id": "2671",
"kind": "model",
"name": "CreateTranslationResponseVerboseJson",
"namespace": "OpenAI",
@@ -29000,13 +29532,13 @@
"decorators": [],
"properties": [
{
- "$id": "2625",
+ "$id": "2672",
"kind": "property",
"name": "task",
"serializedName": "task",
"doc": "The task label.",
"type": {
- "$ref": "1481"
+ "$ref": "1521"
},
"optional": false,
"readOnly": false,
@@ -29022,13 +29554,13 @@
"isHttpMetadata": false
},
{
- "$id": "2626",
+ "$id": "2673",
"kind": "property",
"name": "language",
"serializedName": "language",
"doc": "The language of the output translation (always `english`).",
"type": {
- "$id": "2627",
+ "$id": "2674",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29048,18 +29580,18 @@
"isHttpMetadata": false
},
{
- "$id": "2628",
+ "$id": "2675",
"kind": "property",
"name": "duration",
"serializedName": "duration",
"doc": "The duration of the input audio.",
"type": {
- "$id": "2629",
+ "$id": "2676",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "2630",
+ "$id": "2677",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -29082,13 +29614,13 @@
"isHttpMetadata": false
},
{
- "$id": "2631",
+ "$id": "2678",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The translated text.",
"type": {
- "$id": "2632",
+ "$id": "2679",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29108,13 +29640,13 @@
"isHttpMetadata": false
},
{
- "$id": "2633",
+ "$id": "2680",
"kind": "property",
"name": "segments",
"serializedName": "segments",
"doc": "Segments of the translated text and their corresponding details.",
"type": {
- "$ref": "2550"
+ "$ref": "2591"
},
"optional": true,
"readOnly": true,
@@ -29132,7 +29664,7 @@
]
},
{
- "$id": "2634",
+ "$id": "2681",
"kind": "model",
"name": "CreateTranslationResponseJson",
"namespace": "OpenAI",
@@ -29141,12 +29673,12 @@
"decorators": [],
"properties": [
{
- "$id": "2635",
+ "$id": "2682",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "2636",
+ "$id": "2683",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29168,7 +29700,7 @@
]
},
{
- "$id": "2637",
+ "$id": "2684",
"kind": "model",
"name": "CreateBatchRequest",
"namespace": "",
@@ -29177,13 +29709,13 @@
"decorators": [],
"properties": [
{
- "$id": "2638",
+ "$id": "2685",
"kind": "property",
"name": "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": "2639",
+ "$id": "2686",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29203,7 +29735,7 @@
"isHttpMetadata": false
},
{
- "$id": "2640",
+ "$id": "2687",
"kind": "property",
"name": "endpoint",
"serializedName": "endpoint",
@@ -29225,13 +29757,13 @@
"isHttpMetadata": false
},
{
- "$id": "2641",
+ "$id": "2688",
"kind": "property",
"name": "completion_window",
"serializedName": "completion_window",
"doc": "The time frame within which the batch should be processed. Currently only `24h` is supported.",
"type": {
- "$ref": "1483"
+ "$ref": "1523"
},
"optional": false,
"readOnly": false,
@@ -29247,13 +29779,13 @@
"isHttpMetadata": false
},
{
- "$id": "2642",
+ "$id": "2689",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -29271,7 +29803,7 @@
]
},
{
- "$id": "2643",
+ "$id": "2690",
"kind": "model",
"name": "Batch",
"namespace": "OpenAI",
@@ -29280,12 +29812,12 @@
"decorators": [],
"properties": [
{
- "$id": "2644",
+ "$id": "2691",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "2645",
+ "$id": "2692",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29305,13 +29837,13 @@
"isHttpMetadata": false
},
{
- "$id": "2646",
+ "$id": "2693",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `batch`.",
"type": {
- "$ref": "1485"
+ "$ref": "1525"
},
"optional": false,
"readOnly": false,
@@ -29327,13 +29859,13 @@
"isHttpMetadata": false
},
{
- "$id": "2647",
+ "$id": "2694",
"kind": "property",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "The OpenAI API endpoint used by the batch.",
"type": {
- "$id": "2648",
+ "$id": "2695",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29353,12 +29885,12 @@
"isHttpMetadata": false
},
{
- "$id": "2649",
+ "$id": "2696",
"kind": "property",
"name": "errors",
"serializedName": "errors",
"type": {
- "$id": "2650",
+ "$id": "2697",
"kind": "model",
"name": "BatchErrors",
"namespace": "OpenAI",
@@ -29367,13 +29899,13 @@
"decorators": [],
"properties": [
{
- "$id": "2651",
+ "$id": "2698",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `list`.",
"type": {
- "$ref": "1487"
+ "$ref": "126"
},
"optional": true,
"readOnly": false,
@@ -29389,16 +29921,16 @@
"isHttpMetadata": false
},
{
- "$id": "2652",
+ "$id": "2699",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "2653",
+ "$id": "2700",
"kind": "array",
"name": "Array8",
"valueType": {
- "$id": "2654",
+ "$id": "2701",
"kind": "model",
"name": "BatchErrorsDatum",
"namespace": "OpenAI",
@@ -29407,13 +29939,13 @@
"decorators": [],
"properties": [
{
- "$id": "2655",
+ "$id": "2702",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "An error code identifying the error type.",
"type": {
- "$id": "2656",
+ "$id": "2703",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29433,13 +29965,13 @@
"isHttpMetadata": false
},
{
- "$id": "2657",
+ "$id": "2704",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable message providing more details about the error.",
"type": {
- "$id": "2658",
+ "$id": "2705",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29459,16 +29991,16 @@
"isHttpMetadata": false
},
{
- "$id": "2659",
+ "$id": "2706",
"kind": "property",
"name": "param",
"serializedName": "param",
"doc": "The name of the parameter that caused the error, if applicable.",
"type": {
- "$id": "2660",
+ "$id": "2707",
"kind": "nullable",
"type": {
- "$id": "2661",
+ "$id": "2708",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29490,16 +30022,16 @@
"isHttpMetadata": false
},
{
- "$id": "2662",
+ "$id": "2709",
"kind": "property",
"name": "line",
"serializedName": "line",
"doc": "The line number of the input file where the error occurred, if applicable.",
"type": {
- "$id": "2663",
+ "$id": "2710",
"kind": "nullable",
"type": {
- "$id": "2664",
+ "$id": "2711",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29554,13 +30086,13 @@
"isHttpMetadata": false
},
{
- "$id": "2665",
+ "$id": "2712",
"kind": "property",
"name": "input_file_id",
"serializedName": "input_file_id",
"doc": "The ID of the input file for the batch.",
"type": {
- "$id": "2666",
+ "$id": "2713",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29580,13 +30112,13 @@
"isHttpMetadata": false
},
{
- "$id": "2667",
+ "$id": "2714",
"kind": "property",
"name": "completion_window",
"serializedName": "completion_window",
"doc": "The time frame within which the batch should be processed.",
"type": {
- "$id": "2668",
+ "$id": "2715",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29606,13 +30138,13 @@
"isHttpMetadata": false
},
{
- "$id": "2669",
+ "$id": "2716",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The current status of the batch.",
"type": {
- "$ref": "126"
+ "$ref": "130"
},
"optional": false,
"readOnly": false,
@@ -29628,13 +30160,13 @@
"isHttpMetadata": false
},
{
- "$id": "2670",
+ "$id": "2717",
"kind": "property",
"name": "output_file_id",
"serializedName": "output_file_id",
"doc": "The ID of the file containing the outputs of successfully executed requests.",
"type": {
- "$id": "2671",
+ "$id": "2718",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29654,13 +30186,13 @@
"isHttpMetadata": false
},
{
- "$id": "2672",
+ "$id": "2719",
"kind": "property",
"name": "error_file_id",
"serializedName": "error_file_id",
"doc": "The ID of the file containing the outputs of requests with errors.",
"type": {
- "$id": "2673",
+ "$id": "2720",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -29680,18 +30212,18 @@
"isHttpMetadata": false
},
{
- "$id": "2674",
+ "$id": "2721",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the batch was created.",
"type": {
- "$id": "2675",
+ "$id": "2722",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2676",
+ "$id": "2723",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29714,18 +30246,18 @@
"isHttpMetadata": false
},
{
- "$id": "2677",
+ "$id": "2724",
"kind": "property",
"name": "in_progress_at",
"serializedName": "in_progress_at",
"doc": "The Unix timestamp (in seconds) for when the batch started processing.",
"type": {
- "$id": "2678",
+ "$id": "2725",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2679",
+ "$id": "2726",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29748,18 +30280,18 @@
"isHttpMetadata": false
},
{
- "$id": "2680",
+ "$id": "2727",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "The Unix timestamp (in seconds) for when the batch will expire.",
"type": {
- "$id": "2681",
+ "$id": "2728",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2682",
+ "$id": "2729",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29782,18 +30314,18 @@
"isHttpMetadata": false
},
{
- "$id": "2683",
+ "$id": "2730",
"kind": "property",
"name": "finalizing_at",
"serializedName": "finalizing_at",
"doc": "The Unix timestamp (in seconds) for when the batch started finalizing.",
"type": {
- "$id": "2684",
+ "$id": "2731",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2685",
+ "$id": "2732",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29816,18 +30348,18 @@
"isHttpMetadata": false
},
{
- "$id": "2686",
+ "$id": "2733",
"kind": "property",
"name": "completed_at",
"serializedName": "completed_at",
"doc": "The Unix timestamp (in seconds) for when the batch was completed.",
"type": {
- "$id": "2687",
+ "$id": "2734",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2688",
+ "$id": "2735",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29850,18 +30382,18 @@
"isHttpMetadata": false
},
{
- "$id": "2689",
+ "$id": "2736",
"kind": "property",
"name": "failed_at",
"serializedName": "failed_at",
"doc": "The Unix timestamp (in seconds) for when the batch failed.",
"type": {
- "$id": "2690",
+ "$id": "2737",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2691",
+ "$id": "2738",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29884,18 +30416,18 @@
"isHttpMetadata": false
},
{
- "$id": "2692",
+ "$id": "2739",
"kind": "property",
"name": "expired_at",
"serializedName": "expired_at",
"doc": "The Unix timestamp (in seconds) for when the batch expired.",
"type": {
- "$id": "2693",
+ "$id": "2740",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2694",
+ "$id": "2741",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29918,18 +30450,18 @@
"isHttpMetadata": false
},
{
- "$id": "2695",
+ "$id": "2742",
"kind": "property",
"name": "cancelling_at",
"serializedName": "cancelling_at",
"doc": "The Unix timestamp (in seconds) for when the batch started cancelling.",
"type": {
- "$id": "2696",
+ "$id": "2743",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2697",
+ "$id": "2744",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29952,18 +30484,18 @@
"isHttpMetadata": false
},
{
- "$id": "2698",
+ "$id": "2745",
"kind": "property",
"name": "cancelled_at",
"serializedName": "cancelled_at",
"doc": "The Unix timestamp (in seconds) for when the batch was cancelled.",
"type": {
- "$id": "2699",
+ "$id": "2746",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2700",
+ "$id": "2747",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -29986,13 +30518,13 @@
"isHttpMetadata": false
},
{
- "$id": "2701",
+ "$id": "2748",
"kind": "property",
"name": "request_counts",
"serializedName": "request_counts",
"doc": "The request counts for different statuses within the batch.",
"type": {
- "$id": "2702",
+ "$id": "2749",
"kind": "model",
"name": "BatchRequestCounts",
"namespace": "OpenAI",
@@ -30001,13 +30533,13 @@
"decorators": [],
"properties": [
{
- "$id": "2703",
+ "$id": "2750",
"kind": "property",
"name": "total",
"serializedName": "total",
"doc": "Total number of requests in the batch.",
"type": {
- "$id": "2704",
+ "$id": "2751",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -30027,13 +30559,13 @@
"isHttpMetadata": false
},
{
- "$id": "2705",
+ "$id": "2752",
"kind": "property",
"name": "completed",
"serializedName": "completed",
"doc": "Number of requests that have been completed successfully.",
"type": {
- "$id": "2706",
+ "$id": "2753",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -30053,13 +30585,13 @@
"isHttpMetadata": false
},
{
- "$id": "2707",
+ "$id": "2754",
"kind": "property",
"name": "failed",
"serializedName": "failed",
"doc": "Number of requests that have failed.",
"type": {
- "$id": "2708",
+ "$id": "2755",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -30094,13 +30626,13 @@
"isHttpMetadata": false
},
{
- "$id": "2709",
+ "$id": "2756",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -30118,16 +30650,16 @@
]
},
{
- "$ref": "2650"
+ "$ref": "2697"
},
{
- "$ref": "2654"
+ "$ref": "2701"
},
{
- "$ref": "2702"
+ "$ref": "2749"
},
{
- "$id": "2710",
+ "$id": "2757",
"kind": "model",
"name": "ListBatchesResponse",
"namespace": "OpenAI",
@@ -30136,16 +30668,16 @@
"decorators": [],
"properties": [
{
- "$id": "2711",
+ "$id": "2758",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "2712",
+ "$id": "2759",
"kind": "array",
"name": "ArrayBatch",
"valueType": {
- "$ref": "2643"
+ "$ref": "2690"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -30164,12 +30696,12 @@
"isHttpMetadata": false
},
{
- "$id": "2713",
+ "$id": "2760",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "2714",
+ "$id": "2761",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30189,12 +30721,12 @@
"isHttpMetadata": false
},
{
- "$id": "2715",
+ "$id": "2762",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "2716",
+ "$id": "2763",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30214,12 +30746,12 @@
"isHttpMetadata": false
},
{
- "$id": "2717",
+ "$id": "2764",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "2718",
+ "$id": "2765",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -30239,12 +30771,12 @@
"isHttpMetadata": false
},
{
- "$id": "2719",
+ "$id": "2766",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1489"
+ "$ref": "1527"
},
"optional": false,
"readOnly": false,
@@ -30262,7 +30794,7 @@
]
},
{
- "$id": "2720",
+ "$id": "2767",
"kind": "model",
"name": "ChatCompletionList",
"namespace": "OpenAI",
@@ -30272,13 +30804,13 @@
"decorators": [],
"properties": [
{
- "$id": "2721",
+ "$id": "2768",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of this object. It is always set to \"list\".",
"type": {
- "$ref": "1491"
+ "$ref": "1529"
},
"optional": false,
"readOnly": false,
@@ -30294,17 +30826,17 @@
"isHttpMetadata": false
},
{
- "$id": "2722",
+ "$id": "2769",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "An array of chat completion objects.",
"type": {
- "$id": "2723",
+ "$id": "2770",
"kind": "array",
"name": "ArrayCreateChatCompletionResponse",
"valueType": {
- "$id": "2724",
+ "$id": "2771",
"kind": "model",
"name": "CreateChatCompletionResponse",
"namespace": "OpenAI",
@@ -30314,13 +30846,13 @@
"decorators": [],
"properties": [
{
- "$id": "2725",
+ "$id": "2772",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "A unique identifier for the chat completion.",
"type": {
- "$id": "2726",
+ "$id": "2773",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30340,17 +30872,17 @@
"isHttpMetadata": false
},
{
- "$id": "2727",
+ "$id": "2774",
"kind": "property",
"name": "choices",
"serializedName": "choices",
"doc": "A list of chat completion choices. Can be more than one if `n` is greater than 1.",
"type": {
- "$id": "2728",
+ "$id": "2775",
"kind": "array",
"name": "Array9",
"valueType": {
- "$id": "2729",
+ "$id": "2776",
"kind": "model",
"name": "CreateChatCompletionResponseChoice",
"namespace": "OpenAI",
@@ -30359,13 +30891,13 @@
"decorators": [],
"properties": [
{
- "$id": "2730",
+ "$id": "2777",
"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": {
- "$ref": "136"
+ "$ref": "140"
},
"optional": false,
"readOnly": false,
@@ -30381,13 +30913,13 @@
"isHttpMetadata": false
},
{
- "$id": "2731",
+ "$id": "2778",
"kind": "property",
"name": "index",
"serializedName": "index",
"doc": "The index of the choice in the list of choices.",
"type": {
- "$id": "2732",
+ "$id": "2779",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -30407,12 +30939,12 @@
"isHttpMetadata": false
},
{
- "$id": "2733",
+ "$id": "2780",
"kind": "property",
"name": "message",
"serializedName": "message",
"type": {
- "$id": "2734",
+ "$id": "2781",
"kind": "model",
"name": "ChatCompletionResponseMessage",
"namespace": "OpenAI",
@@ -30422,16 +30954,16 @@
"decorators": [],
"properties": [
{
- "$id": "2735",
+ "$id": "2782",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the message.",
"type": {
- "$id": "2736",
+ "$id": "2783",
"kind": "nullable",
"type": {
- "$id": "2737",
+ "$id": "2784",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30453,16 +30985,16 @@
"isHttpMetadata": false
},
{
- "$id": "2738",
+ "$id": "2785",
"kind": "property",
"name": "refusal",
"serializedName": "refusal",
"doc": "The refusal message generated by the model.",
"type": {
- "$id": "2739",
+ "$id": "2786",
"kind": "nullable",
"type": {
- "$id": "2740",
+ "$id": "2787",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30484,16 +31016,16 @@
"isHttpMetadata": false
},
{
- "$id": "2741",
+ "$id": "2788",
"kind": "property",
"name": "tool_calls",
"serializedName": "tool_calls",
"type": {
- "$id": "2742",
+ "$id": "2789",
"kind": "array",
"name": "ChatCompletionMessageToolCalls",
"valueType": {
- "$id": "2743",
+ "$id": "2790",
"kind": "model",
"name": "ChatCompletionMessageToolCall",
"namespace": "OpenAI",
@@ -30502,13 +31034,13 @@
"decorators": [],
"properties": [
{
- "$id": "2744",
+ "$id": "2791",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The ID of the tool call.",
"type": {
- "$id": "2745",
+ "$id": "2792",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30528,21 +31060,57 @@
"isHttpMetadata": false
},
{
- "$id": "2746",
+ "$id": "2793",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the tool. Currently, only `function` is supported.",
"type": {
- "$id": "2747",
+ "$id": "2794",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "144"
+ "$ref": "1407"
},
"enumType": {
- "$ref": "143"
+ "$id": "2795",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ChatToolCallKind",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "2796",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "2797",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "enumType": {
+ "$ref": "2795"
+ },
+ "valueType": {
+ "$ref": "2796"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ChatToolCallKind",
+ "apiVersions": [],
+ "isUnionAsEnum": false,
+ "__accessSet": true
},
"decorators": []
},
@@ -30560,13 +31128,13 @@
"isHttpMetadata": false
},
{
- "$id": "2748",
+ "$id": "2798",
"kind": "property",
"name": "function",
"serializedName": "function",
"doc": "The function that the model called.",
"type": {
- "$id": "2749",
+ "$id": "2799",
"kind": "model",
"name": "ChatCompletionMessageToolCallFunction",
"namespace": "OpenAI",
@@ -30575,13 +31143,13 @@
"decorators": [],
"properties": [
{
- "$id": "2750",
+ "$id": "2800",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "2751",
+ "$id": "2801",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30601,13 +31169,13 @@
"isHttpMetadata": false
},
{
- "$id": "2752",
+ "$id": "2802",
"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": "2753",
+ "$id": "2803",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30660,17 +31228,17 @@
"isHttpMetadata": false
},
{
- "$id": "2754",
+ "$id": "2804",
"kind": "property",
"name": "annotations",
"serializedName": "annotations",
"doc": "Annotations for the message, when applicable, as when using the\n[web search tool](/docs/guides/tools-web-search?api-mode=chat).",
"type": {
- "$id": "2755",
+ "$id": "2805",
"kind": "array",
"name": "Array10",
"valueType": {
- "$id": "2756",
+ "$id": "2806",
"kind": "model",
"name": "ChatCompletionResponseMessageAnnotation",
"namespace": "OpenAI",
@@ -30679,13 +31247,13 @@
"decorators": [],
"properties": [
{
- "$id": "2757",
+ "$id": "2807",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the URL citation. Always `url_citation`.",
"type": {
- "$ref": "1493"
+ "$ref": "1531"
},
"optional": false,
"readOnly": false,
@@ -30701,13 +31269,13 @@
"isHttpMetadata": false
},
{
- "$id": "2758",
+ "$id": "2808",
"kind": "property",
"name": "url_citation",
"serializedName": "url_citation",
"doc": "A URL citation when using web search.",
"type": {
- "$id": "2759",
+ "$id": "2809",
"kind": "model",
"name": "ChatCompletionResponseMessageAnnotationUrlCitation",
"namespace": "OpenAI",
@@ -30716,13 +31284,13 @@
"decorators": [],
"properties": [
{
- "$id": "2760",
+ "$id": "2810",
"kind": "property",
"name": "end_index",
"serializedName": "end_index",
"doc": "The index of the last character of the URL citation in the message.",
"type": {
- "$id": "2761",
+ "$id": "2811",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -30742,13 +31310,13 @@
"isHttpMetadata": false
},
{
- "$id": "2762",
+ "$id": "2812",
"kind": "property",
"name": "start_index",
"serializedName": "start_index",
"doc": "The index of the first character of the URL citation in the message.",
"type": {
- "$id": "2763",
+ "$id": "2813",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -30768,13 +31336,13 @@
"isHttpMetadata": false
},
{
- "$id": "2764",
+ "$id": "2814",
"kind": "property",
"name": "url",
"serializedName": "url",
"doc": "The URL of the web resource.",
"type": {
- "$id": "2765",
+ "$id": "2815",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -30794,13 +31362,13 @@
"isHttpMetadata": false
},
{
- "$id": "2766",
+ "$id": "2816",
"kind": "property",
"name": "title",
"serializedName": "title",
"doc": "The title of the web resource.",
"type": {
- "$id": "2767",
+ "$id": "2817",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30853,21 +31421,123 @@
"isHttpMetadata": false
},
{
- "$id": "2768",
+ "$id": "2818",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the author of this message.",
"type": {
- "$id": "2769",
+ "$id": "2819",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$id": "2820",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "The role of the author of a message",
+ "name": "ChatCompletionRole",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "2821",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "2822",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "system",
+ "value": "system",
+ "enumType": {
+ "$ref": "2820"
+ },
+ "valueType": {
+ "$ref": "2821"
+ }
+ },
+ {
+ "$id": "2823",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "developer",
+ "value": "developer",
+ "enumType": {
+ "$ref": "2820"
+ },
+ "valueType": {
+ "$ref": "2821"
+ }
+ },
+ {
+ "$id": "2824",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "user",
+ "value": "user",
+ "enumType": {
+ "$ref": "2820"
+ },
+ "valueType": {
+ "$ref": "2821"
+ }
+ },
+ {
+ "$id": "2825",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "assistant",
+ "value": "assistant",
+ "enumType": {
+ "$ref": "2820"
+ },
+ "valueType": {
+ "$ref": "2821"
+ }
+ },
+ {
+ "$id": "2826",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "tool",
+ "value": "tool",
+ "enumType": {
+ "$ref": "2820"
+ },
+ "valueType": {
+ "$ref": "2821"
+ }
+ },
+ {
+ "$id": "2827",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "enumType": {
+ "$ref": "2820"
+ },
+ "valueType": {
+ "$ref": "2821"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ChatCompletionRole",
+ "apiVersions": [],
+ "isUnionAsEnum": false,
+ "__accessSet": true
},
"decorators": []
},
@@ -30885,13 +31555,13 @@
"isHttpMetadata": false
},
{
- "$id": "2770",
+ "$id": "2828",
"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": "2771",
+ "$id": "2829",
"kind": "model",
"name": "ChatCompletionResponseMessageFunctionCall",
"namespace": "OpenAI",
@@ -30900,12 +31570,12 @@
"decorators": [],
"properties": [
{
- "$id": "2772",
+ "$id": "2830",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "2773",
+ "$id": "2831",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30925,12 +31595,12 @@
"isHttpMetadata": false
},
{
- "$id": "2774",
+ "$id": "2832",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"type": {
- "$id": "2775",
+ "$id": "2833",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -30965,16 +31635,16 @@
"isHttpMetadata": false
},
{
- "$id": "2776",
+ "$id": "2834",
"kind": "property",
"name": "audio",
"serializedName": "audio",
"doc": "If the audio output modality is requested, this object contains data\nabout the audio response from the model. [Learn more](/docs/guides/audio).",
"type": {
- "$id": "2777",
+ "$id": "2835",
"kind": "nullable",
"type": {
- "$id": "2778",
+ "$id": "2836",
"kind": "model",
"name": "ChatCompletionResponseMessageAudio1",
"namespace": "OpenAI",
@@ -30983,13 +31653,13 @@
"decorators": [],
"properties": [
{
- "$id": "2779",
+ "$id": "2837",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for this audio response.",
"type": {
- "$id": "2780",
+ "$id": "2838",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31009,18 +31679,18 @@
"isHttpMetadata": false
},
{
- "$id": "2781",
+ "$id": "2839",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "The Unix timestamp (in seconds) for when this audio response will\nno longer be accessible on the server for use in multi-turn\nconversations.",
"type": {
- "$id": "2782",
+ "$id": "2840",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2783",
+ "$id": "2841",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31043,13 +31713,13 @@
"isHttpMetadata": false
},
{
- "$id": "2784",
+ "$id": "2842",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "Base64 encoded audio bytes generated by the model, in the format\nspecified in the request.",
"type": {
- "$id": "2785",
+ "$id": "2843",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -31070,13 +31740,13 @@
"isHttpMetadata": false
},
{
- "$id": "2786",
+ "$id": "2844",
"kind": "property",
"name": "transcript",
"serializedName": "transcript",
"doc": "Transcript of the audio generated by the model.",
"type": {
- "$id": "2787",
+ "$id": "2845",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31128,16 +31798,16 @@
"isHttpMetadata": false
},
{
- "$id": "2788",
+ "$id": "2846",
"kind": "property",
"name": "logprobs",
"serializedName": "logprobs",
"doc": "Log probability information for the choice.",
"type": {
- "$id": "2789",
+ "$id": "2847",
"kind": "nullable",
"type": {
- "$id": "2790",
+ "$id": "2848",
"kind": "model",
"name": "CreateChatCompletionResponseChoiceLogprobs1",
"namespace": "OpenAI",
@@ -31146,20 +31816,20 @@
"decorators": [],
"properties": [
{
- "$id": "2791",
+ "$id": "2849",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "A list of message content tokens with log probability information.",
"type": {
- "$id": "2792",
+ "$id": "2850",
"kind": "nullable",
"type": {
- "$id": "2793",
+ "$id": "2851",
"kind": "array",
"name": "ArrayChatCompletionTokenLogprob",
"valueType": {
- "$id": "2794",
+ "$id": "2852",
"kind": "model",
"name": "ChatCompletionTokenLogprob",
"namespace": "OpenAI",
@@ -31168,13 +31838,13 @@
"decorators": [],
"properties": [
{
- "$id": "2795",
+ "$id": "2853",
"kind": "property",
"name": "token",
"serializedName": "token",
"doc": "The token.",
"type": {
- "$id": "2796",
+ "$id": "2854",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31194,13 +31864,13 @@
"isHttpMetadata": false
},
{
- "$id": "2797",
+ "$id": "2855",
"kind": "property",
"name": "logprob",
"serializedName": "logprob",
"doc": "The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999.0` is used to signify that the token is very unlikely.",
"type": {
- "$id": "2798",
+ "$id": "2856",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -31220,16 +31890,16 @@
"isHttpMetadata": false
},
{
- "$id": "2799",
+ "$id": "2857",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "A list of integers representing the UTF-8 bytes representation of the token. Useful in instances where characters are represented by multiple tokens and their byte representations must be combined to generate the correct text representation. Can be `null` if there is no bytes representation for the token.",
"type": {
- "$id": "2800",
+ "$id": "2858",
"kind": "nullable",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"namespace": "OpenAI"
},
@@ -31247,17 +31917,17 @@
"isHttpMetadata": false
},
{
- "$id": "2801",
+ "$id": "2859",
"kind": "property",
"name": "top_logprobs",
"serializedName": "top_logprobs",
"doc": "List of the most likely tokens and their log probability, at this token position. In rare cases, there may be fewer than the number of requested `top_logprobs` returned.",
"type": {
- "$id": "2802",
+ "$id": "2860",
"kind": "array",
"name": "Array11",
"valueType": {
- "$id": "2803",
+ "$id": "2861",
"kind": "model",
"name": "ChatCompletionTokenLogprobTopLogprob",
"namespace": "OpenAI",
@@ -31266,13 +31936,13 @@
"decorators": [],
"properties": [
{
- "$id": "2804",
+ "$id": "2862",
"kind": "property",
"name": "token",
"serializedName": "token",
"doc": "The token.",
"type": {
- "$id": "2805",
+ "$id": "2863",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31292,13 +31962,13 @@
"isHttpMetadata": false
},
{
- "$id": "2806",
+ "$id": "2864",
"kind": "property",
"name": "logprob",
"serializedName": "logprob",
"doc": "The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999.0` is used to signify that the token is very unlikely.",
"type": {
- "$id": "2807",
+ "$id": "2865",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -31318,16 +31988,16 @@
"isHttpMetadata": false
},
{
- "$id": "2808",
+ "$id": "2866",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "A list of integers representing the UTF-8 bytes representation of the token. Useful in instances where characters are represented by multiple tokens and their byte representations must be combined to generate the correct text representation. Can be `null` if there is no bytes representation for the token.",
"type": {
- "$id": "2809",
+ "$id": "2867",
"kind": "nullable",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"namespace": "OpenAI"
},
@@ -31383,16 +32053,16 @@
"isHttpMetadata": false
},
{
- "$id": "2810",
+ "$id": "2868",
"kind": "property",
"name": "refusal",
"serializedName": "refusal",
"doc": "A list of message refusal tokens with log probability information.",
"type": {
- "$id": "2811",
+ "$id": "2869",
"kind": "nullable",
"type": {
- "$ref": "2793"
+ "$ref": "2851"
},
"namespace": "OpenAI"
},
@@ -31445,18 +32115,18 @@
"isHttpMetadata": false
},
{
- "$id": "2812",
+ "$id": "2870",
"kind": "property",
"name": "created",
"serializedName": "created",
"doc": "The Unix timestamp (in seconds) of when the chat completion was created.",
"type": {
- "$id": "2813",
+ "$id": "2871",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "2814",
+ "$id": "2872",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31479,13 +32149,13 @@
"isHttpMetadata": false
},
{
- "$id": "2815",
+ "$id": "2873",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model used for the chat completion.",
"type": {
- "$id": "2816",
+ "$id": "2874",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31505,12 +32175,12 @@
"isHttpMetadata": false
},
{
- "$id": "2817",
+ "$id": "2875",
"kind": "property",
"name": "service_tier",
"serializedName": "service_tier",
"type": {
- "$ref": "154"
+ "$ref": "147"
},
"optional": true,
"readOnly": false,
@@ -31526,13 +32196,13 @@
"isHttpMetadata": false
},
{
- "$id": "2818",
+ "$id": "2876",
"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": "2819",
+ "$id": "2877",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31552,13 +32222,13 @@
"isHttpMetadata": false
},
{
- "$id": "2820",
+ "$id": "2878",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `chat.completion`.",
"type": {
- "$ref": "1495"
+ "$ref": "1533"
},
"optional": false,
"readOnly": false,
@@ -31574,12 +32244,12 @@
"isHttpMetadata": false
},
{
- "$id": "2821",
+ "$id": "2879",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"type": {
- "$id": "2822",
+ "$id": "2880",
"kind": "model",
"name": "CompletionUsage",
"namespace": "OpenAI",
@@ -31589,13 +32259,13 @@
"decorators": [],
"properties": [
{
- "$id": "2823",
+ "$id": "2881",
"kind": "property",
"name": "completion_tokens",
"serializedName": "completion_tokens",
"doc": "Number of tokens in the generated completion.",
"type": {
- "$id": "2824",
+ "$id": "2882",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31615,13 +32285,13 @@
"isHttpMetadata": false
},
{
- "$id": "2825",
+ "$id": "2883",
"kind": "property",
"name": "prompt_tokens",
"serializedName": "prompt_tokens",
"doc": "Number of tokens in the prompt.",
"type": {
- "$id": "2826",
+ "$id": "2884",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31641,13 +32311,13 @@
"isHttpMetadata": false
},
{
- "$id": "2827",
+ "$id": "2885",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "Total number of tokens used in the request (prompt + completion).",
"type": {
- "$id": "2828",
+ "$id": "2886",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31667,13 +32337,13 @@
"isHttpMetadata": false
},
{
- "$id": "2829",
+ "$id": "2887",
"kind": "property",
"name": "completion_tokens_details",
"serializedName": "completion_tokens_details",
"doc": "Breakdown of tokens used in a completion.",
"type": {
- "$id": "2830",
+ "$id": "2888",
"kind": "model",
"name": "CompletionUsageCompletionTokensDetails",
"namespace": "OpenAI",
@@ -31682,13 +32352,13 @@
"decorators": [],
"properties": [
{
- "$id": "2831",
+ "$id": "2889",
"kind": "property",
"name": "accepted_prediction_tokens",
"serializedName": "accepted_prediction_tokens",
"doc": "When using Predicted Outputs, the number of tokens in the\nprediction that appeared in the completion.",
"type": {
- "$id": "2832",
+ "$id": "2890",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31708,13 +32378,13 @@
"isHttpMetadata": false
},
{
- "$id": "2833",
+ "$id": "2891",
"kind": "property",
"name": "audio_tokens",
"serializedName": "audio_tokens",
"doc": "Audio input tokens generated by the model.",
"type": {
- "$id": "2834",
+ "$id": "2892",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31734,13 +32404,13 @@
"isHttpMetadata": false
},
{
- "$id": "2835",
+ "$id": "2893",
"kind": "property",
"name": "reasoning_tokens",
"serializedName": "reasoning_tokens",
"doc": "Tokens generated by the model for reasoning.",
"type": {
- "$id": "2836",
+ "$id": "2894",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31760,13 +32430,13 @@
"isHttpMetadata": false
},
{
- "$id": "2837",
+ "$id": "2895",
"kind": "property",
"name": "rejected_prediction_tokens",
"serializedName": "rejected_prediction_tokens",
"doc": "When using Predicted Outputs, the number of tokens in the\nprediction that did not appear in the completion. However, like\nreasoning tokens, these tokens are still counted in the total\ncompletion tokens for purposes of billing, output, and context window\nlimits.",
"type": {
- "$id": "2838",
+ "$id": "2896",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31801,13 +32471,13 @@
"isHttpMetadata": false
},
{
- "$id": "2839",
+ "$id": "2897",
"kind": "property",
"name": "prompt_tokens_details",
"serializedName": "prompt_tokens_details",
"doc": "Breakdown of tokens used in the prompt.",
"type": {
- "$id": "2840",
+ "$id": "2898",
"kind": "model",
"name": "CompletionUsagePromptTokensDetails",
"namespace": "OpenAI",
@@ -31816,13 +32486,13 @@
"decorators": [],
"properties": [
{
- "$id": "2841",
+ "$id": "2899",
"kind": "property",
"name": "audio_tokens",
"serializedName": "audio_tokens",
"doc": "Audio input tokens present in the prompt.",
"type": {
- "$id": "2842",
+ "$id": "2900",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31842,13 +32512,13 @@
"isHttpMetadata": false
},
{
- "$id": "2843",
+ "$id": "2901",
"kind": "property",
"name": "cached_tokens",
"serializedName": "cached_tokens",
"doc": "Cached tokens present in the prompt.",
"type": {
- "$id": "2844",
+ "$id": "2902",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -31916,13 +32586,13 @@
"isHttpMetadata": false
},
{
- "$id": "2845",
+ "$id": "2903",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The identifier of the first chat completion in the data array.",
"type": {
- "$id": "2846",
+ "$id": "2904",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31942,13 +32612,13 @@
"isHttpMetadata": false
},
{
- "$id": "2847",
+ "$id": "2905",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The identifier of the last chat completion in the data array.",
"type": {
- "$id": "2848",
+ "$id": "2906",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -31968,13 +32638,13 @@
"isHttpMetadata": false
},
{
- "$id": "2849",
+ "$id": "2907",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Indicates whether there are more Chat Completions available.",
"type": {
- "$id": "2850",
+ "$id": "2908",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -31996,52 +32666,52 @@
]
},
{
- "$ref": "2724"
+ "$ref": "2771"
},
{
- "$ref": "2729"
+ "$ref": "2776"
},
{
- "$ref": "2734"
+ "$ref": "2781"
},
{
- "$ref": "2743"
+ "$ref": "2790"
},
{
- "$ref": "2749"
+ "$ref": "2799"
},
{
- "$ref": "2756"
+ "$ref": "2806"
},
{
- "$ref": "2759"
+ "$ref": "2809"
},
{
- "$ref": "2771"
+ "$ref": "2829"
},
{
- "$ref": "2778"
+ "$ref": "2836"
},
{
- "$ref": "2790"
+ "$ref": "2848"
},
{
- "$ref": "2794"
+ "$ref": "2852"
},
{
- "$ref": "2803"
+ "$ref": "2861"
},
{
- "$ref": "2822"
+ "$ref": "2880"
},
{
- "$ref": "2830"
+ "$ref": "2888"
},
{
- "$ref": "2840"
+ "$ref": "2898"
},
{
- "$id": "2851",
+ "$id": "2909",
"kind": "model",
"name": "CreateChatCompletionRequest",
"namespace": "OpenAI",
@@ -32050,13 +32720,13 @@
"decorators": [],
"properties": [
{
- "$id": "2852",
+ "$id": "2910",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -32072,16 +32742,16 @@
"isHttpMetadata": false
},
{
- "$id": "2853",
+ "$id": "2911",
"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": "2854",
+ "$id": "2912",
"kind": "nullable",
"type": {
- "$id": "2855",
+ "$id": "2913",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -32103,16 +32773,16 @@
"isHttpMetadata": false
},
{
- "$id": "2856",
+ "$id": "2914",
"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": "2857",
+ "$id": "2915",
"kind": "nullable",
"type": {
- "$id": "2858",
+ "$id": "2916",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -32134,13 +32804,13 @@
"isHttpMetadata": false
},
{
- "$id": "2859",
+ "$id": "2917",
"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": "2860",
+ "$id": "2918",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -32160,12 +32830,12 @@
"isHttpMetadata": false
},
{
- "$id": "2861",
+ "$id": "2919",
"kind": "property",
"name": "service_tier",
"serializedName": "service_tier",
"type": {
- "$ref": "154"
+ "$ref": "147"
},
"optional": true,
"readOnly": false,
@@ -32181,17 +32851,17 @@
"isHttpMetadata": false
},
{
- "$id": "2862",
+ "$id": "2920",
"kind": "property",
"name": "messages",
"serializedName": "messages",
"doc": "A list of messages comprising the conversation so far. Depending on the\n[model](/docs/models) you use, different message types (modalities) are\nsupported, like [text](/docs/guides/text-generation),\n[images](/docs/guides/vision), and [audio](/docs/guides/audio).",
"type": {
- "$id": "2863",
+ "$id": "2921",
"kind": "array",
"name": "ArrayChatCompletionRequestMessage",
"valueType": {
- "$id": "2864",
+ "$id": "2922",
"kind": "model",
"name": "ChatCompletionRequestMessage",
"namespace": "OpenAI",
@@ -32199,13 +32869,13 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "2865",
+ "$id": "2923",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the author of this message.",
"type": {
- "$ref": "146"
+ "$ref": "153"
},
"optional": false,
"readOnly": false,
@@ -32222,35 +32892,35 @@
},
"properties": [
{
- "$ref": "2865"
+ "$ref": "2923"
},
{
- "$id": "2866",
+ "$id": "2924",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content of the message. Valid content part types vary per message role.",
"type": {
- "$id": "2867",
+ "$id": "2925",
"kind": "nullable",
"type": {
- "$id": "2868",
+ "$id": "2926",
"kind": "union",
"name": "ChatCompletionRequestMessageContent",
"variantTypes": [
{
- "$id": "2869",
+ "$id": "2927",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "2870",
+ "$id": "2928",
"kind": "array",
"name": "ArrayChatCompletionRequestMessageContentPart",
"valueType": {
- "$id": "2871",
+ "$id": "2929",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPart",
"namespace": "OpenAI",
@@ -32258,12 +32928,12 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "2872",
+ "$id": "2930",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "160"
+ "$ref": "161"
},
"optional": false,
"readOnly": false,
@@ -32280,12 +32950,12 @@
},
"properties": [
{
- "$ref": "2872"
+ "$ref": "2930"
}
],
"discriminatedSubtypes": {
"text": {
- "$id": "2873",
+ "$id": "2931",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartText",
"namespace": "OpenAI",
@@ -32295,17 +32965,115 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$ref": "2871"
+ "$ref": "2929"
},
"properties": [
{
- "$id": "2874",
+ "$id": "2932",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the content part.",
"type": {
- "$ref": "162"
+ "$id": "2933",
+ "kind": "enumvalue",
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "162"
+ },
+ "enumType": {
+ "$id": "2934",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ChatCompletionRequestMessageContentPartType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "2935",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "2936",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "2935"
+ },
+ "enumType": {
+ "$ref": "2934"
+ }
+ },
+ {
+ "$id": "2937",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file",
+ "value": "file",
+ "valueType": {
+ "$ref": "2935"
+ },
+ "enumType": {
+ "$ref": "2934"
+ }
+ },
+ {
+ "$id": "2938",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio",
+ "value": "input_audio",
+ "valueType": {
+ "$ref": "2935"
+ },
+ "enumType": {
+ "$ref": "2934"
+ }
+ },
+ {
+ "$id": "2939",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "image_url",
+ "value": "image_url",
+ "valueType": {
+ "$ref": "2935"
+ },
+ "enumType": {
+ "$ref": "2934"
+ }
+ },
+ {
+ "$id": "2940",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "refusal",
+ "value": "refusal",
+ "valueType": {
+ "$ref": "2935"
+ },
+ "enumType": {
+ "$ref": "2934"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ChatCompletionRequestMessageContentPartType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -32321,13 +33089,13 @@
"isHttpMetadata": false
},
{
- "$id": "2875",
+ "$id": "2941",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text content.",
"type": {
- "$id": "2876",
+ "$id": "2942",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -32349,7 +33117,7 @@
]
},
"image_url": {
- "$id": "2877",
+ "$id": "2943",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartImage",
"namespace": "OpenAI",
@@ -32359,17 +33127,27 @@
"discriminatorValue": "image_url",
"decorators": [],
"baseModel": {
- "$ref": "2871"
+ "$ref": "2929"
},
"properties": [
{
- "$id": "2878",
+ "$id": "2944",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the content part.",
"type": {
- "$ref": "165"
+ "$id": "2945",
+ "kind": "enumvalue",
+ "name": "image_url",
+ "value": "image_url",
+ "valueType": {
+ "$ref": "162"
+ },
+ "enumType": {
+ "$ref": "2934"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -32385,12 +33163,12 @@
"isHttpMetadata": false
},
{
- "$id": "2879",
+ "$id": "2946",
"kind": "property",
"name": "image_url",
"serializedName": "image_url",
"type": {
- "$id": "2880",
+ "$id": "2947",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartImageImageUrl",
"namespace": "OpenAI",
@@ -32399,13 +33177,13 @@
"decorators": [],
"properties": [
{
- "$id": "2881",
+ "$id": "2948",
"kind": "property",
"name": "url",
"serializedName": "url",
"doc": "Either a URL of the image or the base64 encoded image data.",
"type": {
- "$id": "2882",
+ "$id": "2949",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -32425,13 +33203,13 @@
"isHttpMetadata": false
},
{
- "$id": "2883",
+ "$id": "2950",
"kind": "property",
"name": "detail",
"serializedName": "detail",
"doc": "Specifies the detail level of the image. Learn more in the [Vision guide](/docs/guides/vision#low-or-high-fidelity-image-understanding).",
"type": {
- "$ref": "167"
+ "$ref": "168"
},
"optional": true,
"readOnly": false,
@@ -32464,7 +33242,7 @@
]
},
"refusal": {
- "$id": "2884",
+ "$id": "2951",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartRefusal",
"namespace": "OpenAI",
@@ -32473,17 +33251,27 @@
"discriminatorValue": "refusal",
"decorators": [],
"baseModel": {
- "$ref": "2871"
+ "$ref": "2929"
},
"properties": [
{
- "$id": "2885",
+ "$id": "2952",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the content part.",
"type": {
- "$ref": "166"
+ "$id": "2953",
+ "kind": "enumvalue",
+ "name": "refusal",
+ "value": "refusal",
+ "valueType": {
+ "$ref": "162"
+ },
+ "enumType": {
+ "$ref": "2934"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -32499,13 +33287,13 @@
"isHttpMetadata": false
},
{
- "$id": "2886",
+ "$id": "2954",
"kind": "property",
"name": "refusal",
"serializedName": "refusal",
"doc": "The refusal message generated by the model.",
"type": {
- "$id": "2887",
+ "$id": "2955",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -32527,7 +33315,7 @@
]
},
"file": {
- "$id": "2888",
+ "$id": "2956",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartFile",
"namespace": "OpenAI",
@@ -32537,17 +33325,27 @@
"discriminatorValue": "file",
"decorators": [],
"baseModel": {
- "$ref": "2871"
+ "$ref": "2929"
},
"properties": [
{
- "$id": "2889",
+ "$id": "2957",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the content part. Always `file`.",
"type": {
- "$ref": "163"
+ "$id": "2958",
+ "kind": "enumvalue",
+ "name": "file",
+ "value": "file",
+ "valueType": {
+ "$ref": "162"
+ },
+ "enumType": {
+ "$ref": "2934"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -32563,12 +33361,12 @@
"isHttpMetadata": false
},
{
- "$id": "2890",
+ "$id": "2959",
"kind": "property",
"name": "file",
"serializedName": "file",
"type": {
- "$id": "2891",
+ "$id": "2960",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartFileFile",
"namespace": "OpenAI",
@@ -32577,13 +33375,13 @@
"decorators": [],
"properties": [
{
- "$id": "2892",
+ "$id": "2961",
"kind": "property",
"name": "filename",
"serializedName": "filename",
"doc": "The name of the file, used when passing the file to the model as a\nstring.",
"type": {
- "$id": "2893",
+ "$id": "2962",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -32603,13 +33401,13 @@
"isHttpMetadata": false
},
{
- "$id": "2894",
+ "$id": "2963",
"kind": "property",
"name": "file_data",
"serializedName": "file_data",
"doc": "The base64 encoded file data, used when passing the file to the model\nas a string.",
"type": {
- "$id": "2895",
+ "$id": "2964",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -32629,13 +33427,13 @@
"isHttpMetadata": false
},
{
- "$id": "2896",
+ "$id": "2965",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of an uploaded file to use as input.",
"type": {
- "$id": "2897",
+ "$id": "2966",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -32672,7 +33470,7 @@
]
},
"input_audio": {
- "$id": "2898",
+ "$id": "2967",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartAudio",
"namespace": "OpenAI",
@@ -32682,17 +33480,27 @@
"discriminatorValue": "input_audio",
"decorators": [],
"baseModel": {
- "$ref": "2871"
+ "$ref": "2929"
},
"properties": [
{
- "$id": "2899",
+ "$id": "2968",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the content part. Always `input_audio`.",
"type": {
- "$ref": "164"
+ "$id": "2969",
+ "kind": "enumvalue",
+ "name": "input_audio",
+ "value": "input_audio",
+ "valueType": {
+ "$ref": "162"
+ },
+ "enumType": {
+ "$ref": "2934"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -32708,12 +33516,12 @@
"isHttpMetadata": false
},
{
- "$id": "2900",
+ "$id": "2970",
"kind": "property",
"name": "input_audio",
"serializedName": "input_audio",
"type": {
- "$id": "2901",
+ "$id": "2971",
"kind": "model",
"name": "ChatCompletionRequestMessageContentPartAudioInputAudio",
"namespace": "OpenAI",
@@ -32722,13 +33530,13 @@
"decorators": [],
"properties": [
{
- "$id": "2902",
+ "$id": "2972",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "Base64 encoded audio data.",
"type": {
- "$id": "2903",
+ "$id": "2973",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -32749,13 +33557,13 @@
"isHttpMetadata": false
},
{
- "$id": "2904",
+ "$id": "2974",
"kind": "property",
"name": "format",
"serializedName": "format",
"doc": "The format of the encoded audio data. Currently supports \"wav\" and \"mp3\".",
"type": {
- "$ref": "172"
+ "$ref": "173"
},
"optional": false,
"readOnly": false,
@@ -32814,7 +33622,7 @@
],
"discriminatedSubtypes": {
"system": {
- "$id": "2905",
+ "$id": "2975",
"kind": "model",
"name": "ChatCompletionRequestSystemMessage",
"namespace": "OpenAI",
@@ -32824,38 +33632,38 @@
"discriminatorValue": "system",
"decorators": [],
"baseModel": {
- "$ref": "2864"
+ "$ref": "2922"
},
"properties": [
{
- "$id": "2906",
+ "$id": "2976",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the system message.",
"type": {
- "$id": "2907",
+ "$id": "2977",
"kind": "union",
"name": "ChatCompletionRequestSystemMessageContent",
"variantTypes": [
{
- "$id": "2908",
+ "$id": "2978",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "2909",
+ "$id": "2979",
"kind": "array",
"name": "ArrayChatCompletionRequestSystemMessageContentPart",
"valueType": {
- "$id": "2910",
+ "$id": "2980",
"kind": "union",
"name": "ChatCompletionRequestSystemMessageContentPart",
"variantTypes": [
{
- "$ref": "2873"
+ "$ref": "2931"
}
],
"namespace": "OpenAI",
@@ -32882,21 +33690,21 @@
"isHttpMetadata": false
},
{
- "$id": "2911",
+ "$id": "2981",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the messages author, in this case `system`.",
"type": {
- "$id": "2912",
+ "$id": "2982",
"kind": "enumvalue",
"name": "system",
"value": "system",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -32914,13 +33722,13 @@
"isHttpMetadata": false
},
{
- "$id": "2913",
+ "$id": "2983",
"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": "2914",
+ "$id": "2984",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -32942,7 +33750,7 @@
]
},
"developer": {
- "$id": "2915",
+ "$id": "2985",
"kind": "model",
"name": "ChatCompletionRequestDeveloperMessage",
"namespace": "OpenAI",
@@ -32952,33 +33760,33 @@
"discriminatorValue": "developer",
"decorators": [],
"baseModel": {
- "$ref": "2864"
+ "$ref": "2922"
},
"properties": [
{
- "$id": "2916",
+ "$id": "2986",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the developer message.",
"type": {
- "$id": "2917",
+ "$id": "2987",
"kind": "union",
"name": "ChatCompletionRequestDeveloperMessageContent",
"variantTypes": [
{
- "$id": "2918",
+ "$id": "2988",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "2919",
+ "$id": "2989",
"kind": "array",
"name": "ArrayChatCompletionRequestMessageContentPartText",
"valueType": {
- "$ref": "2873"
+ "$ref": "2931"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -33001,21 +33809,21 @@
"isHttpMetadata": false
},
{
- "$id": "2920",
+ "$id": "2990",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the messages author, in this case `developer`.",
"type": {
- "$id": "2921",
+ "$id": "2991",
"kind": "enumvalue",
"name": "developer",
"value": "developer",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -33033,13 +33841,13 @@
"isHttpMetadata": false
},
{
- "$id": "2922",
+ "$id": "2992",
"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": "2923",
+ "$id": "2993",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33061,7 +33869,7 @@
]
},
"user": {
- "$id": "2924",
+ "$id": "2994",
"kind": "model",
"name": "ChatCompletionRequestUserMessage",
"namespace": "OpenAI",
@@ -33071,47 +33879,47 @@
"discriminatorValue": "user",
"decorators": [],
"baseModel": {
- "$ref": "2864"
+ "$ref": "2922"
},
"properties": [
{
- "$id": "2925",
+ "$id": "2995",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the user message.",
"type": {
- "$id": "2926",
+ "$id": "2996",
"kind": "union",
"name": "ChatCompletionRequestUserMessageContent",
"variantTypes": [
{
- "$id": "2927",
+ "$id": "2997",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "2928",
+ "$id": "2998",
"kind": "array",
"name": "ArrayChatCompletionRequestUserMessageContentPart",
"valueType": {
- "$id": "2929",
+ "$id": "2999",
"kind": "union",
"name": "ChatCompletionRequestUserMessageContentPart",
"variantTypes": [
{
- "$ref": "2873"
+ "$ref": "2931"
},
{
- "$ref": "2877"
+ "$ref": "2943"
},
{
- "$ref": "2898"
+ "$ref": "2967"
},
{
- "$ref": "2888"
+ "$ref": "2956"
}
],
"namespace": "OpenAI",
@@ -33138,21 +33946,21 @@
"isHttpMetadata": false
},
{
- "$id": "2930",
+ "$id": "3000",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the messages author, in this case `user`.",
"type": {
- "$id": "2931",
+ "$id": "3001",
"kind": "enumvalue",
"name": "user",
"value": "user",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -33170,13 +33978,13 @@
"isHttpMetadata": false
},
{
- "$id": "2932",
+ "$id": "3002",
"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": "2933",
+ "$id": "3003",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33198,7 +34006,7 @@
]
},
"assistant": {
- "$id": "2934",
+ "$id": "3004",
"kind": "model",
"name": "ChatCompletionRequestAssistantMessage",
"namespace": "OpenAI",
@@ -33208,44 +34016,44 @@
"discriminatorValue": "assistant",
"decorators": [],
"baseModel": {
- "$ref": "2864"
+ "$ref": "2922"
},
"properties": [
{
- "$id": "2935",
+ "$id": "3005",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.",
"type": {
- "$id": "2936",
+ "$id": "3006",
"kind": "nullable",
"type": {
- "$id": "2937",
+ "$id": "3007",
"kind": "union",
"name": "ChatCompletionRequestAssistantMessageContent",
"variantTypes": [
{
- "$id": "2938",
+ "$id": "3008",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "2939",
+ "$id": "3009",
"kind": "array",
"name": "ArrayChatCompletionRequestAssistantMessageContentPart",
"valueType": {
- "$id": "2940",
+ "$id": "3010",
"kind": "union",
"name": "ChatCompletionRequestAssistantMessageContentPart",
"variantTypes": [
{
- "$ref": "2873"
+ "$ref": "2931"
},
{
- "$ref": "2884"
+ "$ref": "2951"
}
],
"namespace": "OpenAI",
@@ -33274,16 +34082,16 @@
"isHttpMetadata": false
},
{
- "$id": "2941",
+ "$id": "3011",
"kind": "property",
"name": "refusal",
"serializedName": "refusal",
"doc": "The refusal message by the assistant.",
"type": {
- "$id": "2942",
+ "$id": "3012",
"kind": "nullable",
"type": {
- "$id": "2943",
+ "$id": "3013",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33305,21 +34113,21 @@
"isHttpMetadata": false
},
{
- "$id": "2944",
+ "$id": "3014",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the messages author, in this case `assistant`.",
"type": {
- "$id": "2945",
+ "$id": "3015",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -33337,13 +34145,13 @@
"isHttpMetadata": false
},
{
- "$id": "2946",
+ "$id": "3016",
"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": "2947",
+ "$id": "3017",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33363,16 +34171,16 @@
"isHttpMetadata": false
},
{
- "$id": "2948",
+ "$id": "3018",
"kind": "property",
"name": "audio",
"serializedName": "audio",
"doc": "Data about a previous audio response from the model.\n[Learn more](/docs/guides/audio).",
"type": {
- "$id": "2949",
+ "$id": "3019",
"kind": "nullable",
"type": {
- "$id": "2950",
+ "$id": "3020",
"kind": "model",
"name": "ChatCompletionRequestAssistantMessageAudio1",
"namespace": "OpenAI",
@@ -33381,13 +34189,13 @@
"decorators": [],
"properties": [
{
- "$id": "2951",
+ "$id": "3021",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for a previous audio response from the model.",
"type": {
- "$id": "2952",
+ "$id": "3022",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33424,12 +34232,12 @@
"isHttpMetadata": false
},
{
- "$id": "2953",
+ "$id": "3023",
"kind": "property",
"name": "tool_calls",
"serializedName": "tool_calls",
"type": {
- "$ref": "2742"
+ "$ref": "2789"
},
"optional": true,
"readOnly": false,
@@ -33445,16 +34253,16 @@
"isHttpMetadata": false
},
{
- "$id": "2954",
+ "$id": "3024",
"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": "2955",
+ "$id": "3025",
"kind": "nullable",
"type": {
- "$id": "2956",
+ "$id": "3026",
"kind": "model",
"name": "ChatCompletionRequestAssistantMessageFunctionCall1",
"namespace": "OpenAI",
@@ -33463,12 +34271,12 @@
"decorators": [],
"properties": [
{
- "$id": "2957",
+ "$id": "3027",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "2958",
+ "$id": "3028",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33488,12 +34296,12 @@
"isHttpMetadata": false
},
{
- "$id": "2959",
+ "$id": "3029",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"type": {
- "$id": "2960",
+ "$id": "3030",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33532,7 +34340,7 @@
]
},
"tool": {
- "$id": "2961",
+ "$id": "3031",
"kind": "model",
"name": "ChatCompletionRequestToolMessage",
"namespace": "OpenAI",
@@ -33541,25 +34349,25 @@
"discriminatorValue": "tool",
"decorators": [],
"baseModel": {
- "$ref": "2864"
+ "$ref": "2922"
},
"properties": [
{
- "$id": "2962",
+ "$id": "3032",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the messages author, in this case `tool`.",
"type": {
- "$id": "2963",
+ "$id": "3033",
"kind": "enumvalue",
"name": "tool",
"value": "tool",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -33577,34 +34385,34 @@
"isHttpMetadata": false
},
{
- "$id": "2964",
+ "$id": "3034",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the tool message.",
"type": {
- "$id": "2965",
+ "$id": "3035",
"kind": "union",
"name": "ChatCompletionRequestToolMessageContent",
"variantTypes": [
{
- "$id": "2966",
+ "$id": "3036",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "2967",
+ "$id": "3037",
"kind": "array",
"name": "ArrayChatCompletionRequestToolMessageContentPart",
"valueType": {
- "$id": "2968",
+ "$id": "3038",
"kind": "union",
"name": "ChatCompletionRequestToolMessageContentPart",
"variantTypes": [
{
- "$ref": "2873"
+ "$ref": "2931"
}
],
"namespace": "OpenAI",
@@ -33631,13 +34439,13 @@
"isHttpMetadata": false
},
{
- "$id": "2969",
+ "$id": "3039",
"kind": "property",
"name": "tool_call_id",
"serializedName": "tool_call_id",
"doc": "Tool call that this message is responding to.",
"type": {
- "$id": "2970",
+ "$id": "3040",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33659,7 +34467,7 @@
]
},
"function": {
- "$id": "2971",
+ "$id": "3041",
"kind": "model",
"name": "ChatCompletionRequestFunctionMessage",
"namespace": "OpenAI",
@@ -33669,25 +34477,25 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "2864"
+ "$ref": "2922"
},
"properties": [
{
- "$id": "2972",
+ "$id": "3042",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the messages author, in this case `function`.",
"type": {
- "$id": "2973",
+ "$id": "3043",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -33705,16 +34513,16 @@
"isHttpMetadata": false
},
{
- "$id": "2974",
+ "$id": "3044",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the function message.",
"type": {
- "$id": "2975",
+ "$id": "3045",
"kind": "nullable",
"type": {
- "$id": "2976",
+ "$id": "3046",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33736,13 +34544,13 @@
"isHttpMetadata": false
},
{
- "$id": "2977",
+ "$id": "3047",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "2978",
+ "$id": "3048",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -33782,13 +34590,13 @@
"isHttpMetadata": false
},
{
- "$id": "2979",
+ "$id": "3049",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI\noffers a wide range of models with different capabilities, performance\ncharacteristics, and price points. Refer to the [model guide](/docs/models)\nto browse and compare available models.",
"type": {
- "$ref": "176"
+ "$ref": "177"
},
"optional": false,
"readOnly": false,
@@ -33804,19 +34612,19 @@
"isHttpMetadata": false
},
{
- "$id": "2980",
+ "$id": "3050",
"kind": "property",
"name": "modalities",
"serializedName": "modalities",
"type": {
- "$id": "2981",
+ "$id": "3051",
"kind": "nullable",
"type": {
- "$id": "2982",
+ "$id": "3052",
"kind": "array",
"name": "ResponseModalities",
"valueType": {
- "$ref": "233"
+ "$ref": "234"
},
"crossLanguageDefinitionId": "OpenAI.ResponseModalities",
"decorators": []
@@ -33837,12 +34645,12 @@
"isHttpMetadata": false
},
{
- "$id": "2983",
+ "$id": "3053",
"kind": "property",
"name": "reasoning_effort",
"serializedName": "reasoning_effort",
"type": {
- "$id": "2984",
+ "$id": "3054",
"kind": "nullable",
"type": {
"$ref": "53"
@@ -33863,16 +34671,16 @@
"isHttpMetadata": false
},
{
- "$id": "2985",
+ "$id": "3055",
"kind": "property",
"name": "max_completion_tokens",
"serializedName": "max_completion_tokens",
"doc": "An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).",
"type": {
- "$id": "2986",
+ "$id": "3056",
"kind": "nullable",
"type": {
- "$id": "2987",
+ "$id": "3057",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -33894,16 +34702,16 @@
"isHttpMetadata": false
},
{
- "$id": "2988",
+ "$id": "3058",
"kind": "property",
"name": "frequency_penalty",
"serializedName": "frequency_penalty",
"doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on\ntheir existing frequency in the text so far, decreasing the model's\nlikelihood to repeat the same line verbatim.",
"type": {
- "$id": "2989",
+ "$id": "3059",
"kind": "nullable",
"type": {
- "$id": "2990",
+ "$id": "3060",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -33925,16 +34733,16 @@
"isHttpMetadata": false
},
{
- "$id": "2991",
+ "$id": "3061",
"kind": "property",
"name": "presence_penalty",
"serializedName": "presence_penalty",
"doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on\nwhether they appear in the text so far, increasing the model's likelihood\nto talk about new topics.",
"type": {
- "$id": "2992",
+ "$id": "3062",
"kind": "nullable",
"type": {
- "$id": "2993",
+ "$id": "3063",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -33956,13 +34764,13 @@
"isHttpMetadata": false
},
{
- "$id": "2994",
+ "$id": "3064",
"kind": "property",
"name": "web_search_options",
"serializedName": "web_search_options",
"doc": "This tool searches the web for relevant results to use in a response.\nLearn more about the [web search tool](/docs/guides/tools-web-search?api-mode=chat).",
"type": {
- "$id": "2995",
+ "$id": "3065",
"kind": "model",
"name": "CreateChatCompletionRequestWebSearchOptions",
"namespace": "OpenAI",
@@ -33971,16 +34779,16 @@
"decorators": [],
"properties": [
{
- "$id": "2996",
+ "$id": "3066",
"kind": "property",
"name": "user_location",
"serializedName": "user_location",
"doc": "Approximate location parameters for the search.",
"type": {
- "$id": "2997",
+ "$id": "3067",
"kind": "nullable",
"type": {
- "$id": "2998",
+ "$id": "3068",
"kind": "model",
"name": "CreateChatCompletionRequestWebSearchOptionsUserLocation1",
"namespace": "OpenAI",
@@ -33989,13 +34797,13 @@
"decorators": [],
"properties": [
{
- "$id": "2999",
+ "$id": "3069",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of location approximation. Always `approximate`.",
"type": {
- "$ref": "1497"
+ "$ref": "1535"
},
"optional": false,
"readOnly": false,
@@ -34011,12 +34819,12 @@
"isHttpMetadata": false
},
{
- "$id": "3000",
+ "$id": "3070",
"kind": "property",
"name": "approximate",
"serializedName": "approximate",
"type": {
- "$id": "3001",
+ "$id": "3071",
"kind": "model",
"name": "WebSearchLocation",
"namespace": "OpenAI",
@@ -34026,13 +34834,13 @@
"decorators": [],
"properties": [
{
- "$id": "3002",
+ "$id": "3072",
"kind": "property",
"name": "country",
"serializedName": "country",
"doc": "The two-letter\n[ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user,\ne.g. `US`.",
"type": {
- "$id": "3003",
+ "$id": "3073",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -34052,13 +34860,13 @@
"isHttpMetadata": false
},
{
- "$id": "3004",
+ "$id": "3074",
"kind": "property",
"name": "region",
"serializedName": "region",
"doc": "Free text input for the region of the user, e.g. `California`.",
"type": {
- "$id": "3005",
+ "$id": "3075",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -34078,13 +34886,13 @@
"isHttpMetadata": false
},
{
- "$id": "3006",
+ "$id": "3076",
"kind": "property",
"name": "city",
"serializedName": "city",
"doc": "Free text input for the city of the user, e.g. `San Francisco`.",
"type": {
- "$id": "3007",
+ "$id": "3077",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -34104,13 +34912,13 @@
"isHttpMetadata": false
},
{
- "$id": "3008",
+ "$id": "3078",
"kind": "property",
"name": "timezone",
"serializedName": "timezone",
"doc": "The [IANA timezone](https://timeapi.io/documentation/iana-timezones)\nof the user, e.g. `America/Los_Angeles`.",
"type": {
- "$id": "3009",
+ "$id": "3079",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -34162,12 +34970,12 @@
"isHttpMetadata": false
},
{
- "$id": "3010",
+ "$id": "3080",
"kind": "property",
"name": "search_context_size",
"serializedName": "search_context_size",
"type": {
- "$ref": "237"
+ "$ref": "238"
},
"optional": true,
"readOnly": false,
@@ -34198,16 +35006,16 @@
"isHttpMetadata": false
},
{
- "$id": "3011",
+ "$id": "3081",
"kind": "property",
"name": "top_logprobs",
"serializedName": "top_logprobs",
"doc": "An integer between 0 and 20 specifying the number of most likely tokens to\nreturn at each token position, each with an associated log probability.\n`logprobs` must be set to `true` if this parameter is used.",
"type": {
- "$id": "3012",
+ "$id": "3082",
"kind": "nullable",
"type": {
- "$id": "3013",
+ "$id": "3083",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -34229,13 +35037,13 @@
"isHttpMetadata": false
},
{
- "$id": "3014",
+ "$id": "3084",
"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": {
- "$ref": "2365"
+ "$ref": "2393"
},
"optional": true,
"readOnly": false,
@@ -34251,16 +35059,16 @@
"isHttpMetadata": false
},
{
- "$id": "3015",
+ "$id": "3085",
"kind": "property",
"name": "audio",
"serializedName": "audio",
"doc": "Parameters for audio output. Required when audio output is requested with\n`modalities: [\"audio\"]`. [Learn more](/docs/guides/audio).",
"type": {
- "$id": "3016",
+ "$id": "3086",
"kind": "nullable",
"type": {
- "$id": "3017",
+ "$id": "3087",
"kind": "model",
"name": "CreateChatCompletionRequestAudio1",
"namespace": "OpenAI",
@@ -34269,7 +35077,7 @@
"decorators": [],
"properties": [
{
- "$id": "3018",
+ "$id": "3088",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -34291,13 +35099,13 @@
"isHttpMetadata": false
},
{
- "$id": "3019",
+ "$id": "3089",
"kind": "property",
"name": "format",
"serializedName": "format",
"doc": "Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`,\n`opus`, or `pcm16`.",
"type": {
- "$ref": "242"
+ "$ref": "243"
},
"optional": false,
"readOnly": false,
@@ -34330,16 +35138,16 @@
"isHttpMetadata": false
},
{
- "$id": "3020",
+ "$id": "3090",
"kind": "property",
"name": "store",
"serializedName": "store",
"doc": "Whether or not to store the output of this chat completion request for\nuse in our [model distillation](/docs/guides/distillation) or\n[evals](/docs/guides/evals) products.",
"type": {
- "$id": "3021",
+ "$id": "3091",
"kind": "nullable",
"type": {
- "$id": "3022",
+ "$id": "3092",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -34361,16 +35169,16 @@
"isHttpMetadata": false
},
{
- "$id": "3023",
+ "$id": "3093",
"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/chat/streaming)\nfor more information, along with the [streaming responses](/docs/guides/streaming-responses)\nguide for more information on how to handle the streaming events.",
"type": {
- "$id": "3024",
+ "$id": "3094",
"kind": "nullable",
"type": {
- "$id": "3025",
+ "$id": "3095",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -34392,27 +35200,27 @@
"isHttpMetadata": false
},
{
- "$id": "3026",
+ "$id": "3096",
"kind": "property",
"name": "stop",
"serializedName": "stop",
"type": {
- "$id": "3027",
+ "$id": "3097",
"kind": "nullable",
"type": {
- "$id": "3028",
+ "$id": "3098",
"kind": "union",
"name": "StopConfiguration",
"variantTypes": [
{
- "$id": "3029",
+ "$id": "3099",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$ref": "2345"
+ "$ref": "2373"
}
],
"namespace": "OpenAI",
@@ -34434,26 +35242,26 @@
"isHttpMetadata": false
},
{
- "$id": "3030",
+ "$id": "3100",
"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\ntokenizer) to an associated bias value from -100 to 100. Mathematically,\nthe bias is added to the logits generated by the model prior to sampling.\nThe exact effect will vary per model, but values between -1 and 1 should\ndecrease or increase likelihood of selection; values like -100 or 100\nshould result in a ban or exclusive selection of the relevant token.",
"type": {
- "$id": "3031",
+ "$id": "3101",
"kind": "nullable",
"type": {
- "$id": "3032",
+ "$id": "3102",
"kind": "dict",
"keyType": {
- "$id": "3033",
+ "$id": "3103",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
"valueType": {
- "$id": "3034",
+ "$id": "3104",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -34477,16 +35285,16 @@
"isHttpMetadata": false
},
{
- "$id": "3035",
+ "$id": "3105",
"kind": "property",
"name": "logprobs",
"serializedName": "logprobs",
"doc": "Whether to return log probabilities of the output tokens or not. If true,\nreturns the log probabilities of each output token returned in the\n`content` of `message`.",
"type": {
- "$id": "3036",
+ "$id": "3106",
"kind": "nullable",
"type": {
- "$id": "3037",
+ "$id": "3107",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -34508,16 +35316,16 @@
"isHttpMetadata": false
},
{
- "$id": "3038",
+ "$id": "3108",
"kind": "property",
"name": "max_tokens",
"serializedName": "max_tokens",
"doc": "The maximum number of [tokens](/tokenizer) that can be generated in the\nchat completion. This value can be used to control\n[costs](https://openai.com/api/pricing/) for text generated via API.\n\nThis value is now deprecated in favor of `max_completion_tokens`, and is\nnot compatible with [o-series models](/docs/guides/reasoning).",
"type": {
- "$id": "3039",
+ "$id": "3109",
"kind": "nullable",
"type": {
- "$id": "3040",
+ "$id": "3110",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -34539,16 +35347,16 @@
"isHttpMetadata": false
},
{
- "$id": "3041",
+ "$id": "3111",
"kind": "property",
"name": "n",
"serializedName": "n",
"doc": "How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep `n` as `1` to minimize costs.",
"type": {
- "$id": "3042",
+ "$id": "3112",
"kind": "nullable",
"type": {
- "$id": "3043",
+ "$id": "3113",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -34570,16 +35378,16 @@
"isHttpMetadata": false
},
{
- "$id": "3044",
+ "$id": "3114",
"kind": "property",
"name": "prediction",
"serializedName": "prediction",
"doc": "Configuration for a [Predicted Output](/docs/guides/predicted-outputs),\nwhich can greatly improve response times when large parts of the model\nresponse are known ahead of time. This is most common when you are\nregenerating a file with only minor changes to most of the content.",
"type": {
- "$id": "3045",
+ "$id": "3115",
"kind": "nullable",
"type": {
- "$id": "3046",
+ "$id": "3116",
"kind": "model",
"name": "ChatOutputPrediction",
"namespace": "OpenAI",
@@ -34588,12 +35396,12 @@
"doc": "Base representation of predicted output from a model.",
"decorators": [],
"discriminatorProperty": {
- "$id": "3047",
+ "$id": "3117",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "250"
+ "$ref": "251"
},
"optional": false,
"readOnly": false,
@@ -34610,12 +35418,12 @@
},
"properties": [
{
- "$ref": "3047"
+ "$ref": "3117"
}
],
"discriminatedSubtypes": {
"content": {
- "$id": "3048",
+ "$id": "3118",
"kind": "model",
"name": "ChatOutputPredictionContent",
"namespace": "OpenAI",
@@ -34625,17 +35433,63 @@
"discriminatorValue": "content",
"decorators": [],
"baseModel": {
- "$ref": "3046"
+ "$ref": "3116"
},
"properties": [
{
- "$id": "3049",
+ "$id": "3119",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the predicted content you want to provide. This type is\ncurrently always `content`.",
"type": {
- "$ref": "252"
+ "$id": "3120",
+ "kind": "enumvalue",
+ "name": "static_content",
+ "value": "content",
+ "valueType": {
+ "$ref": "252"
+ },
+ "enumType": {
+ "$id": "3121",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ChatOutputPredictionType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "3122",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "3123",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "static_content",
+ "value": "content",
+ "valueType": {
+ "$ref": "3122"
+ },
+ "enumType": {
+ "$ref": "3121"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ChatOutputPredictionType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -34651,25 +35505,25 @@
"isHttpMetadata": false
},
{
- "$id": "3050",
+ "$id": "3124",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content that should be matched when generating a model response.\nIf generated tokens would match this content, the entire model response\ncan be returned much more quickly.",
"type": {
- "$id": "3051",
+ "$id": "3125",
"kind": "union",
"name": "ChatOutputPredictionContentContent",
"variantTypes": [
{
- "$id": "3052",
+ "$id": "3126",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$ref": "2919"
+ "$ref": "2989"
}
],
"namespace": "OpenAI",
@@ -34708,16 +35562,16 @@
"isHttpMetadata": false
},
{
- "$id": "3053",
+ "$id": "3127",
"kind": "property",
"name": "seed",
"serializedName": "seed",
"doc": "This feature is in Beta.\nIf 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.\nDeterminism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.",
"type": {
- "$id": "3054",
+ "$id": "3128",
"kind": "nullable",
"type": {
- "$id": "3055",
+ "$id": "3129",
"kind": "int64",
"name": "int64",
"crossLanguageDefinitionId": "TypeSpec.int64",
@@ -34739,15 +35593,15 @@
"isHttpMetadata": false
},
{
- "$id": "3056",
+ "$id": "3130",
"kind": "property",
"name": "stream_options",
"serializedName": "stream_options",
"type": {
- "$id": "3057",
+ "$id": "3131",
"kind": "nullable",
"type": {
- "$id": "3058",
+ "$id": "3132",
"kind": "model",
"name": "ChatCompletionStreamOptions",
"namespace": "OpenAI",
@@ -34757,13 +35611,13 @@
"decorators": [],
"properties": [
{
- "$id": "3059",
+ "$id": "3133",
"kind": "property",
"name": "include_usage",
"serializedName": "include_usage",
"doc": "If set, an additional chunk will be streamed before the `data: [DONE]`\nmessage. The `usage` field on this chunk shows the token usage statistics\nfor the entire request, and the `choices` field will always be an empty\narray.\n\nAll other chunks will also include a `usage` field, but with a null\nvalue. **NOTE:** If the stream is interrupted, you may not receive the\nfinal usage chunk which contains the total token usage for the request.",
"type": {
- "$id": "3060",
+ "$id": "3134",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -34800,17 +35654,17 @@
"isHttpMetadata": false
},
{
- "$id": "3061",
+ "$id": "3135",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.",
"type": {
- "$id": "3062",
+ "$id": "3136",
"kind": "array",
"name": "ArrayChatCompletionTool",
"valueType": {
- "$id": "3063",
+ "$id": "3137",
"kind": "model",
"name": "ChatCompletionTool",
"namespace": "OpenAI",
@@ -34819,21 +35673,57 @@
"decorators": [],
"properties": [
{
- "$id": "3064",
+ "$id": "3138",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the tool. Currently, only `function` is supported.",
"type": {
- "$id": "3065",
+ "$id": "3139",
"kind": "enumvalue",
"name": "function",
"value": "function",
"valueType": {
- "$ref": "254"
+ "$ref": "1410"
},
"enumType": {
- "$ref": "253"
+ "$id": "3140",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ChatToolKind",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "3141",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "3142",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "enumType": {
+ "$ref": "3140"
+ },
+ "valueType": {
+ "$ref": "3141"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ChatToolKind",
+ "apiVersions": [],
+ "isUnionAsEnum": false,
+ "__accessSet": true
},
"decorators": []
},
@@ -34851,12 +35741,12 @@
"isHttpMetadata": false
},
{
- "$id": "3066",
+ "$id": "3143",
"kind": "property",
"name": "function",
"serializedName": "function",
"type": {
- "$ref": "2329"
+ "$ref": "2357"
},
"optional": false,
"readOnly": false,
@@ -34890,20 +35780,20 @@
"isHttpMetadata": false
},
{
- "$id": "3067",
+ "$id": "3144",
"kind": "property",
"name": "tool_choice",
"serializedName": "tool_choice",
"type": {
- "$id": "3068",
+ "$id": "3145",
"kind": "union",
"name": "ChatCompletionToolChoiceOption",
"variantTypes": [
{
- "$ref": "256"
+ "$ref": "254"
},
{
- "$id": "3069",
+ "$id": "3146",
"kind": "model",
"name": "ChatCompletionNamedToolChoice",
"namespace": "OpenAI",
@@ -34913,13 +35803,13 @@
"decorators": [],
"properties": [
{
- "$id": "3070",
+ "$id": "3147",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the tool. Currently, only `function` is supported.",
"type": {
- "$ref": "1499"
+ "$ref": "1537"
},
"optional": false,
"readOnly": false,
@@ -34935,12 +35825,12 @@
"isHttpMetadata": false
},
{
- "$id": "3071",
+ "$id": "3148",
"kind": "property",
"name": "function",
"serializedName": "function",
"type": {
- "$id": "3072",
+ "$id": "3149",
"kind": "model",
"name": "ChatCompletionNamedToolChoiceFunction",
"namespace": "OpenAI",
@@ -34949,13 +35839,13 @@
"decorators": [],
"properties": [
{
- "$id": "3073",
+ "$id": "3150",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "3074",
+ "$id": "3151",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35009,17 +35899,17 @@
"isHttpMetadata": false
},
{
- "$id": "3075",
+ "$id": "3152",
"kind": "property",
"name": "parallel_tool_calls",
"serializedName": "parallel_tool_calls",
"type": {
- "$id": "3076",
+ "$id": "3153",
"kind": "boolean",
"name": "ParallelToolCalls",
"crossLanguageDefinitionId": "OpenAI.ParallelToolCalls",
"baseType": {
- "$id": "3077",
+ "$id": "3154",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -35041,24 +35931,24 @@
"isHttpMetadata": false
},
{
- "$id": "3078",
+ "$id": "3155",
"kind": "property",
"name": "function_call",
"serializedName": "function_call",
"doc": "Deprecated in favor of `tool_choice`.\n\nControls which (if any) function is called by the model.\n\n`none` means the model will not call a function and instead generates a\nmessage.\n\n`auto` means the model can pick between generating a message or calling a\nfunction.\n\nSpecifying a particular function via `{\"name\": \"my_function\"}` forces the\nmodel to call that function.\n\n`none` is the default when no functions are present. `auto` is the default\nif functions are present.",
"type": {
- "$id": "3079",
+ "$id": "3156",
"kind": "union",
"name": "CreateChatCompletionRequestFunctionCall",
"variantTypes": [
{
- "$ref": "1501"
+ "$ref": "1539"
},
{
- "$ref": "1503"
+ "$ref": "1541"
},
{
- "$id": "3080",
+ "$id": "3157",
"kind": "model",
"name": "ChatCompletionFunctionCallOption",
"namespace": "OpenAI",
@@ -35068,13 +35958,13 @@
"decorators": [],
"properties": [
{
- "$id": "3081",
+ "$id": "3158",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "3082",
+ "$id": "3159",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35113,17 +36003,17 @@
"isHttpMetadata": false
},
{
- "$id": "3083",
+ "$id": "3160",
"kind": "property",
"name": "functions",
"serializedName": "functions",
"doc": "Deprecated in favor of `tools`.\n\nA list of functions the model may generate JSON inputs for.",
"type": {
- "$id": "3084",
+ "$id": "3161",
"kind": "array",
"name": "ArrayChatCompletionFunctions",
"valueType": {
- "$id": "3085",
+ "$id": "3162",
"kind": "model",
"name": "ChatCompletionFunctions",
"namespace": "OpenAI",
@@ -35133,13 +36023,13 @@
"decorators": [],
"properties": [
{
- "$id": "3086",
+ "$id": "3163",
"kind": "property",
"name": "description",
"serializedName": "description",
"doc": "A description of what the function does, used by the model to choose when and how to call the function.",
"type": {
- "$id": "3087",
+ "$id": "3164",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35159,13 +36049,13 @@
"isHttpMetadata": false
},
{
- "$id": "3088",
+ "$id": "3165",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.",
"type": {
- "$id": "3089",
+ "$id": "3166",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35185,13 +36075,13 @@
"isHttpMetadata": false
},
{
- "$id": "3090",
+ "$id": "3167",
"kind": "property",
"name": "parameters",
"serializedName": "parameters",
"doc": "The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.\n\nOmitting `parameters` defines a function with an empty parameter list.",
"type": {
- "$id": "3091",
+ "$id": "3168",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -35231,97 +36121,97 @@
]
},
{
- "$ref": "2864"
+ "$ref": "2922"
},
{
- "$ref": "2871"
+ "$ref": "2929"
},
{
- "$ref": "2873"
+ "$ref": "2931"
},
{
- "$ref": "2877"
+ "$ref": "2943"
},
{
- "$ref": "2880"
+ "$ref": "2947"
},
{
- "$ref": "2884"
+ "$ref": "2951"
},
{
- "$ref": "2888"
+ "$ref": "2956"
},
{
- "$ref": "2891"
+ "$ref": "2960"
},
{
- "$ref": "2898"
+ "$ref": "2967"
},
{
- "$ref": "2901"
+ "$ref": "2971"
},
{
- "$ref": "2905"
+ "$ref": "2975"
},
{
- "$ref": "2915"
+ "$ref": "2985"
},
{
- "$ref": "2924"
+ "$ref": "2994"
},
{
- "$ref": "2934"
+ "$ref": "3004"
},
{
- "$ref": "2950"
+ "$ref": "3020"
},
{
- "$ref": "2956"
+ "$ref": "3026"
},
{
- "$ref": "2961"
+ "$ref": "3031"
},
{
- "$ref": "2971"
+ "$ref": "3041"
},
{
- "$ref": "2995"
+ "$ref": "3065"
},
{
- "$ref": "2998"
+ "$ref": "3068"
},
{
- "$ref": "3001"
+ "$ref": "3071"
},
{
- "$ref": "3017"
+ "$ref": "3087"
},
{
- "$ref": "3046"
+ "$ref": "3116"
},
{
- "$ref": "3048"
+ "$ref": "3118"
},
{
- "$ref": "3058"
+ "$ref": "3132"
},
{
- "$ref": "3063"
+ "$ref": "3137"
},
{
- "$ref": "3069"
+ "$ref": "3146"
},
{
- "$ref": "3072"
+ "$ref": "3149"
},
{
- "$ref": "3080"
+ "$ref": "3157"
},
{
- "$ref": "3085"
+ "$ref": "3162"
},
{
- "$id": "3092",
+ "$id": "3169",
"kind": "model",
"name": "CreateChatCompletionStreamResponse",
"namespace": "OpenAI",
@@ -35332,12 +36222,12 @@
"decorators": [],
"properties": [
{
- "$id": "3093",
+ "$id": "3170",
"kind": "property",
"name": "id",
"doc": "A unique identifier for the chat completion. Each chunk has the same ID.",
"type": {
- "$id": "3094",
+ "$id": "3171",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35353,16 +36243,16 @@
"isHttpMetadata": false
},
{
- "$id": "3095",
+ "$id": "3172",
"kind": "property",
"name": "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": "3096",
+ "$id": "3173",
"kind": "array",
"name": "Array12",
"valueType": {
- "$id": "3097",
+ "$id": "3174",
"kind": "model",
"name": "CreateChatCompletionStreamResponseChoice",
"namespace": "OpenAI",
@@ -35371,11 +36261,11 @@
"decorators": [],
"properties": [
{
- "$id": "3098",
+ "$id": "3175",
"kind": "property",
"name": "delta",
"type": {
- "$id": "3099",
+ "$id": "3176",
"kind": "model",
"name": "ChatCompletionStreamResponseDelta",
"namespace": "OpenAI",
@@ -35385,12 +36275,12 @@
"decorators": [],
"properties": [
{
- "$id": "3100",
+ "$id": "3177",
"kind": "property",
"name": "audio",
"doc": "Response audio associated with the streaming chat delta payload.",
"type": {
- "$id": "3101",
+ "$id": "3178",
"kind": "model",
"name": "ChatCompletionMessageAudioChunk",
"namespace": "OpenAI",
@@ -35399,11 +36289,11 @@
"decorators": [],
"properties": [
{
- "$id": "3102",
+ "$id": "3179",
"kind": "property",
"name": "id",
"type": {
- "$id": "3103",
+ "$id": "3180",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35419,11 +36309,11 @@
"isHttpMetadata": false
},
{
- "$id": "3104",
+ "$id": "3181",
"kind": "property",
"name": "transcript",
"type": {
- "$id": "3105",
+ "$id": "3182",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35439,11 +36329,11 @@
"isHttpMetadata": false
},
{
- "$id": "3106",
+ "$id": "3183",
"kind": "property",
"name": "data",
"type": {
- "$id": "3107",
+ "$id": "3184",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -35460,16 +36350,16 @@
"isHttpMetadata": false
},
{
- "$id": "3108",
+ "$id": "3185",
"kind": "property",
"name": "expires_at",
"type": {
- "$id": "3109",
+ "$id": "3186",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3110",
+ "$id": "3187",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -35499,15 +36389,15 @@
"isHttpMetadata": false
},
{
- "$id": "3111",
+ "$id": "3188",
"kind": "property",
"name": "content",
"doc": "The contents of the chunk message.",
"type": {
- "$id": "3112",
+ "$id": "3189",
"kind": "nullable",
"type": {
- "$id": "3113",
+ "$id": "3190",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35525,12 +36415,12 @@
"isHttpMetadata": false
},
{
- "$id": "3114",
+ "$id": "3191",
"kind": "property",
"name": "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": "3115",
+ "$id": "3192",
"kind": "model",
"name": "ChatCompletionStreamResponseDeltaFunctionCall",
"namespace": "OpenAI",
@@ -35539,11 +36429,11 @@
"decorators": [],
"properties": [
{
- "$id": "3116",
+ "$id": "3193",
"kind": "property",
"name": "name",
"type": {
- "$id": "3117",
+ "$id": "3194",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35559,11 +36449,11 @@
"isHttpMetadata": false
},
{
- "$id": "3118",
+ "$id": "3195",
"kind": "property",
"name": "arguments",
"type": {
- "$id": "3119",
+ "$id": "3196",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35590,15 +36480,15 @@
"isHttpMetadata": false
},
{
- "$id": "3120",
+ "$id": "3197",
"kind": "property",
"name": "tool_calls",
"type": {
- "$id": "3121",
+ "$id": "3198",
"kind": "array",
"name": "ArrayChatCompletionMessageToolCallChunk",
"valueType": {
- "$id": "3122",
+ "$id": "3199",
"kind": "model",
"name": "ChatCompletionMessageToolCallChunk",
"namespace": "OpenAI",
@@ -35607,11 +36497,11 @@
"decorators": [],
"properties": [
{
- "$id": "3123",
+ "$id": "3200",
"kind": "property",
"name": "index",
"type": {
- "$id": "3124",
+ "$id": "3201",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -35627,12 +36517,12 @@
"isHttpMetadata": false
},
{
- "$id": "3125",
+ "$id": "3202",
"kind": "property",
"name": "id",
"doc": "The ID of the tool call.",
"type": {
- "$id": "3126",
+ "$id": "3203",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35648,12 +36538,12 @@
"isHttpMetadata": false
},
{
- "$id": "3127",
+ "$id": "3204",
"kind": "property",
"name": "type",
"doc": "The type of the tool. Currently, only `function` is supported.",
"type": {
- "$ref": "1505"
+ "$ref": "259"
},
"optional": true,
"readOnly": false,
@@ -35665,11 +36555,11 @@
"isHttpMetadata": false
},
{
- "$id": "3128",
+ "$id": "3205",
"kind": "property",
"name": "function",
"type": {
- "$id": "3129",
+ "$id": "3206",
"kind": "model",
"name": "ChatCompletionMessageToolCallChunkFunction",
"namespace": "OpenAI",
@@ -35678,12 +36568,12 @@
"decorators": [],
"properties": [
{
- "$id": "3130",
+ "$id": "3207",
"kind": "property",
"name": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "3131",
+ "$id": "3208",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35699,12 +36589,12 @@
"isHttpMetadata": false
},
{
- "$id": "3132",
+ "$id": "3209",
"kind": "property",
"name": "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": "3133",
+ "$id": "3210",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35745,12 +36635,12 @@
"isHttpMetadata": false
},
{
- "$id": "3134",
+ "$id": "3211",
"kind": "property",
"name": "role",
"doc": "The role of the author of this message.",
"type": {
- "$ref": "146"
+ "$ref": "153"
},
"optional": true,
"readOnly": false,
@@ -35762,15 +36652,15 @@
"isHttpMetadata": false
},
{
- "$id": "3135",
+ "$id": "3212",
"kind": "property",
"name": "refusal",
"doc": "The refusal message generated by the model.",
"type": {
- "$id": "3136",
+ "$id": "3213",
"kind": "nullable",
"type": {
- "$id": "3137",
+ "$id": "3214",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35799,15 +36689,15 @@
"isHttpMetadata": false
},
{
- "$id": "3138",
+ "$id": "3215",
"kind": "property",
"name": "logprobs",
"doc": "Log probability information for the choice.",
"type": {
- "$id": "3139",
+ "$id": "3216",
"kind": "nullable",
"type": {
- "$id": "3140",
+ "$id": "3217",
"kind": "model",
"name": "CreateChatCompletionStreamResponseChoiceLogprobs1",
"namespace": "OpenAI",
@@ -35816,15 +36706,15 @@
"decorators": [],
"properties": [
{
- "$id": "3141",
+ "$id": "3218",
"kind": "property",
"name": "content",
"doc": "A list of message content tokens with log probability information.",
"type": {
- "$id": "3142",
+ "$id": "3219",
"kind": "nullable",
"type": {
- "$ref": "2793"
+ "$ref": "2851"
},
"namespace": "OpenAI"
},
@@ -35838,15 +36728,15 @@
"isHttpMetadata": false
},
{
- "$id": "3143",
+ "$id": "3220",
"kind": "property",
"name": "refusal",
"doc": "A list of message refusal tokens with log probability information.",
"type": {
- "$id": "3144",
+ "$id": "3221",
"kind": "nullable",
"type": {
- "$ref": "2793"
+ "$ref": "2851"
},
"namespace": "OpenAI"
},
@@ -35873,15 +36763,15 @@
"isHttpMetadata": false
},
{
- "$id": "3145",
+ "$id": "3222",
"kind": "property",
"name": "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": "3146",
+ "$id": "3223",
"kind": "nullable",
"type": {
- "$ref": "261"
+ "$ref": "263"
},
"namespace": "OpenAI"
},
@@ -35895,12 +36785,12 @@
"isHttpMetadata": false
},
{
- "$id": "3147",
+ "$id": "3224",
"kind": "property",
"name": "index",
"doc": "The index of the choice in the list of choices.",
"type": {
- "$id": "3148",
+ "$id": "3225",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -35930,17 +36820,17 @@
"isHttpMetadata": false
},
{
- "$id": "3149",
+ "$id": "3226",
"kind": "property",
"name": "created",
"doc": "The Unix timestamp (in seconds) of when the chat completion was created. Each chunk has the same timestamp.",
"type": {
- "$id": "3150",
+ "$id": "3227",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3151",
+ "$id": "3228",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -35959,12 +36849,12 @@
"isHttpMetadata": false
},
{
- "$id": "3152",
+ "$id": "3229",
"kind": "property",
"name": "model",
"doc": "The model to generate the completion.",
"type": {
- "$id": "3153",
+ "$id": "3230",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -35980,11 +36870,11 @@
"isHttpMetadata": false
},
{
- "$id": "3154",
+ "$id": "3231",
"kind": "property",
"name": "service_tier",
"type": {
- "$ref": "154"
+ "$ref": "147"
},
"optional": true,
"readOnly": false,
@@ -35996,12 +36886,12 @@
"isHttpMetadata": false
},
{
- "$id": "3155",
+ "$id": "3232",
"kind": "property",
"name": "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": "3156",
+ "$id": "3233",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36017,12 +36907,12 @@
"isHttpMetadata": false
},
{
- "$id": "3157",
+ "$id": "3234",
"kind": "property",
"name": "object",
"doc": "The object type, which is always `chat.completion.chunk`.",
"type": {
- "$ref": "1507"
+ "$ref": "1543"
},
"optional": false,
"readOnly": false,
@@ -36034,15 +36924,15 @@
"isHttpMetadata": false
},
{
- "$id": "3158",
+ "$id": "3235",
"kind": "property",
"name": "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": "3159",
+ "$id": "3236",
"kind": "nullable",
"type": {
- "$ref": "2822"
+ "$ref": "2880"
},
"namespace": "OpenAI"
},
@@ -36058,28 +36948,28 @@
]
},
{
- "$ref": "3097"
+ "$ref": "3174"
},
{
- "$ref": "3099"
+ "$ref": "3176"
},
{
- "$ref": "3101"
+ "$ref": "3178"
},
{
- "$ref": "3115"
+ "$ref": "3192"
},
{
- "$ref": "3122"
+ "$ref": "3199"
},
{
- "$ref": "3129"
+ "$ref": "3206"
},
{
- "$ref": "3140"
+ "$ref": "3217"
},
{
- "$id": "3160",
+ "$id": "3237",
"kind": "model",
"name": "UpdateChatCompletionRequest",
"namespace": "",
@@ -36088,13 +36978,13 @@
"decorators": [],
"properties": [
{
- "$id": "3161",
+ "$id": "3238",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": false,
"readOnly": false,
@@ -36112,7 +37002,7 @@
]
},
{
- "$id": "3162",
+ "$id": "3239",
"kind": "model",
"name": "ChatCompletionDeleted",
"namespace": "OpenAI",
@@ -36121,13 +37011,13 @@
"decorators": [],
"properties": [
{
- "$id": "3163",
+ "$id": "3240",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of object being deleted.",
"type": {
- "$ref": "1509"
+ "$ref": "1545"
},
"optional": false,
"readOnly": false,
@@ -36143,13 +37033,13 @@
"isHttpMetadata": false
},
{
- "$id": "3164",
+ "$id": "3241",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The ID of the chat completion that was deleted.",
"type": {
- "$id": "3165",
+ "$id": "3242",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36169,13 +37059,13 @@
"isHttpMetadata": false
},
{
- "$id": "3166",
+ "$id": "3243",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"doc": "Whether the chat completion was deleted.",
"type": {
- "$id": "3167",
+ "$id": "3244",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -36197,7 +37087,7 @@
]
},
{
- "$id": "3168",
+ "$id": "3245",
"kind": "model",
"name": "ChatCompletionMessageList",
"namespace": "OpenAI",
@@ -36207,13 +37097,13 @@
"decorators": [],
"properties": [
{
- "$id": "3169",
+ "$id": "3246",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of this object. It is always set to \"list\".",
"type": {
- "$ref": "1511"
+ "$ref": "1547"
},
"optional": false,
"readOnly": false,
@@ -36229,17 +37119,17 @@
"isHttpMetadata": false
},
{
- "$id": "3170",
+ "$id": "3247",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "An array of chat completion message objects.",
"type": {
- "$id": "3171",
+ "$id": "3248",
"kind": "array",
"name": "Array13",
"valueType": {
- "$id": "3172",
+ "$id": "3249",
"kind": "model",
"name": "ChatCompletionMessageListDatum",
"namespace": "OpenAI",
@@ -36248,13 +37138,13 @@
"decorators": [],
"properties": [
{
- "$id": "3173",
+ "$id": "3250",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The contents of the message.",
"type": {
- "$ref": "2736"
+ "$ref": "2783"
},
"optional": false,
"readOnly": false,
@@ -36270,13 +37160,13 @@
"isHttpMetadata": false
},
{
- "$id": "3174",
+ "$id": "3251",
"kind": "property",
"name": "refusal",
"serializedName": "refusal",
"doc": "The refusal message generated by the model.",
"type": {
- "$ref": "2739"
+ "$ref": "2786"
},
"optional": false,
"readOnly": false,
@@ -36292,12 +37182,12 @@
"isHttpMetadata": false
},
{
- "$id": "3175",
+ "$id": "3252",
"kind": "property",
"name": "tool_calls",
"serializedName": "tool_calls",
"type": {
- "$ref": "2742"
+ "$ref": "2789"
},
"optional": true,
"readOnly": true,
@@ -36313,13 +37203,13 @@
"isHttpMetadata": false
},
{
- "$id": "3176",
+ "$id": "3253",
"kind": "property",
"name": "annotations",
"serializedName": "annotations",
"doc": "Annotations for the message, when applicable, as when using the\n[web search tool](/docs/guides/tools-web-search?api-mode=chat).",
"type": {
- "$ref": "2755"
+ "$ref": "2805"
},
"optional": true,
"readOnly": true,
@@ -36335,21 +37225,21 @@
"isHttpMetadata": false
},
{
- "$id": "3177",
+ "$id": "3254",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the author of this message.",
"type": {
- "$id": "3178",
+ "$id": "3255",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -36367,13 +37257,13 @@
"isHttpMetadata": false
},
{
- "$id": "3179",
+ "$id": "3256",
"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": "2771"
+ "$ref": "2829"
},
"optional": true,
"readOnly": false,
@@ -36389,13 +37279,13 @@
"isHttpMetadata": false
},
{
- "$id": "3180",
+ "$id": "3257",
"kind": "property",
"name": "audio",
"serializedName": "audio",
"doc": "If the audio output modality is requested, this object contains data\nabout the audio response from the model. [Learn more](/docs/guides/audio).",
"type": {
- "$ref": "2777"
+ "$ref": "2835"
},
"optional": true,
"readOnly": false,
@@ -36411,13 +37301,13 @@
"isHttpMetadata": false
},
{
- "$id": "3181",
+ "$id": "3258",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier of the chat message.",
"type": {
- "$id": "3182",
+ "$id": "3259",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36455,13 +37345,13 @@
"isHttpMetadata": false
},
{
- "$id": "3183",
+ "$id": "3260",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The identifier of the first chat message in the data array.",
"type": {
- "$id": "3184",
+ "$id": "3261",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36481,13 +37371,13 @@
"isHttpMetadata": false
},
{
- "$id": "3185",
+ "$id": "3262",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The identifier of the last chat message in the data array.",
"type": {
- "$id": "3186",
+ "$id": "3263",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36507,13 +37397,13 @@
"isHttpMetadata": false
},
{
- "$id": "3187",
+ "$id": "3264",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Indicates whether there are more chat messages available.",
"type": {
- "$id": "3188",
+ "$id": "3265",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -36535,10 +37425,10 @@
]
},
{
- "$ref": "3172"
+ "$ref": "3249"
},
{
- "$id": "3189",
+ "$id": "3266",
"kind": "model",
"name": "ContainerListResource",
"namespace": "OpenAI",
@@ -36547,13 +37437,13 @@
"decorators": [],
"properties": [
{
- "$id": "3190",
+ "$id": "3267",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of object returned, must be 'list'.",
"type": {
- "$ref": "1513"
+ "$ref": "1549"
},
"optional": false,
"readOnly": false,
@@ -36569,17 +37459,17 @@
"isHttpMetadata": false
},
{
- "$id": "3191",
+ "$id": "3268",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "A list of containers.",
"type": {
- "$id": "3192",
+ "$id": "3269",
"kind": "array",
"name": "ArrayContainerResource",
"valueType": {
- "$id": "3193",
+ "$id": "3270",
"kind": "model",
"name": "ContainerResource",
"namespace": "OpenAI",
@@ -36588,13 +37478,13 @@
"decorators": [],
"properties": [
{
- "$id": "3194",
+ "$id": "3271",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for the container.",
"type": {
- "$id": "3195",
+ "$id": "3272",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36614,13 +37504,13 @@
"isHttpMetadata": false
},
{
- "$id": "3196",
+ "$id": "3273",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of this object.",
"type": {
- "$id": "3197",
+ "$id": "3274",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36640,13 +37530,13 @@
"isHttpMetadata": false
},
{
- "$id": "3198",
+ "$id": "3275",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "Name of the container.",
"type": {
- "$id": "3199",
+ "$id": "3276",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36666,18 +37556,18 @@
"isHttpMetadata": false
},
{
- "$id": "3200",
+ "$id": "3277",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "Unix timestamp (in seconds) when the container was created.",
"type": {
- "$id": "3201",
+ "$id": "3278",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3202",
+ "$id": "3279",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -36700,13 +37590,13 @@
"isHttpMetadata": false
},
{
- "$id": "3203",
+ "$id": "3280",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "Status of the container (e.g., active, deleted).",
"type": {
- "$id": "3204",
+ "$id": "3281",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36726,13 +37616,13 @@
"isHttpMetadata": false
},
{
- "$id": "3205",
+ "$id": "3282",
"kind": "property",
"name": "expires_after",
"serializedName": "expires_after",
"doc": "The container will expire after this time period.\nThe anchor is the reference point for the expiration.\nThe minutes is the number of minutes after the anchor before the container expires.",
"type": {
- "$id": "3206",
+ "$id": "3283",
"kind": "model",
"name": "ContainerResourceExpiresAfter",
"namespace": "OpenAI",
@@ -36741,13 +37631,13 @@
"decorators": [],
"properties": [
{
- "$id": "3207",
+ "$id": "3284",
"kind": "property",
"name": "anchor",
"serializedName": "anchor",
"doc": "The reference point for the expiration.",
"type": {
- "$ref": "1515"
+ "$ref": "270"
},
"optional": true,
"readOnly": false,
@@ -36763,13 +37653,13 @@
"isHttpMetadata": false
},
{
- "$id": "3208",
+ "$id": "3285",
"kind": "property",
"name": "minutes",
"serializedName": "minutes",
"doc": "The number of minutes after the anchor before the container expires.",
"type": {
- "$id": "3209",
+ "$id": "3286",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -36822,13 +37712,13 @@
"isHttpMetadata": false
},
{
- "$id": "3210",
+ "$id": "3287",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The ID of the first container in the list.",
"type": {
- "$id": "3211",
+ "$id": "3288",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36848,13 +37738,13 @@
"isHttpMetadata": false
},
{
- "$id": "3212",
+ "$id": "3289",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The ID of the last container in the list.",
"type": {
- "$id": "3213",
+ "$id": "3290",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36874,13 +37764,13 @@
"isHttpMetadata": false
},
{
- "$id": "3214",
+ "$id": "3291",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Whether there are more containers available.",
"type": {
- "$id": "3215",
+ "$id": "3292",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -36902,13 +37792,13 @@
]
},
{
- "$ref": "3193"
+ "$ref": "3270"
},
{
- "$ref": "3206"
+ "$ref": "3283"
},
{
- "$id": "3216",
+ "$id": "3293",
"kind": "model",
"name": "CreateContainerBody",
"namespace": "OpenAI",
@@ -36917,13 +37807,13 @@
"decorators": [],
"properties": [
{
- "$id": "3217",
+ "$id": "3294",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "Name of the container to create.",
"type": {
- "$id": "3218",
+ "$id": "3295",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36943,13 +37833,13 @@
"isHttpMetadata": false
},
{
- "$id": "3219",
+ "$id": "3296",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "IDs of files to copy to the container.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -36965,13 +37855,13 @@
"isHttpMetadata": false
},
{
- "$id": "3220",
+ "$id": "3297",
"kind": "property",
"name": "expires_after",
"serializedName": "expires_after",
"doc": "Container expiration time in seconds relative to the 'anchor' time.",
"type": {
- "$id": "3221",
+ "$id": "3298",
"kind": "model",
"name": "CreateContainerBodyExpiresAfter",
"namespace": "OpenAI",
@@ -36980,13 +37870,13 @@
"decorators": [],
"properties": [
{
- "$id": "3222",
+ "$id": "3299",
"kind": "property",
"name": "anchor",
"serializedName": "anchor",
"doc": "Time anchor for the expiration time. Currently only 'last_active_at' is supported.",
"type": {
- "$ref": "1517"
+ "$ref": "1551"
},
"optional": false,
"readOnly": false,
@@ -37002,12 +37892,12 @@
"isHttpMetadata": false
},
{
- "$id": "3223",
+ "$id": "3300",
"kind": "property",
"name": "minutes",
"serializedName": "minutes",
"type": {
- "$id": "3224",
+ "$id": "3301",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -37044,10 +37934,10 @@
]
},
{
- "$ref": "3221"
+ "$ref": "3298"
},
{
- "$id": "3225",
+ "$id": "3302",
"kind": "model",
"name": "DeleteContainerResponse",
"namespace": "OpenAI",
@@ -37056,12 +37946,12 @@
"decorators": [],
"properties": [
{
- "$id": "3226",
+ "$id": "3303",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "3227",
+ "$id": "3304",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37081,12 +37971,12 @@
"isHttpMetadata": false
},
{
- "$id": "3228",
+ "$id": "3305",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1519"
+ "$ref": "1553"
},
"optional": false,
"readOnly": false,
@@ -37102,12 +37992,12 @@
"isHttpMetadata": false
},
{
- "$id": "3229",
+ "$id": "3306",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$ref": "1521"
+ "$ref": "1555"
},
"optional": false,
"readOnly": false,
@@ -37125,7 +38015,7 @@
]
},
{
- "$id": "3230",
+ "$id": "3307",
"kind": "model",
"name": "CreateContainerFileBody",
"namespace": "OpenAI",
@@ -37134,13 +38024,13 @@
"decorators": [],
"properties": [
{
- "$id": "3231",
+ "$id": "3308",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "Name of the file to create.",
"type": {
- "$id": "3232",
+ "$id": "3309",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37166,13 +38056,13 @@
"isHttpMetadata": false
},
{
- "$id": "3233",
+ "$id": "3310",
"kind": "property",
"name": "file",
"serializedName": "file",
"doc": "The File object (not file name) to be uploaded.",
"type": {
- "$id": "3234",
+ "$id": "3311",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -37201,7 +38091,7 @@
]
},
{
- "$id": "3235",
+ "$id": "3312",
"kind": "model",
"name": "ContainerFileResource",
"namespace": "OpenAI",
@@ -37210,13 +38100,13 @@
"decorators": [],
"properties": [
{
- "$id": "3236",
+ "$id": "3313",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for the file.",
"type": {
- "$id": "3237",
+ "$id": "3314",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37236,13 +38126,13 @@
"isHttpMetadata": false
},
{
- "$id": "3238",
+ "$id": "3315",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of this object (`container.file`).",
"type": {
- "$id": "3239",
+ "$id": "3316",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37262,13 +38152,13 @@
"isHttpMetadata": false
},
{
- "$id": "3240",
+ "$id": "3317",
"kind": "property",
"name": "container_id",
"serializedName": "container_id",
"doc": "The container this file belongs to.",
"type": {
- "$id": "3241",
+ "$id": "3318",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37288,18 +38178,18 @@
"isHttpMetadata": false
},
{
- "$id": "3242",
+ "$id": "3319",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "Unix timestamp (in seconds) when the file was created.",
"type": {
- "$id": "3243",
+ "$id": "3320",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3244",
+ "$id": "3321",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -37322,13 +38212,13 @@
"isHttpMetadata": false
},
{
- "$id": "3245",
+ "$id": "3322",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "Size of the file in bytes.",
"type": {
- "$id": "3246",
+ "$id": "3323",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -37348,13 +38238,13 @@
"isHttpMetadata": false
},
{
- "$id": "3247",
+ "$id": "3324",
"kind": "property",
"name": "path",
"serializedName": "path",
"doc": "Path of the file in the container.",
"type": {
- "$id": "3248",
+ "$id": "3325",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37374,13 +38264,13 @@
"isHttpMetadata": false
},
{
- "$id": "3249",
+ "$id": "3326",
"kind": "property",
"name": "source",
"serializedName": "source",
"doc": "Source of the file (e.g., `user`, `assistant`).",
"type": {
- "$id": "3250",
+ "$id": "3327",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37402,7 +38292,7 @@
]
},
{
- "$id": "3251",
+ "$id": "3328",
"kind": "model",
"name": "ContainerFileListResource",
"namespace": "OpenAI",
@@ -37411,13 +38301,13 @@
"decorators": [],
"properties": [
{
- "$id": "3252",
+ "$id": "3329",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of object returned, must be 'list'.",
"type": {
- "$ref": "1523"
+ "$ref": "1557"
},
"optional": false,
"readOnly": false,
@@ -37433,17 +38323,17 @@
"isHttpMetadata": false
},
{
- "$id": "3253",
+ "$id": "3330",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "A list of container files.",
"type": {
- "$id": "3254",
+ "$id": "3331",
"kind": "array",
"name": "ArrayContainerFileResource",
"valueType": {
- "$ref": "3235"
+ "$ref": "3312"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -37462,13 +38352,13 @@
"isHttpMetadata": false
},
{
- "$id": "3255",
+ "$id": "3332",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The ID of the first file in the list.",
"type": {
- "$id": "3256",
+ "$id": "3333",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37488,13 +38378,13 @@
"isHttpMetadata": false
},
{
- "$id": "3257",
+ "$id": "3334",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The ID of the last file in the list.",
"type": {
- "$id": "3258",
+ "$id": "3335",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37514,13 +38404,13 @@
"isHttpMetadata": false
},
{
- "$id": "3259",
+ "$id": "3336",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Whether there are more files available.",
"type": {
- "$id": "3260",
+ "$id": "3337",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -37542,7 +38432,7 @@
]
},
{
- "$id": "3261",
+ "$id": "3338",
"kind": "model",
"name": "DeleteContainerFileResponse",
"namespace": "OpenAI",
@@ -37551,12 +38441,12 @@
"decorators": [],
"properties": [
{
- "$id": "3262",
+ "$id": "3339",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "3263",
+ "$id": "3340",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37576,12 +38466,12 @@
"isHttpMetadata": false
},
{
- "$id": "3264",
+ "$id": "3341",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1525"
+ "$ref": "1559"
},
"optional": false,
"readOnly": false,
@@ -37597,12 +38487,12 @@
"isHttpMetadata": false
},
{
- "$id": "3265",
+ "$id": "3342",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$ref": "1527"
+ "$ref": "1561"
},
"optional": false,
"readOnly": false,
@@ -37620,7 +38510,7 @@
]
},
{
- "$id": "3266",
+ "$id": "3343",
"kind": "model",
"name": "CreateEmbeddingRequest",
"namespace": "OpenAI",
@@ -37629,35 +38519,35 @@
"decorators": [],
"properties": [
{
- "$id": "3267",
+ "$id": "3344",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model (8192 tokens for all embedding models), cannot be an empty string, and any array must be 2048 dimensions or less. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens. In addition to the per-input token limit, all embedding models enforce a maximum of 300,000 tokens summed across all inputs in a single request.",
"type": {
- "$id": "3268",
+ "$id": "3345",
"kind": "union",
"name": "CreateEmbeddingRequestInput",
"variantTypes": [
{
- "$id": "3269",
+ "$id": "3346",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$ref": "2345"
+ "$ref": "2373"
},
{
- "$ref": "2565"
+ "$ref": "2606"
},
{
- "$id": "3270",
+ "$id": "3347",
"kind": "array",
"name": "ArrayArray",
"valueType": {
- "$ref": "2565"
+ "$ref": "2606"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -37680,13 +38570,13 @@
"isHttpMetadata": false
},
{
- "$id": "3271",
+ "$id": "3348",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them.",
"type": {
- "$ref": "268"
+ "$ref": "274"
},
"optional": false,
"readOnly": false,
@@ -37702,13 +38592,13 @@
"isHttpMetadata": false
},
{
- "$id": "3272",
+ "$id": "3349",
"kind": "property",
"name": "encoding_format",
"serializedName": "encoding_format",
"doc": "The format to return the embeddings in. Can be either `float` or [`base64`](https://pypi.org/project/pybase64/).",
"type": {
- "$ref": "273"
+ "$ref": "279"
},
"optional": true,
"readOnly": false,
@@ -37724,13 +38614,13 @@
"isHttpMetadata": false
},
{
- "$id": "3273",
+ "$id": "3350",
"kind": "property",
"name": "dimensions",
"serializedName": "dimensions",
"doc": "The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models.",
"type": {
- "$id": "3274",
+ "$id": "3351",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -37750,13 +38640,13 @@
"isHttpMetadata": false
},
{
- "$id": "3275",
+ "$id": "3352",
"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": "3276",
+ "$id": "3353",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37778,7 +38668,7 @@
]
},
{
- "$id": "3277",
+ "$id": "3354",
"kind": "model",
"name": "CreateEmbeddingResponse",
"namespace": "OpenAI",
@@ -37787,17 +38677,17 @@
"decorators": [],
"properties": [
{
- "$id": "3278",
+ "$id": "3355",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "The list of embeddings generated by the model.",
"type": {
- "$id": "3279",
+ "$id": "3356",
"kind": "array",
"name": "ArrayEmbedding",
"valueType": {
- "$id": "3280",
+ "$id": "3357",
"kind": "model",
"name": "Embedding",
"namespace": "OpenAI",
@@ -37807,13 +38697,13 @@
"decorators": [],
"properties": [
{
- "$id": "3281",
+ "$id": "3358",
"kind": "property",
"name": "index",
"serializedName": "index",
"doc": "The index of the embedding in the list of embeddings.",
"type": {
- "$id": "3282",
+ "$id": "3359",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -37833,22 +38723,22 @@
"isHttpMetadata": false
},
{
- "$id": "3283",
+ "$id": "3360",
"kind": "property",
"name": "embedding",
"serializedName": "embedding",
"doc": "The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the [embedding guide](/docs/guides/embeddings).",
"type": {
- "$id": "3284",
+ "$id": "3361",
"kind": "union",
"name": "EmbeddingEmbedding",
"variantTypes": [
{
- "$id": "3285",
+ "$id": "3362",
"kind": "array",
"name": "Array14",
"valueType": {
- "$id": "3286",
+ "$id": "3363",
"kind": "float",
"name": "float",
"crossLanguageDefinitionId": "TypeSpec.float",
@@ -37858,7 +38748,7 @@
"decorators": []
},
{
- "$id": "3287",
+ "$id": "3364",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37882,13 +38772,13 @@
"isHttpMetadata": false
},
{
- "$id": "3288",
+ "$id": "3365",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"embedding\".",
"type": {
- "$ref": "1529"
+ "$ref": "1563"
},
"optional": false,
"readOnly": false,
@@ -37922,13 +38812,13 @@
"isHttpMetadata": false
},
{
- "$id": "3289",
+ "$id": "3366",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The name of the model used to generate the embedding.",
"type": {
- "$id": "3290",
+ "$id": "3367",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -37948,13 +38838,13 @@
"isHttpMetadata": false
},
{
- "$id": "3291",
+ "$id": "3368",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"list\".",
"type": {
- "$ref": "1531"
+ "$ref": "1565"
},
"optional": false,
"readOnly": false,
@@ -37970,13 +38860,13 @@
"isHttpMetadata": false
},
{
- "$id": "3292",
+ "$id": "3369",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"doc": "The usage information for the request.",
"type": {
- "$id": "3293",
+ "$id": "3370",
"kind": "model",
"name": "CreateEmbeddingResponseUsage",
"namespace": "OpenAI",
@@ -37985,13 +38875,13 @@
"decorators": [],
"properties": [
{
- "$id": "3294",
+ "$id": "3371",
"kind": "property",
"name": "prompt_tokens",
"serializedName": "prompt_tokens",
"doc": "The number of tokens used by the prompt.",
"type": {
- "$id": "3295",
+ "$id": "3372",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -38011,13 +38901,13 @@
"isHttpMetadata": false
},
{
- "$id": "3296",
+ "$id": "3373",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "The total number of tokens used by the request.",
"type": {
- "$id": "3297",
+ "$id": "3374",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -38054,13 +38944,13 @@
]
},
{
- "$ref": "3280"
+ "$ref": "3357"
},
{
- "$ref": "3293"
+ "$ref": "3370"
},
{
- "$id": "3298",
+ "$id": "3375",
"kind": "model",
"name": "ListFilesResponse",
"namespace": "OpenAI",
@@ -38069,12 +38959,12 @@
"decorators": [],
"properties": [
{
- "$id": "3299",
+ "$id": "3376",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1533"
+ "$ref": "1567"
},
"optional": false,
"readOnly": false,
@@ -38090,16 +38980,16 @@
"isHttpMetadata": false
},
{
- "$id": "3300",
+ "$id": "3377",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "3301",
+ "$id": "3378",
"kind": "array",
"name": "ArrayOpenAiFile",
"valueType": {
- "$id": "3302",
+ "$id": "3379",
"kind": "model",
"name": "OpenAIFile",
"namespace": "OpenAI",
@@ -38109,13 +38999,13 @@
"decorators": [],
"properties": [
{
- "$id": "3303",
+ "$id": "3380",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The file identifier, which can be referenced in the API endpoints.",
"type": {
- "$id": "3304",
+ "$id": "3381",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38135,16 +39025,16 @@
"isHttpMetadata": false
},
{
- "$id": "3305",
+ "$id": "3382",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "The size of the file, in bytes.",
"type": {
- "$id": "3306",
+ "$id": "3383",
"kind": "nullable",
"type": {
- "$id": "3307",
+ "$id": "3384",
"kind": "int64",
"name": "int64",
"crossLanguageDefinitionId": "TypeSpec.int64",
@@ -38166,18 +39056,18 @@
"isHttpMetadata": false
},
{
- "$id": "3308",
+ "$id": "3385",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the file was created.",
"type": {
- "$id": "3309",
+ "$id": "3386",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3310",
+ "$id": "3387",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -38200,18 +39090,18 @@
"isHttpMetadata": false
},
{
- "$id": "3311",
+ "$id": "3388",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "The Unix timestamp (in seconds) for when the file will expire.",
"type": {
- "$id": "3312",
+ "$id": "3389",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3313",
+ "$id": "3390",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -38234,13 +39124,13 @@
"isHttpMetadata": false
},
{
- "$id": "3314",
+ "$id": "3391",
"kind": "property",
"name": "filename",
"serializedName": "filename",
"doc": "The name of the file.",
"type": {
- "$id": "3315",
+ "$id": "3392",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38260,13 +39150,13 @@
"isHttpMetadata": false
},
{
- "$id": "3316",
+ "$id": "3393",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `file`.",
"type": {
- "$ref": "1535"
+ "$ref": "1569"
},
"optional": false,
"readOnly": false,
@@ -38282,13 +39172,13 @@
"isHttpMetadata": false
},
{
- "$id": "3317",
+ "$id": "3394",
"kind": "property",
"name": "purpose",
"serializedName": "purpose",
"doc": "The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results` and `vision`.",
"type": {
- "$ref": "277"
+ "$ref": "283"
},
"optional": false,
"readOnly": false,
@@ -38304,13 +39194,13 @@
"isHttpMetadata": false
},
{
- "$id": "3318",
+ "$id": "3395",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`.",
"type": {
- "$ref": "288"
+ "$ref": "294"
},
"optional": false,
"readOnly": false,
@@ -38326,13 +39216,13 @@
"isHttpMetadata": false
},
{
- "$id": "3319",
+ "$id": "3396",
"kind": "property",
"name": "status_details",
"serializedName": "status_details",
"doc": "Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`.",
"type": {
- "$id": "3320",
+ "$id": "3397",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38370,12 +39260,12 @@
"isHttpMetadata": false
},
{
- "$id": "3321",
+ "$id": "3398",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "3322",
+ "$id": "3399",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38395,12 +39285,12 @@
"isHttpMetadata": false
},
{
- "$id": "3323",
+ "$id": "3400",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "3324",
+ "$id": "3401",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38420,12 +39310,12 @@
"isHttpMetadata": false
},
{
- "$id": "3325",
+ "$id": "3402",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "3326",
+ "$id": "3403",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -38447,10 +39337,10 @@
]
},
{
- "$ref": "3302"
+ "$ref": "3379"
},
{
- "$id": "3327",
+ "$id": "3404",
"kind": "model",
"name": "CreateFileRequest",
"namespace": "OpenAI",
@@ -38459,13 +39349,13 @@
"decorators": [],
"properties": [
{
- "$id": "3328",
+ "$id": "3405",
"kind": "property",
"name": "file",
"serializedName": "file",
"doc": "The File object (not file name) to be uploaded.",
"type": {
- "$id": "3329",
+ "$id": "3406",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -38492,13 +39382,13 @@
"isHttpMetadata": false
},
{
- "$id": "3330",
+ "$id": "3407",
"kind": "property",
"name": "purpose",
"serializedName": "purpose",
"doc": "The intended purpose of the uploaded file. One of: - `assistants`: Used in the Assistants API - `batch`: Used in the Batch API - `fine-tune`: Used for fine-tuning - `vision`: Images used for vision fine-tuning - `user_data`: Flexible file type for any purpose - `evals`: Used for eval data sets",
"type": {
- "$ref": "293"
+ "$ref": "299"
},
"optional": false,
"readOnly": false,
@@ -38522,7 +39412,7 @@
]
},
{
- "$id": "3331",
+ "$id": "3408",
"kind": "model",
"name": "DeleteFileResponse",
"namespace": "OpenAI",
@@ -38531,12 +39421,12 @@
"decorators": [],
"properties": [
{
- "$id": "3332",
+ "$id": "3409",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "3333",
+ "$id": "3410",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38556,12 +39446,12 @@
"isHttpMetadata": false
},
{
- "$id": "3334",
+ "$id": "3411",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1537"
+ "$ref": "1571"
},
"optional": false,
"readOnly": false,
@@ -38577,12 +39467,12 @@
"isHttpMetadata": false
},
{
- "$id": "3335",
+ "$id": "3412",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "3336",
+ "$id": "3413",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -38604,7 +39494,7 @@
]
},
{
- "$id": "3337",
+ "$id": "3414",
"kind": "model",
"name": "ListFineTuningCheckpointPermissionResponse",
"namespace": "OpenAI",
@@ -38613,16 +39503,16 @@
"decorators": [],
"properties": [
{
- "$id": "3338",
+ "$id": "3415",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "3339",
+ "$id": "3416",
"kind": "array",
"name": "ArrayFineTuningCheckpointPermission",
"valueType": {
- "$id": "3340",
+ "$id": "3417",
"kind": "model",
"name": "FineTuningCheckpointPermission",
"namespace": "OpenAI",
@@ -38632,13 +39522,13 @@
"decorators": [],
"properties": [
{
- "$id": "3341",
+ "$id": "3418",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The permission identifier, which can be referenced in the API endpoints.",
"type": {
- "$id": "3342",
+ "$id": "3419",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38658,18 +39548,18 @@
"isHttpMetadata": false
},
{
- "$id": "3343",
+ "$id": "3420",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the permission was created.",
"type": {
- "$id": "3344",
+ "$id": "3421",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3345",
+ "$id": "3422",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -38692,13 +39582,13 @@
"isHttpMetadata": false
},
{
- "$id": "3346",
+ "$id": "3423",
"kind": "property",
"name": "project_id",
"serializedName": "project_id",
"doc": "The project identifier that the permission is for.",
"type": {
- "$id": "3347",
+ "$id": "3424",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38718,13 +39608,13 @@
"isHttpMetadata": false
},
{
- "$id": "3348",
+ "$id": "3425",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"checkpoint.permission\".",
"type": {
- "$ref": "1539"
+ "$ref": "1573"
},
"optional": false,
"readOnly": false,
@@ -38758,12 +39648,12 @@
"isHttpMetadata": false
},
{
- "$id": "3349",
+ "$id": "3426",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1541"
+ "$ref": "1575"
},
"optional": false,
"readOnly": false,
@@ -38779,15 +39669,15 @@
"isHttpMetadata": false
},
{
- "$id": "3350",
+ "$id": "3427",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "3351",
+ "$id": "3428",
"kind": "nullable",
"type": {
- "$id": "3352",
+ "$id": "3429",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38809,15 +39699,15 @@
"isHttpMetadata": false
},
{
- "$id": "3353",
+ "$id": "3430",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "3354",
+ "$id": "3431",
"kind": "nullable",
"type": {
- "$id": "3355",
+ "$id": "3432",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38839,12 +39729,12 @@
"isHttpMetadata": false
},
{
- "$id": "3356",
+ "$id": "3433",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "3357",
+ "$id": "3434",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -38866,10 +39756,10 @@
]
},
{
- "$ref": "3340"
+ "$ref": "3417"
},
{
- "$id": "3358",
+ "$id": "3435",
"kind": "model",
"name": "CreateFineTuningCheckpointPermissionRequest",
"namespace": "OpenAI",
@@ -38878,13 +39768,13 @@
"decorators": [],
"properties": [
{
- "$id": "3359",
+ "$id": "3436",
"kind": "property",
"name": "project_ids",
"serializedName": "project_ids",
"doc": "The project identifiers to grant access to.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -38902,7 +39792,7 @@
]
},
{
- "$id": "3360",
+ "$id": "3437",
"kind": "model",
"name": "DeleteFineTuningCheckpointPermissionResponse",
"namespace": "OpenAI",
@@ -38911,13 +39801,13 @@
"decorators": [],
"properties": [
{
- "$id": "3361",
+ "$id": "3438",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The ID of the fine-tuned model checkpoint permission that was deleted.",
"type": {
- "$id": "3362",
+ "$id": "3439",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -38937,13 +39827,13 @@
"isHttpMetadata": false
},
{
- "$id": "3363",
+ "$id": "3440",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"checkpoint.permission\".",
"type": {
- "$ref": "1543"
+ "$ref": "1577"
},
"optional": false,
"readOnly": false,
@@ -38959,13 +39849,13 @@
"isHttpMetadata": false
},
{
- "$id": "3364",
+ "$id": "3441",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"doc": "Whether the fine-tuned model checkpoint permission was successfully deleted.",
"type": {
- "$id": "3365",
+ "$id": "3442",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -38987,7 +39877,7 @@
]
},
{
- "$id": "3366",
+ "$id": "3443",
"kind": "model",
"name": "CreateFineTuningJobRequest",
"namespace": "OpenAI",
@@ -38996,13 +39886,13 @@
"decorators": [],
"properties": [
{
- "$id": "3367",
+ "$id": "3444",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The name of the model to fine-tune. You can select one of the\n[supported models](/docs/guides/fine-tuning#which-models-can-be-fine-tuned).",
"type": {
- "$ref": "301"
+ "$ref": "307"
},
"optional": false,
"readOnly": false,
@@ -39018,13 +39908,13 @@
"isHttpMetadata": false
},
{
- "$id": "3368",
+ "$id": "3445",
"kind": "property",
"name": "training_file",
"serializedName": "training_file",
"doc": "The ID of an uploaded file that contains training data.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour dataset must be formatted as a JSONL file. Additionally, you must upload your file with the purpose `fine-tune`.\n\nThe contents of the file should differ depending on if the model uses the [chat](/docs/api-reference/fine-tuning/chat-input), [completions](/docs/api-reference/fine-tuning/completions-input) format, or if the fine-tuning method uses the [preference](/docs/api-reference/fine-tuning/preference-input) format.\n\nSee the [fine-tuning guide](/docs/guides/model-optimization) for more details.",
"type": {
- "$id": "3369",
+ "$id": "3446",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -39044,13 +39934,13 @@
"isHttpMetadata": false
},
{
- "$id": "3370",
+ "$id": "3447",
"kind": "property",
"name": "hyperparameters",
"serializedName": "hyperparameters",
"doc": "The hyperparameters used for the fine-tuning job.\nThis value is now deprecated in favor of `method`, and should be passed in under the `method` parameter.",
"type": {
- "$id": "3371",
+ "$id": "3448",
"kind": "model",
"name": "CreateFineTuningJobRequestHyperparameters",
"namespace": "OpenAI",
@@ -39059,21 +39949,21 @@
"decorators": [],
"properties": [
{
- "$id": "3372",
+ "$id": "3449",
"kind": "property",
"name": "batch_size",
"serializedName": "batch_size",
"doc": "Number of examples in each batch. A larger batch size means that model parameters\nare updated less frequently, but with lower variance.",
"type": {
- "$id": "3373",
+ "$id": "3450",
"kind": "union",
"name": "CreateFineTuningJobRequestHyperparametersBatchSize",
"variantTypes": [
{
- "$ref": "1545"
+ "$ref": "1579"
},
{
- "$id": "3374",
+ "$id": "3451",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -39097,21 +39987,21 @@
"isHttpMetadata": false
},
{
- "$id": "3375",
+ "$id": "3452",
"kind": "property",
"name": "learning_rate_multiplier",
"serializedName": "learning_rate_multiplier",
"doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid\noverfitting.",
"type": {
- "$id": "3376",
+ "$id": "3453",
"kind": "union",
"name": "CreateFineTuningJobRequestHyperparametersLearningRateMultiplier",
"variantTypes": [
{
- "$ref": "1547"
+ "$ref": "1581"
},
{
- "$id": "3377",
+ "$id": "3454",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -39135,21 +40025,21 @@
"isHttpMetadata": false
},
{
- "$id": "3378",
+ "$id": "3455",
"kind": "property",
"name": "n_epochs",
"serializedName": "n_epochs",
"doc": "The number of epochs to train the model for. An epoch refers to one full cycle\nthrough the training dataset.",
"type": {
- "$id": "3379",
+ "$id": "3456",
"kind": "union",
"name": "CreateFineTuningJobRequestHyperparametersNEpochs",
"variantTypes": [
{
- "$ref": "1549"
+ "$ref": "1583"
},
{
- "$id": "3380",
+ "$id": "3457",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -39188,16 +40078,16 @@
"isHttpMetadata": false
},
{
- "$id": "3381",
+ "$id": "3458",
"kind": "property",
"name": "suffix",
"serializedName": "suffix",
"doc": "A string of up to 64 characters that will be added to your fine-tuned model name.\n\nFor example, a `suffix` of \"custom-model-name\" would produce a model name like `ft:gpt-4o-mini:openai:custom-model-name:7p4lURel`.",
"type": {
- "$id": "3382",
+ "$id": "3459",
"kind": "nullable",
"type": {
- "$id": "3383",
+ "$id": "3460",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -39219,16 +40109,16 @@
"isHttpMetadata": false
},
{
- "$id": "3384",
+ "$id": "3461",
"kind": "property",
"name": "validation_file",
"serializedName": "validation_file",
"doc": "The ID of an uploaded file that contains validation data.\n\nIf you provide this file, the data is used to generate validation\nmetrics periodically during fine-tuning. These metrics can be viewed in\nthe fine-tuning results file.\nThe same data should not be present in both train and validation files.\n\nYour dataset must be formatted as a JSONL file. You must upload your file with the purpose `fine-tune`.\n\nSee the [fine-tuning guide](/docs/guides/model-optimization) for more details.",
"type": {
- "$id": "3385",
+ "$id": "3462",
"kind": "nullable",
"type": {
- "$id": "3386",
+ "$id": "3463",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -39250,20 +40140,20 @@
"isHttpMetadata": false
},
{
- "$id": "3387",
+ "$id": "3464",
"kind": "property",
"name": "integrations",
"serializedName": "integrations",
"doc": "A list of integrations to enable for your fine-tuning job.",
"type": {
- "$id": "3388",
+ "$id": "3465",
"kind": "nullable",
"type": {
- "$id": "3389",
+ "$id": "3466",
"kind": "array",
"name": "ArrayCreateFineTuningJobRequestIntegration",
"valueType": {
- "$id": "3390",
+ "$id": "3467",
"kind": "model",
"name": "CreateFineTuningJobRequestIntegration",
"namespace": "OpenAI",
@@ -39271,12 +40161,12 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3391",
+ "$id": "3468",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "307"
+ "$ref": "313"
},
"optional": false,
"readOnly": false,
@@ -39293,12 +40183,12 @@
},
"properties": [
{
- "$ref": "3391"
+ "$ref": "3468"
}
],
"discriminatedSubtypes": {
"wandb": {
- "$id": "3392",
+ "$id": "3469",
"kind": "model",
"name": "CreateFineTuningJobRequestWandbIntegration",
"namespace": "OpenAI",
@@ -39307,16 +40197,62 @@
"discriminatorValue": "wandb",
"decorators": [],
"baseModel": {
- "$ref": "3390"
+ "$ref": "3467"
},
"properties": [
{
- "$id": "3393",
+ "$id": "3470",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "309"
+ "$id": "3471",
+ "kind": "enumvalue",
+ "name": "wandb",
+ "value": "wandb",
+ "valueType": {
+ "$ref": "314"
+ },
+ "enumType": {
+ "$id": "3472",
+ "kind": "enum",
+ "decorators": [],
+ "name": "CreateFineTuningJobRequestIntegrationType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "3473",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "3474",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "wandb",
+ "value": "wandb",
+ "valueType": {
+ "$ref": "3473"
+ },
+ "enumType": {
+ "$ref": "3472"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestIntegration.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -39332,12 +40268,12 @@
"isHttpMetadata": false
},
{
- "$id": "3394",
+ "$id": "3475",
"kind": "property",
"name": "wandb",
"serializedName": "wandb",
"type": {
- "$id": "3395",
+ "$id": "3476",
"kind": "model",
"name": "CreateFineTuningJobRequestWandbIntegrationWandb",
"namespace": "OpenAI",
@@ -39346,12 +40282,12 @@
"decorators": [],
"properties": [
{
- "$id": "3396",
+ "$id": "3477",
"kind": "property",
"name": "project",
"serializedName": "project",
"type": {
- "$id": "3397",
+ "$id": "3478",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -39371,15 +40307,15 @@
"isHttpMetadata": false
},
{
- "$id": "3398",
+ "$id": "3479",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "3399",
+ "$id": "3480",
"kind": "nullable",
"type": {
- "$id": "3400",
+ "$id": "3481",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -39401,15 +40337,15 @@
"isHttpMetadata": false
},
{
- "$id": "3401",
+ "$id": "3482",
"kind": "property",
"name": "entity",
"serializedName": "entity",
"type": {
- "$id": "3402",
+ "$id": "3483",
"kind": "nullable",
"type": {
- "$id": "3403",
+ "$id": "3484",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -39431,12 +40367,12 @@
"isHttpMetadata": false
},
{
- "$id": "3404",
+ "$id": "3485",
"kind": "property",
"name": "tags",
"serializedName": "tags",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -39489,16 +40425,16 @@
"isHttpMetadata": false
},
{
- "$id": "3405",
+ "$id": "3486",
"kind": "property",
"name": "seed",
"serializedName": "seed",
"doc": "The seed controls the reproducibility of the job. Passing in the same seed and job parameters should produce the same results, but may differ in rare cases.\nIf a seed is not specified, one will be generated for you.",
"type": {
- "$id": "3406",
+ "$id": "3487",
"kind": "nullable",
"type": {
- "$id": "3407",
+ "$id": "3488",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -39520,12 +40456,12 @@
"isHttpMetadata": false
},
{
- "$id": "3408",
+ "$id": "3489",
"kind": "property",
"name": "method",
"serializedName": "method",
"type": {
- "$id": "3409",
+ "$id": "3490",
"kind": "model",
"name": "FineTuneMethod",
"namespace": "OpenAI",
@@ -39535,13 +40471,13 @@
"decorators": [],
"properties": [
{
- "$id": "3410",
+ "$id": "3491",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of method. Is either `supervised`, `dpo`, or `reinforcement`.",
"type": {
- "$ref": "310"
+ "$ref": "316"
},
"optional": false,
"readOnly": false,
@@ -39557,12 +40493,12 @@
"isHttpMetadata": false
},
{
- "$id": "3411",
+ "$id": "3492",
"kind": "property",
"name": "supervised",
"serializedName": "supervised",
"type": {
- "$id": "3412",
+ "$id": "3493",
"kind": "model",
"name": "FineTuneSupervisedMethod",
"namespace": "OpenAI",
@@ -39572,12 +40508,12 @@
"decorators": [],
"properties": [
{
- "$id": "3413",
+ "$id": "3494",
"kind": "property",
"name": "hyperparameters",
"serializedName": "hyperparameters",
"type": {
- "$id": "3414",
+ "$id": "3495",
"kind": "model",
"name": "FineTuneSupervisedHyperparameters",
"namespace": "OpenAI",
@@ -39587,21 +40523,21 @@
"decorators": [],
"properties": [
{
- "$id": "3415",
+ "$id": "3496",
"kind": "property",
"name": "batch_size",
"serializedName": "batch_size",
"doc": "Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.",
"type": {
- "$id": "3416",
+ "$id": "3497",
"kind": "union",
"name": "FineTuneSupervisedHyperparametersBatchSize",
"variantTypes": [
{
- "$ref": "1551"
+ "$ref": "1585"
},
{
- "$id": "3417",
+ "$id": "3498",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -39625,21 +40561,21 @@
"isHttpMetadata": false
},
{
- "$id": "3418",
+ "$id": "3499",
"kind": "property",
"name": "learning_rate_multiplier",
"serializedName": "learning_rate_multiplier",
"doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.",
"type": {
- "$id": "3419",
+ "$id": "3500",
"kind": "union",
"name": "FineTuneSupervisedHyperparametersLearningRateMultiplier",
"variantTypes": [
{
- "$ref": "1553"
+ "$ref": "1587"
},
{
- "$id": "3420",
+ "$id": "3501",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -39663,21 +40599,21 @@
"isHttpMetadata": false
},
{
- "$id": "3421",
+ "$id": "3502",
"kind": "property",
"name": "n_epochs",
"serializedName": "n_epochs",
"doc": "The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.",
"type": {
- "$id": "3422",
+ "$id": "3503",
"kind": "union",
"name": "FineTuneSupervisedHyperparametersNEpochs",
"variantTypes": [
{
- "$ref": "1555"
+ "$ref": "1589"
},
{
- "$id": "3423",
+ "$id": "3504",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -39731,12 +40667,12 @@
"isHttpMetadata": false
},
{
- "$id": "3424",
+ "$id": "3505",
"kind": "property",
"name": "dpo",
"serializedName": "dpo",
"type": {
- "$id": "3425",
+ "$id": "3506",
"kind": "model",
"name": "FineTuneDPOMethod",
"namespace": "OpenAI",
@@ -39746,12 +40682,12 @@
"decorators": [],
"properties": [
{
- "$id": "3426",
+ "$id": "3507",
"kind": "property",
"name": "hyperparameters",
"serializedName": "hyperparameters",
"type": {
- "$id": "3427",
+ "$id": "3508",
"kind": "model",
"name": "FineTuneDPOHyperparameters",
"namespace": "OpenAI",
@@ -39761,21 +40697,21 @@
"decorators": [],
"properties": [
{
- "$id": "3428",
+ "$id": "3509",
"kind": "property",
"name": "beta",
"serializedName": "beta",
"doc": "The beta value for the DPO method. A higher beta value will increase the weight of the penalty between the policy and reference model.",
"type": {
- "$id": "3429",
+ "$id": "3510",
"kind": "union",
"name": "FineTuneDPOHyperparametersBeta",
"variantTypes": [
{
- "$ref": "1557"
+ "$ref": "1591"
},
{
- "$id": "3430",
+ "$id": "3511",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -39799,21 +40735,21 @@
"isHttpMetadata": false
},
{
- "$id": "3431",
+ "$id": "3512",
"kind": "property",
"name": "batch_size",
"serializedName": "batch_size",
"doc": "Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.",
"type": {
- "$id": "3432",
+ "$id": "3513",
"kind": "union",
"name": "FineTuneDPOHyperparametersBatchSize",
"variantTypes": [
{
- "$ref": "1559"
+ "$ref": "1593"
},
{
- "$id": "3433",
+ "$id": "3514",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -39837,21 +40773,21 @@
"isHttpMetadata": false
},
{
- "$id": "3434",
+ "$id": "3515",
"kind": "property",
"name": "learning_rate_multiplier",
"serializedName": "learning_rate_multiplier",
"doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.",
"type": {
- "$id": "3435",
+ "$id": "3516",
"kind": "union",
"name": "FineTuneDPOHyperparametersLearningRateMultiplier",
"variantTypes": [
{
- "$ref": "1561"
+ "$ref": "1595"
},
{
- "$id": "3436",
+ "$id": "3517",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -39875,21 +40811,21 @@
"isHttpMetadata": false
},
{
- "$id": "3437",
+ "$id": "3518",
"kind": "property",
"name": "n_epochs",
"serializedName": "n_epochs",
"doc": "The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.",
"type": {
- "$id": "3438",
+ "$id": "3519",
"kind": "union",
"name": "FineTuneDPOHyperparametersNEpochs",
"variantTypes": [
{
- "$ref": "1563"
+ "$ref": "1597"
},
{
- "$id": "3439",
+ "$id": "3520",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -39943,12 +40879,12 @@
"isHttpMetadata": false
},
{
- "$id": "3440",
+ "$id": "3521",
"kind": "property",
"name": "reinforcement",
"serializedName": "reinforcement",
"type": {
- "$id": "3441",
+ "$id": "3522",
"kind": "model",
"name": "FineTuneReinforcementMethod",
"namespace": "OpenAI",
@@ -39958,18 +40894,18 @@
"decorators": [],
"properties": [
{
- "$id": "3442",
+ "$id": "3523",
"kind": "property",
"name": "grader",
"serializedName": "grader",
"doc": "The grader used for the fine-tuning job.",
"type": {
- "$id": "3443",
+ "$id": "3524",
"kind": "union",
"name": "FineTuneReinforcementMethodGrader",
"variantTypes": [
{
- "$id": "3444",
+ "$id": "3525",
"kind": "model",
"name": "GraderStringCheck",
"namespace": "OpenAI",
@@ -39979,7 +40915,7 @@
"discriminatorValue": "string_check",
"decorators": [],
"baseModel": {
- "$id": "3445",
+ "$id": "3526",
"kind": "model",
"name": "Grader",
"namespace": "OpenAI",
@@ -39987,12 +40923,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3446",
+ "$id": "3527",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "315"
+ "$ref": "327"
},
"optional": false,
"readOnly": false,
@@ -40009,15 +40945,15 @@
},
"properties": [
{
- "$ref": "3446"
+ "$ref": "3527"
}
],
"discriminatedSubtypes": {
"string_check": {
- "$ref": "3444"
+ "$ref": "3525"
},
"text_similarity": {
- "$id": "3447",
+ "$id": "3528",
"kind": "model",
"name": "GraderTextSimilarity",
"namespace": "OpenAI",
@@ -40027,17 +40963,128 @@
"discriminatorValue": "text_similarity",
"decorators": [],
"baseModel": {
- "$ref": "3445"
+ "$ref": "3526"
},
"properties": [
{
- "$id": "3448",
+ "$id": "3529",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of grader.",
"type": {
- "$ref": "318"
+ "$id": "3530",
+ "kind": "enumvalue",
+ "name": "text_similarity",
+ "value": "text_similarity",
+ "valueType": {
+ "$ref": "328"
+ },
+ "enumType": {
+ "$id": "3531",
+ "kind": "enum",
+ "decorators": [],
+ "name": "GraderType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "3532",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "3533",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "string_check",
+ "value": "string_check",
+ "valueType": {
+ "$ref": "3532"
+ },
+ "enumType": {
+ "$ref": "3531"
+ }
+ },
+ {
+ "$id": "3534",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "text_similarity",
+ "value": "text_similarity",
+ "valueType": {
+ "$ref": "3532"
+ },
+ "enumType": {
+ "$ref": "3531"
+ }
+ },
+ {
+ "$id": "3535",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "score_model",
+ "value": "score_model",
+ "valueType": {
+ "$ref": "3532"
+ },
+ "enumType": {
+ "$ref": "3531"
+ }
+ },
+ {
+ "$id": "3536",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "label_model",
+ "value": "label_model",
+ "valueType": {
+ "$ref": "3532"
+ },
+ "enumType": {
+ "$ref": "3531"
+ }
+ },
+ {
+ "$id": "3537",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "python",
+ "value": "python",
+ "valueType": {
+ "$ref": "3532"
+ },
+ "enumType": {
+ "$ref": "3531"
+ }
+ },
+ {
+ "$id": "3538",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "multi",
+ "value": "multi",
+ "valueType": {
+ "$ref": "3532"
+ },
+ "enumType": {
+ "$ref": "3531"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.GraderType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -40053,13 +41100,13 @@
"isHttpMetadata": false
},
{
- "$id": "3449",
+ "$id": "3539",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3450",
+ "$id": "3540",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40079,13 +41126,13 @@
"isHttpMetadata": false
},
{
- "$id": "3451",
+ "$id": "3541",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The text being graded.",
"type": {
- "$id": "3452",
+ "$id": "3542",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40105,13 +41152,13 @@
"isHttpMetadata": false
},
{
- "$id": "3453",
+ "$id": "3543",
"kind": "property",
"name": "reference",
"serializedName": "reference",
"doc": "The text being graded against.",
"type": {
- "$id": "3454",
+ "$id": "3544",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40131,13 +41178,13 @@
"isHttpMetadata": false
},
{
- "$id": "3455",
+ "$id": "3545",
"kind": "property",
"name": "evaluation_metric",
"serializedName": "evaluation_metric",
"doc": "The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.",
"type": {
- "$ref": "329"
+ "$ref": "335"
},
"optional": false,
"readOnly": false,
@@ -40155,7 +41202,7 @@
]
},
"python": {
- "$id": "3456",
+ "$id": "3546",
"kind": "model",
"name": "GraderPython",
"namespace": "OpenAI",
@@ -40165,17 +41212,27 @@
"discriminatorValue": "python",
"decorators": [],
"baseModel": {
- "$ref": "3445"
+ "$ref": "3526"
},
"properties": [
{
- "$id": "3457",
+ "$id": "3547",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `python`.",
"type": {
- "$ref": "321"
+ "$id": "3548",
+ "kind": "enumvalue",
+ "name": "python",
+ "value": "python",
+ "valueType": {
+ "$ref": "328"
+ },
+ "enumType": {
+ "$ref": "3531"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -40191,13 +41248,13 @@
"isHttpMetadata": false
},
{
- "$id": "3458",
+ "$id": "3549",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3459",
+ "$id": "3550",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40217,13 +41274,13 @@
"isHttpMetadata": false
},
{
- "$id": "3460",
+ "$id": "3551",
"kind": "property",
"name": "source",
"serializedName": "source",
"doc": "The source code of the python script.",
"type": {
- "$id": "3461",
+ "$id": "3552",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40243,13 +41300,13 @@
"isHttpMetadata": false
},
{
- "$id": "3462",
+ "$id": "3553",
"kind": "property",
"name": "image_tag",
"serializedName": "image_tag",
"doc": "The image tag to use for the python script.",
"type": {
- "$id": "3463",
+ "$id": "3554",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40271,7 +41328,7 @@
]
},
"score_model": {
- "$id": "3464",
+ "$id": "3555",
"kind": "model",
"name": "GraderScoreModel",
"namespace": "OpenAI",
@@ -40281,17 +41338,27 @@
"discriminatorValue": "score_model",
"decorators": [],
"baseModel": {
- "$ref": "3445"
+ "$ref": "3526"
},
"properties": [
{
- "$id": "3465",
+ "$id": "3556",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `score_model`.",
"type": {
- "$ref": "319"
+ "$id": "3557",
+ "kind": "enumvalue",
+ "name": "score_model",
+ "value": "score_model",
+ "valueType": {
+ "$ref": "328"
+ },
+ "enumType": {
+ "$ref": "3531"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -40307,13 +41374,13 @@
"isHttpMetadata": false
},
{
- "$id": "3466",
+ "$id": "3558",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3467",
+ "$id": "3559",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40333,13 +41400,13 @@
"isHttpMetadata": false
},
{
- "$id": "3468",
+ "$id": "3560",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for the evaluation.",
"type": {
- "$id": "3469",
+ "$id": "3561",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40359,13 +41426,13 @@
"isHttpMetadata": false
},
{
- "$id": "3470",
+ "$id": "3562",
"kind": "property",
"name": "sampling_params",
"serializedName": "sampling_params",
"doc": "The sampling parameters for the model.",
"type": {
- "$id": "3471",
+ "$id": "3563",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -40385,17 +41452,17 @@
"isHttpMetadata": false
},
{
- "$id": "3472",
+ "$id": "3564",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The input text. This may include template strings.",
"type": {
- "$id": "3473",
+ "$id": "3565",
"kind": "array",
"name": "ArrayEvalItem",
"valueType": {
- "$id": "3474",
+ "$id": "3566",
"kind": "model",
"name": "EvalItem",
"namespace": "OpenAI",
@@ -40405,13 +41472,13 @@
"decorators": [],
"properties": [
{
- "$id": "3475",
+ "$id": "3567",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.",
"type": {
- "$ref": "341"
+ "$ref": "347"
},
"optional": false,
"readOnly": false,
@@ -40427,25 +41494,25 @@
"isHttpMetadata": false
},
{
- "$id": "3476",
+ "$id": "3568",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "Text inputs to the model - can contain template strings.",
"type": {
- "$id": "3477",
+ "$id": "3569",
"kind": "union",
"name": "EvalItemContent1",
"variantTypes": [
{
- "$id": "3478",
+ "$id": "3570",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "3479",
+ "$id": "3571",
"kind": "model",
"name": "EvalItemContent",
"namespace": "OpenAI",
@@ -40453,12 +41520,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3480",
+ "$id": "3572",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "347"
+ "$ref": "353"
},
"optional": false,
"readOnly": false,
@@ -40475,12 +41542,12 @@
},
"properties": [
{
- "$ref": "3480"
+ "$ref": "3572"
}
],
"discriminatedSubtypes": {
"input_text": {
- "$id": "3481",
+ "$id": "3573",
"kind": "model",
"name": "EvalItemContentInputText",
"namespace": "OpenAI",
@@ -40489,16 +41556,75 @@
"discriminatorValue": "input_text",
"decorators": [],
"baseModel": {
- "$ref": "3479"
+ "$ref": "3571"
},
"properties": [
{
- "$id": "3482",
+ "$id": "3574",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "349"
+ "$id": "3575",
+ "kind": "enumvalue",
+ "name": "input_text",
+ "value": "input_text",
+ "valueType": {
+ "$ref": "354"
+ },
+ "enumType": {
+ "$id": "3576",
+ "kind": "enum",
+ "decorators": [],
+ "name": "EvalItemContentType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "3577",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "3578",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_text",
+ "value": "input_text",
+ "valueType": {
+ "$ref": "3577"
+ },
+ "enumType": {
+ "$ref": "3576"
+ }
+ },
+ {
+ "$id": "3579",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "output_text",
+ "value": "output_text",
+ "valueType": {
+ "$ref": "3577"
+ },
+ "enumType": {
+ "$ref": "3576"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.EvalItemContentType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -40514,12 +41640,12 @@
"isHttpMetadata": false
},
{
- "$id": "3483",
+ "$id": "3580",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "3484",
+ "$id": "3581",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40541,7 +41667,7 @@
]
},
"output_text": {
- "$id": "3485",
+ "$id": "3582",
"kind": "model",
"name": "EvalItemContentOutputText",
"namespace": "OpenAI",
@@ -40550,16 +41676,26 @@
"discriminatorValue": "output_text",
"decorators": [],
"baseModel": {
- "$ref": "3479"
+ "$ref": "3571"
},
"properties": [
{
- "$id": "3486",
+ "$id": "3583",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "350"
+ "$id": "3584",
+ "kind": "enumvalue",
+ "name": "output_text",
+ "value": "output_text",
+ "valueType": {
+ "$ref": "354"
+ },
+ "enumType": {
+ "$ref": "3576"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -40575,12 +41711,12 @@
"isHttpMetadata": false
},
{
- "$id": "3487",
+ "$id": "3585",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "3488",
+ "$id": "3586",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40621,13 +41757,13 @@
"isHttpMetadata": false
},
{
- "$id": "3489",
+ "$id": "3587",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the message input. Always `message`.",
"type": {
- "$ref": "1565"
+ "$ref": "357"
},
"optional": true,
"readOnly": false,
@@ -40661,13 +41797,13 @@
"isHttpMetadata": false
},
{
- "$id": "3490",
+ "$id": "3588",
"kind": "property",
"name": "range",
"serializedName": "range",
"doc": "The range of the score. Defaults to `[0, 1]`.",
"type": {
- "$ref": "2586"
+ "$ref": "2627"
},
"optional": true,
"readOnly": false,
@@ -40685,7 +41821,7 @@
]
},
"multi": {
- "$id": "3491",
+ "$id": "3589",
"kind": "model",
"name": "GraderMulti",
"namespace": "OpenAI",
@@ -40695,17 +41831,27 @@
"discriminatorValue": "multi",
"decorators": [],
"baseModel": {
- "$ref": "3445"
+ "$ref": "3526"
},
"properties": [
{
- "$id": "3492",
+ "$id": "3590",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `multi`.",
"type": {
- "$ref": "322"
+ "$id": "3591",
+ "kind": "enumvalue",
+ "name": "multi",
+ "value": "multi",
+ "valueType": {
+ "$ref": "328"
+ },
+ "enumType": {
+ "$ref": "3531"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -40721,13 +41867,13 @@
"isHttpMetadata": false
},
{
- "$id": "3493",
+ "$id": "3592",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3494",
+ "$id": "3593",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40747,29 +41893,29 @@
"isHttpMetadata": false
},
{
- "$id": "3495",
+ "$id": "3594",
"kind": "property",
"name": "graders",
"serializedName": "graders",
"type": {
- "$id": "3496",
+ "$id": "3595",
"kind": "union",
"name": "GraderMultiGraders",
"variantTypes": [
{
- "$ref": "3444"
+ "$ref": "3525"
},
{
- "$ref": "3447"
+ "$ref": "3528"
},
{
- "$ref": "3456"
+ "$ref": "3546"
},
{
- "$ref": "3464"
+ "$ref": "3555"
},
{
- "$id": "3497",
+ "$id": "3596",
"kind": "model",
"name": "GraderLabelModel",
"namespace": "OpenAI",
@@ -40779,17 +41925,27 @@
"discriminatorValue": "label_model",
"decorators": [],
"baseModel": {
- "$ref": "3445"
+ "$ref": "3526"
},
"properties": [
{
- "$id": "3498",
+ "$id": "3597",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `label_model`.",
"type": {
- "$ref": "320"
+ "$id": "3598",
+ "kind": "enumvalue",
+ "name": "label_model",
+ "value": "label_model",
+ "valueType": {
+ "$ref": "328"
+ },
+ "enumType": {
+ "$ref": "3531"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -40805,13 +41961,13 @@
"isHttpMetadata": false
},
{
- "$id": "3499",
+ "$id": "3599",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3500",
+ "$id": "3600",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40831,13 +41987,13 @@
"isHttpMetadata": false
},
{
- "$id": "3501",
+ "$id": "3601",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for the evaluation. Must support structured outputs.",
"type": {
- "$id": "3502",
+ "$id": "3602",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40857,12 +42013,12 @@
"isHttpMetadata": false
},
{
- "$id": "3503",
+ "$id": "3603",
"kind": "property",
"name": "input",
"serializedName": "input",
"type": {
- "$ref": "3473"
+ "$ref": "3565"
},
"optional": false,
"readOnly": false,
@@ -40878,13 +42034,13 @@
"isHttpMetadata": false
},
{
- "$id": "3504",
+ "$id": "3604",
"kind": "property",
"name": "labels",
"serializedName": "labels",
"doc": "The labels to assign to each item in the evaluation.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -40900,13 +42056,13 @@
"isHttpMetadata": false
},
{
- "$id": "3505",
+ "$id": "3605",
"kind": "property",
"name": "passing_labels",
"serializedName": "passing_labels",
"doc": "The labels that indicate a passing result. Must be a subset of labels.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -40941,13 +42097,13 @@
"isHttpMetadata": false
},
{
- "$id": "3506",
+ "$id": "3606",
"kind": "property",
"name": "calculate_output",
"serializedName": "calculate_output",
"doc": "A formula to calculate the output based on grader results.",
"type": {
- "$id": "3507",
+ "$id": "3607",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -40969,27 +42125,27 @@
]
},
"label_model": {
- "$ref": "3497"
+ "$ref": "3596"
}
}
},
"properties": [
{
- "$id": "3508",
+ "$id": "3608",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `string_check`.",
"type": {
- "$id": "3509",
+ "$id": "3609",
"kind": "enumvalue",
"name": "string_check",
"value": "string_check",
"valueType": {
- "$ref": "316"
+ "$ref": "328"
},
"enumType": {
- "$ref": "315"
+ "$ref": "3531"
},
"decorators": []
},
@@ -41007,13 +42163,13 @@
"isHttpMetadata": false
},
{
- "$id": "3510",
+ "$id": "3610",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3511",
+ "$id": "3611",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41033,13 +42189,13 @@
"isHttpMetadata": false
},
{
- "$id": "3512",
+ "$id": "3612",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The input text. This may include template strings.",
"type": {
- "$id": "3513",
+ "$id": "3613",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41059,13 +42215,13 @@
"isHttpMetadata": false
},
{
- "$id": "3514",
+ "$id": "3614",
"kind": "property",
"name": "reference",
"serializedName": "reference",
"doc": "The reference text. This may include template strings.",
"type": {
- "$id": "3515",
+ "$id": "3615",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41085,13 +42241,13 @@
"isHttpMetadata": false
},
{
- "$id": "3516",
+ "$id": "3616",
"kind": "property",
"name": "operation",
"serializedName": "operation",
"doc": "The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`.",
"type": {
- "$ref": "323"
+ "$ref": "321"
},
"optional": false,
"readOnly": false,
@@ -41109,16 +42265,16 @@
]
},
{
- "$ref": "3447"
+ "$ref": "3528"
},
{
- "$ref": "3456"
+ "$ref": "3546"
},
{
- "$ref": "3464"
+ "$ref": "3555"
},
{
- "$ref": "3491"
+ "$ref": "3589"
}
],
"namespace": "OpenAI",
@@ -41138,12 +42294,12 @@
"isHttpMetadata": false
},
{
- "$id": "3517",
+ "$id": "3617",
"kind": "property",
"name": "hyperparameters",
"serializedName": "hyperparameters",
"type": {
- "$id": "3518",
+ "$id": "3618",
"kind": "model",
"name": "FineTuneReinforcementHyperparameters",
"namespace": "OpenAI",
@@ -41153,21 +42309,21 @@
"decorators": [],
"properties": [
{
- "$id": "3519",
+ "$id": "3619",
"kind": "property",
"name": "batch_size",
"serializedName": "batch_size",
"doc": "Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.",
"type": {
- "$id": "3520",
+ "$id": "3620",
"kind": "union",
"name": "FineTuneReinforcementHyperparametersBatchSize",
"variantTypes": [
{
- "$ref": "1567"
+ "$ref": "1599"
},
{
- "$id": "3521",
+ "$id": "3621",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41191,21 +42347,21 @@
"isHttpMetadata": false
},
{
- "$id": "3522",
+ "$id": "3622",
"kind": "property",
"name": "learning_rate_multiplier",
"serializedName": "learning_rate_multiplier",
"doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.",
"type": {
- "$id": "3523",
+ "$id": "3623",
"kind": "union",
"name": "FineTuneReinforcementHyperparametersLearningRateMultiplier",
"variantTypes": [
{
- "$ref": "1569"
+ "$ref": "1601"
},
{
- "$id": "3524",
+ "$id": "3624",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -41229,21 +42385,21 @@
"isHttpMetadata": false
},
{
- "$id": "3525",
+ "$id": "3625",
"kind": "property",
"name": "n_epochs",
"serializedName": "n_epochs",
"doc": "The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.",
"type": {
- "$id": "3526",
+ "$id": "3626",
"kind": "union",
"name": "FineTuneReinforcementHyperparametersNEpochs",
"variantTypes": [
{
- "$ref": "1571"
+ "$ref": "1603"
},
{
- "$id": "3527",
+ "$id": "3627",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41267,13 +42423,13 @@
"isHttpMetadata": false
},
{
- "$id": "3528",
+ "$id": "3628",
"kind": "property",
"name": "reasoning_effort",
"serializedName": "reasoning_effort",
"doc": "Level of reasoning effort.",
"type": {
- "$ref": "351"
+ "$ref": "361"
},
"optional": true,
"readOnly": false,
@@ -41289,21 +42445,21 @@
"isHttpMetadata": false
},
{
- "$id": "3529",
+ "$id": "3629",
"kind": "property",
"name": "compute_multiplier",
"serializedName": "compute_multiplier",
"doc": "Multiplier on amount of compute used for exploring search space during training.",
"type": {
- "$id": "3530",
+ "$id": "3630",
"kind": "union",
"name": "FineTuneReinforcementHyperparametersComputeMultiplier",
"variantTypes": [
{
- "$ref": "1573"
+ "$ref": "1605"
},
{
- "$id": "3531",
+ "$id": "3631",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -41327,21 +42483,21 @@
"isHttpMetadata": false
},
{
- "$id": "3532",
+ "$id": "3632",
"kind": "property",
"name": "eval_interval",
"serializedName": "eval_interval",
"doc": "The number of training steps between evaluation runs.",
"type": {
- "$id": "3533",
+ "$id": "3633",
"kind": "union",
"name": "FineTuneReinforcementHyperparametersEvalInterval",
"variantTypes": [
{
- "$ref": "1575"
+ "$ref": "1607"
},
{
- "$id": "3534",
+ "$id": "3634",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41365,21 +42521,21 @@
"isHttpMetadata": false
},
{
- "$id": "3535",
+ "$id": "3635",
"kind": "property",
"name": "eval_samples",
"serializedName": "eval_samples",
"doc": "Number of evaluation samples to generate per training step.",
"type": {
- "$id": "3536",
+ "$id": "3636",
"kind": "union",
"name": "FineTuneReinforcementHyperparametersEvalSamples",
"variantTypes": [
{
- "$ref": "1577"
+ "$ref": "1609"
},
{
- "$id": "3537",
+ "$id": "3637",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41448,13 +42604,13 @@
"isHttpMetadata": false
},
{
- "$id": "3538",
+ "$id": "3638",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -41472,73 +42628,73 @@
]
},
{
- "$ref": "3371"
+ "$ref": "3448"
},
{
- "$ref": "3390"
+ "$ref": "3467"
},
{
- "$ref": "3392"
+ "$ref": "3469"
},
{
- "$ref": "3395"
+ "$ref": "3476"
},
{
- "$ref": "3409"
+ "$ref": "3490"
},
{
- "$ref": "3412"
+ "$ref": "3493"
},
{
- "$ref": "3414"
+ "$ref": "3495"
},
{
- "$ref": "3425"
+ "$ref": "3506"
},
{
- "$ref": "3427"
+ "$ref": "3508"
},
{
- "$ref": "3441"
+ "$ref": "3522"
},
{
- "$ref": "3444"
+ "$ref": "3525"
},
{
- "$ref": "3445"
+ "$ref": "3526"
},
{
- "$ref": "3447"
+ "$ref": "3528"
},
{
- "$ref": "3456"
+ "$ref": "3546"
},
{
- "$ref": "3464"
+ "$ref": "3555"
},
{
- "$ref": "3474"
+ "$ref": "3566"
},
{
- "$ref": "3479"
+ "$ref": "3571"
},
{
- "$ref": "3481"
+ "$ref": "3573"
},
{
- "$ref": "3485"
+ "$ref": "3582"
},
{
- "$ref": "3491"
+ "$ref": "3589"
},
{
- "$ref": "3497"
+ "$ref": "3596"
},
{
- "$ref": "3518"
+ "$ref": "3618"
},
{
- "$id": "3539",
+ "$id": "3639",
"kind": "model",
"name": "FineTuningJob",
"namespace": "OpenAI",
@@ -41548,16 +42704,16 @@
"decorators": [],
"properties": [
{
- "$id": "3540",
+ "$id": "3640",
"kind": "property",
"name": "user_provided_suffix",
"serializedName": "user_provided_suffix",
"doc": "The descriptive suffix applied to the job, as specified in the job creation request.",
"type": {
- "$id": "3541",
+ "$id": "3641",
"kind": "nullable",
"type": {
- "$id": "3542",
+ "$id": "3642",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41579,13 +42735,13 @@
"isHttpMetadata": false
},
{
- "$id": "3543",
+ "$id": "3643",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The object identifier, which can be referenced in the API endpoints.",
"type": {
- "$id": "3544",
+ "$id": "3644",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41605,18 +42761,18 @@
"isHttpMetadata": false
},
{
- "$id": "3545",
+ "$id": "3645",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the fine-tuning job was created.",
"type": {
- "$id": "3546",
+ "$id": "3646",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3547",
+ "$id": "3647",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41639,16 +42795,16 @@
"isHttpMetadata": false
},
{
- "$id": "3548",
+ "$id": "3648",
"kind": "property",
"name": "error",
"serializedName": "error",
"doc": "For fine-tuning jobs that have `failed`, this will contain more information on the cause of the failure.",
"type": {
- "$id": "3549",
+ "$id": "3649",
"kind": "nullable",
"type": {
- "$id": "3550",
+ "$id": "3650",
"kind": "model",
"name": "FineTuningJobError1",
"namespace": "OpenAI",
@@ -41657,13 +42813,13 @@
"decorators": [],
"properties": [
{
- "$id": "3551",
+ "$id": "3651",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "A machine-readable error code.",
"type": {
- "$id": "3552",
+ "$id": "3652",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41683,13 +42839,13 @@
"isHttpMetadata": false
},
{
- "$id": "3553",
+ "$id": "3653",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable error message.",
"type": {
- "$id": "3554",
+ "$id": "3654",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41709,16 +42865,16 @@
"isHttpMetadata": false
},
{
- "$id": "3555",
+ "$id": "3655",
"kind": "property",
"name": "param",
"serializedName": "param",
"doc": "The parameter that was invalid, usually `training_file` or `validation_file`. This field will be null if the failure was not parameter-specific.",
"type": {
- "$id": "3556",
+ "$id": "3656",
"kind": "nullable",
"type": {
- "$id": "3557",
+ "$id": "3657",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41757,16 +42913,16 @@
"isHttpMetadata": false
},
{
- "$id": "3558",
+ "$id": "3658",
"kind": "property",
"name": "fine_tuned_model",
"serializedName": "fine_tuned_model",
"doc": "The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.",
"type": {
- "$id": "3559",
+ "$id": "3659",
"kind": "nullable",
"type": {
- "$id": "3560",
+ "$id": "3660",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -41788,21 +42944,21 @@
"isHttpMetadata": false
},
{
- "$id": "3561",
+ "$id": "3661",
"kind": "property",
"name": "finished_at",
"serializedName": "finished_at",
"doc": "The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.",
"type": {
- "$id": "3562",
+ "$id": "3662",
"kind": "nullable",
"type": {
- "$id": "3563",
+ "$id": "3663",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3564",
+ "$id": "3664",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41827,13 +42983,13 @@
"isHttpMetadata": false
},
{
- "$id": "3565",
+ "$id": "3665",
"kind": "property",
"name": "hyperparameters",
"serializedName": "hyperparameters",
"doc": "The hyperparameters used for the fine-tuning job. This value will only be returned when running `supervised` jobs.",
"type": {
- "$id": "3566",
+ "$id": "3666",
"kind": "model",
"name": "FineTuningJobHyperparameters",
"namespace": "OpenAI",
@@ -41842,24 +42998,24 @@
"decorators": [],
"properties": [
{
- "$id": "3567",
+ "$id": "3667",
"kind": "property",
"name": "batch_size",
"serializedName": "batch_size",
"doc": "Number of examples in each batch. A larger batch size means that model parameters\nare updated less frequently, but with lower variance.",
"type": {
- "$id": "3568",
+ "$id": "3668",
"kind": "nullable",
"type": {
- "$id": "3569",
+ "$id": "3669",
"kind": "union",
"name": "FineTuningJobHyperparametersBatchSize",
"variantTypes": [
{
- "$ref": "1579"
+ "$ref": "1611"
},
{
- "$id": "3570",
+ "$id": "3670",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41885,21 +43041,21 @@
"isHttpMetadata": false
},
{
- "$id": "3571",
+ "$id": "3671",
"kind": "property",
"name": "learning_rate_multiplier",
"serializedName": "learning_rate_multiplier",
"doc": "Scaling factor for the learning rate. A smaller learning rate may be useful to avoid\noverfitting.",
"type": {
- "$id": "3572",
+ "$id": "3672",
"kind": "union",
"name": "FineTuningJobHyperparametersLearningRateMultiplier",
"variantTypes": [
{
- "$ref": "1581"
+ "$ref": "1613"
},
{
- "$id": "3573",
+ "$id": "3673",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -41923,21 +43079,21 @@
"isHttpMetadata": false
},
{
- "$id": "3574",
+ "$id": "3674",
"kind": "property",
"name": "n_epochs",
"serializedName": "n_epochs",
"doc": "The number of epochs to train the model for. An epoch refers to one full cycle\nthrough the training dataset.",
"type": {
- "$id": "3575",
+ "$id": "3675",
"kind": "union",
"name": "FineTuningJobHyperparametersNEpochs",
"variantTypes": [
{
- "$ref": "1583"
+ "$ref": "1615"
},
{
- "$id": "3576",
+ "$id": "3676",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -41976,13 +43132,13 @@
"isHttpMetadata": false
},
{
- "$id": "3577",
+ "$id": "3677",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The base model that is being fine-tuned.",
"type": {
- "$id": "3578",
+ "$id": "3678",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42002,13 +43158,13 @@
"isHttpMetadata": false
},
{
- "$id": "3579",
+ "$id": "3679",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"fine_tuning.job\".",
"type": {
- "$ref": "1585"
+ "$ref": "1617"
},
"optional": false,
"readOnly": false,
@@ -42024,13 +43180,13 @@
"isHttpMetadata": false
},
{
- "$id": "3580",
+ "$id": "3680",
"kind": "property",
"name": "organization_id",
"serializedName": "organization_id",
"doc": "The organization that owns the fine-tuning job.",
"type": {
- "$id": "3581",
+ "$id": "3681",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42050,13 +43206,13 @@
"isHttpMetadata": false
},
{
- "$id": "3582",
+ "$id": "3682",
"kind": "property",
"name": "result_files",
"serializedName": "result_files",
"doc": "The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the [Files API](/docs/api-reference/files/retrieve-contents).",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -42072,13 +43228,13 @@
"isHttpMetadata": false
},
{
- "$id": "3583",
+ "$id": "3683",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The current status of the fine-tuning job, which can be either `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`.",
"type": {
- "$ref": "357"
+ "$ref": "367"
},
"optional": false,
"readOnly": false,
@@ -42094,16 +43250,16 @@
"isHttpMetadata": false
},
{
- "$id": "3584",
+ "$id": "3684",
"kind": "property",
"name": "trained_tokens",
"serializedName": "trained_tokens",
"doc": "The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.",
"type": {
- "$id": "3585",
+ "$id": "3685",
"kind": "nullable",
"type": {
- "$id": "3586",
+ "$id": "3686",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -42125,13 +43281,13 @@
"isHttpMetadata": false
},
{
- "$id": "3587",
+ "$id": "3687",
"kind": "property",
"name": "training_file",
"serializedName": "training_file",
"doc": "The file ID used for training. You can retrieve the training data with the [Files API](/docs/api-reference/files/retrieve-contents).",
"type": {
- "$id": "3588",
+ "$id": "3688",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42151,16 +43307,16 @@
"isHttpMetadata": false
},
{
- "$id": "3589",
+ "$id": "3689",
"kind": "property",
"name": "validation_file",
"serializedName": "validation_file",
"doc": "The file ID used for validation. You can retrieve the validation results with the [Files API](/docs/api-reference/files/retrieve-contents).",
"type": {
- "$id": "3590",
+ "$id": "3690",
"kind": "nullable",
"type": {
- "$id": "3591",
+ "$id": "3691",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42182,20 +43338,20 @@
"isHttpMetadata": false
},
{
- "$id": "3592",
+ "$id": "3692",
"kind": "property",
"name": "integrations",
"serializedName": "integrations",
"doc": "A list of integrations to enable for this fine-tuning job.",
"type": {
- "$id": "3593",
+ "$id": "3693",
"kind": "nullable",
"type": {
- "$id": "3594",
+ "$id": "3694",
"kind": "array",
"name": "ArrayFineTuningIntegration",
"valueType": {
- "$id": "3595",
+ "$id": "3695",
"kind": "model",
"name": "FineTuningIntegration",
"namespace": "OpenAI",
@@ -42203,12 +43359,12 @@
"usage": "Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3596",
+ "$id": "3696",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "365"
+ "$ref": "375"
},
"optional": false,
"readOnly": false,
@@ -42225,12 +43381,12 @@
},
"properties": [
{
- "$ref": "3596"
+ "$ref": "3696"
}
],
"discriminatedSubtypes": {
"wandb": {
- "$id": "3597",
+ "$id": "3697",
"kind": "model",
"name": "FineTuningIntegrationWandb",
"namespace": "OpenAI",
@@ -42239,17 +43395,63 @@
"discriminatorValue": "wandb",
"decorators": [],
"baseModel": {
- "$ref": "3595"
+ "$ref": "3695"
},
"properties": [
{
- "$id": "3598",
+ "$id": "3698",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the integration being enabled for the fine-tuning job",
"type": {
- "$ref": "367"
+ "$id": "3699",
+ "kind": "enumvalue",
+ "name": "wandb",
+ "value": "wandb",
+ "valueType": {
+ "$ref": "376"
+ },
+ "enumType": {
+ "$id": "3700",
+ "kind": "enum",
+ "decorators": [],
+ "name": "FineTuningIntegrationType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "3701",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "3702",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "wandb",
+ "value": "wandb",
+ "valueType": {
+ "$ref": "3701"
+ },
+ "enumType": {
+ "$ref": "3700"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.FineTuningIntegration.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -42265,13 +43467,13 @@
"isHttpMetadata": false
},
{
- "$id": "3599",
+ "$id": "3703",
"kind": "property",
"name": "wandb",
"serializedName": "wandb",
"doc": "The settings for your integration with Weights and Biases. This payload specifies the project that\nmetrics will be sent to. Optionally, you can set an explicit display name for your run, add tags\nto your run, and set a default entity (team, username, etc) to be associated with your run.",
"type": {
- "$id": "3600",
+ "$id": "3704",
"kind": "model",
"name": "FineTuningIntegrationWandbWandb",
"namespace": "OpenAI",
@@ -42280,13 +43482,13 @@
"decorators": [],
"properties": [
{
- "$id": "3601",
+ "$id": "3705",
"kind": "property",
"name": "project",
"serializedName": "project",
"doc": "The name of the project that the new run will be created under.",
"type": {
- "$id": "3602",
+ "$id": "3706",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42306,16 +43508,16 @@
"isHttpMetadata": false
},
{
- "$id": "3603",
+ "$id": "3707",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "A display name to set for the run. If not set, we will use the Job ID as the name.",
"type": {
- "$id": "3604",
+ "$id": "3708",
"kind": "nullable",
"type": {
- "$id": "3605",
+ "$id": "3709",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42337,16 +43539,16 @@
"isHttpMetadata": false
},
{
- "$id": "3606",
+ "$id": "3710",
"kind": "property",
"name": "entity",
"serializedName": "entity",
"doc": "The entity to use for the run. This allows you to set the team or username of the WandB user that you would\nlike associated with the run. If not set, the default entity for the registered WandB API key is used.",
"type": {
- "$id": "3607",
+ "$id": "3711",
"kind": "nullable",
"type": {
- "$id": "3608",
+ "$id": "3712",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42368,13 +43570,13 @@
"isHttpMetadata": false
},
{
- "$id": "3609",
+ "$id": "3713",
"kind": "property",
"name": "tags",
"serializedName": "tags",
"doc": "A list of tags to be attached to the newly created run. These tags are passed through directly to WandB. Some\ndefault tags are generated by OpenAI: \"openai/finetune\", \"openai/{base-model}\", \"openai/{ftjob-abcdef}\".",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -42427,13 +43629,13 @@
"isHttpMetadata": false
},
{
- "$id": "3610",
+ "$id": "3714",
"kind": "property",
"name": "seed",
"serializedName": "seed",
"doc": "The seed used for the fine-tuning job.",
"type": {
- "$id": "3611",
+ "$id": "3715",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -42453,21 +43655,21 @@
"isHttpMetadata": false
},
{
- "$id": "3612",
+ "$id": "3716",
"kind": "property",
"name": "estimated_finish",
"serializedName": "estimated_finish",
"doc": "The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. The value will be null if the fine-tuning job is not running.",
"type": {
- "$id": "3613",
+ "$id": "3717",
"kind": "nullable",
"type": {
- "$id": "3614",
+ "$id": "3718",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3615",
+ "$id": "3719",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -42492,12 +43694,12 @@
"isHttpMetadata": false
},
{
- "$id": "3616",
+ "$id": "3720",
"kind": "property",
"name": "method",
"serializedName": "method",
"type": {
- "$ref": "3409"
+ "$ref": "3490"
},
"optional": true,
"readOnly": false,
@@ -42513,13 +43715,13 @@
"isHttpMetadata": false
},
{
- "$id": "3617",
+ "$id": "3721",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -42537,22 +43739,22 @@
]
},
{
- "$ref": "3550"
+ "$ref": "3650"
},
{
- "$ref": "3566"
+ "$ref": "3666"
},
{
- "$ref": "3595"
+ "$ref": "3695"
},
{
- "$ref": "3597"
+ "$ref": "3697"
},
{
- "$ref": "3600"
+ "$ref": "3704"
},
{
- "$id": "3618",
+ "$id": "3722",
"kind": "model",
"name": "ListPaginatedFineTuningJobsResponse",
"namespace": "OpenAI",
@@ -42561,16 +43763,16 @@
"decorators": [],
"properties": [
{
- "$id": "3619",
+ "$id": "3723",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "3620",
+ "$id": "3724",
"kind": "array",
"name": "ArrayFineTuningJob",
"valueType": {
- "$ref": "3539"
+ "$ref": "3639"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -42589,12 +43791,12 @@
"isHttpMetadata": false
},
{
- "$id": "3621",
+ "$id": "3725",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "3622",
+ "$id": "3726",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -42614,12 +43816,12 @@
"isHttpMetadata": false
},
{
- "$id": "3623",
+ "$id": "3727",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1587"
+ "$ref": "1619"
},
"optional": false,
"readOnly": false,
@@ -42637,7 +43839,7 @@
]
},
{
- "$id": "3624",
+ "$id": "3728",
"kind": "model",
"name": "ListFineTuningJobCheckpointsResponse",
"namespace": "OpenAI",
@@ -42646,16 +43848,16 @@
"decorators": [],
"properties": [
{
- "$id": "3625",
+ "$id": "3729",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "3626",
+ "$id": "3730",
"kind": "array",
"name": "ArrayFineTuningJobCheckpoint",
"valueType": {
- "$id": "3627",
+ "$id": "3731",
"kind": "model",
"name": "FineTuningJobCheckpoint",
"namespace": "OpenAI",
@@ -42665,13 +43867,13 @@
"decorators": [],
"properties": [
{
- "$id": "3628",
+ "$id": "3732",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The checkpoint identifier, which can be referenced in the API endpoints.",
"type": {
- "$id": "3629",
+ "$id": "3733",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42691,18 +43893,18 @@
"isHttpMetadata": false
},
{
- "$id": "3630",
+ "$id": "3734",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the checkpoint was created.",
"type": {
- "$id": "3631",
+ "$id": "3735",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3632",
+ "$id": "3736",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -42725,13 +43927,13 @@
"isHttpMetadata": false
},
{
- "$id": "3633",
+ "$id": "3737",
"kind": "property",
"name": "fine_tuned_model_checkpoint",
"serializedName": "fine_tuned_model_checkpoint",
"doc": "The name of the fine-tuned checkpoint model that is created.",
"type": {
- "$id": "3634",
+ "$id": "3738",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -42751,13 +43953,13 @@
"isHttpMetadata": false
},
{
- "$id": "3635",
+ "$id": "3739",
"kind": "property",
"name": "step_number",
"serializedName": "step_number",
"doc": "The step number that the checkpoint was created at.",
"type": {
- "$id": "3636",
+ "$id": "3740",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -42777,13 +43979,13 @@
"isHttpMetadata": false
},
{
- "$id": "3637",
+ "$id": "3741",
"kind": "property",
"name": "metrics",
"serializedName": "metrics",
"doc": "Metrics at the step number during the fine-tuning job.",
"type": {
- "$id": "3638",
+ "$id": "3742",
"kind": "model",
"name": "FineTuningJobCheckpointMetrics",
"namespace": "OpenAI",
@@ -42792,12 +43994,12 @@
"decorators": [],
"properties": [
{
- "$id": "3639",
+ "$id": "3743",
"kind": "property",
"name": "step",
"serializedName": "step",
"type": {
- "$id": "3640",
+ "$id": "3744",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -42817,12 +44019,12 @@
"isHttpMetadata": false
},
{
- "$id": "3641",
+ "$id": "3745",
"kind": "property",
"name": "train_loss",
"serializedName": "train_loss",
"type": {
- "$id": "3642",
+ "$id": "3746",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -42842,12 +44044,12 @@
"isHttpMetadata": false
},
{
- "$id": "3643",
+ "$id": "3747",
"kind": "property",
"name": "train_mean_token_accuracy",
"serializedName": "train_mean_token_accuracy",
"type": {
- "$id": "3644",
+ "$id": "3748",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -42867,12 +44069,12 @@
"isHttpMetadata": false
},
{
- "$id": "3645",
+ "$id": "3749",
"kind": "property",
"name": "valid_loss",
"serializedName": "valid_loss",
"type": {
- "$id": "3646",
+ "$id": "3750",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -42892,12 +44094,12 @@
"isHttpMetadata": false
},
{
- "$id": "3647",
+ "$id": "3751",
"kind": "property",
"name": "valid_mean_token_accuracy",
"serializedName": "valid_mean_token_accuracy",
"type": {
- "$id": "3648",
+ "$id": "3752",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -42917,12 +44119,12 @@
"isHttpMetadata": false
},
{
- "$id": "3649",
+ "$id": "3753",
"kind": "property",
"name": "full_valid_loss",
"serializedName": "full_valid_loss",
"type": {
- "$id": "3650",
+ "$id": "3754",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -42942,12 +44144,12 @@
"isHttpMetadata": false
},
{
- "$id": "3651",
+ "$id": "3755",
"kind": "property",
"name": "full_valid_mean_token_accuracy",
"serializedName": "full_valid_mean_token_accuracy",
"type": {
- "$id": "3652",
+ "$id": "3756",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -42982,13 +44184,13 @@
"isHttpMetadata": false
},
{
- "$id": "3653",
+ "$id": "3757",
"kind": "property",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The name of the fine-tuning job that this checkpoint was created from.",
"type": {
- "$id": "3654",
+ "$id": "3758",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43008,13 +44210,13 @@
"isHttpMetadata": false
},
{
- "$id": "3655",
+ "$id": "3759",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"fine_tuning.job.checkpoint\".",
"type": {
- "$ref": "1589"
+ "$ref": "1621"
},
"optional": false,
"readOnly": false,
@@ -43048,12 +44250,12 @@
"isHttpMetadata": false
},
{
- "$id": "3656",
+ "$id": "3760",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1591"
+ "$ref": "1623"
},
"optional": false,
"readOnly": false,
@@ -43069,15 +44271,15 @@
"isHttpMetadata": false
},
{
- "$id": "3657",
+ "$id": "3761",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "3658",
+ "$id": "3762",
"kind": "nullable",
"type": {
- "$id": "3659",
+ "$id": "3763",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43099,15 +44301,15 @@
"isHttpMetadata": false
},
{
- "$id": "3660",
+ "$id": "3764",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "3661",
+ "$id": "3765",
"kind": "nullable",
"type": {
- "$id": "3662",
+ "$id": "3766",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43129,12 +44331,12 @@
"isHttpMetadata": false
},
{
- "$id": "3663",
+ "$id": "3767",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "3664",
+ "$id": "3768",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43156,13 +44358,13 @@
]
},
{
- "$ref": "3627"
+ "$ref": "3731"
},
{
- "$ref": "3638"
+ "$ref": "3742"
},
{
- "$id": "3665",
+ "$id": "3769",
"kind": "model",
"name": "ListFineTuningJobEventsResponse",
"namespace": "OpenAI",
@@ -43171,16 +44373,16 @@
"decorators": [],
"properties": [
{
- "$id": "3666",
+ "$id": "3770",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "3667",
+ "$id": "3771",
"kind": "array",
"name": "ArrayFineTuningJobEvent",
"valueType": {
- "$id": "3668",
+ "$id": "3772",
"kind": "model",
"name": "FineTuningJobEvent",
"namespace": "OpenAI",
@@ -43190,13 +44392,13 @@
"decorators": [],
"properties": [
{
- "$id": "3669",
+ "$id": "3773",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"fine_tuning.job.event\".",
"type": {
- "$ref": "1593"
+ "$ref": "1625"
},
"optional": false,
"readOnly": false,
@@ -43212,13 +44414,13 @@
"isHttpMetadata": false
},
{
- "$id": "3670",
+ "$id": "3774",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The object identifier.",
"type": {
- "$id": "3671",
+ "$id": "3775",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43238,18 +44440,18 @@
"isHttpMetadata": false
},
{
- "$id": "3672",
+ "$id": "3776",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the fine-tuning job was created.",
"type": {
- "$id": "3673",
+ "$id": "3777",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3674",
+ "$id": "3778",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -43272,13 +44474,13 @@
"isHttpMetadata": false
},
{
- "$id": "3675",
+ "$id": "3779",
"kind": "property",
"name": "level",
"serializedName": "level",
"doc": "The log level of the event.",
"type": {
- "$ref": "368"
+ "$ref": "378"
},
"optional": false,
"readOnly": false,
@@ -43294,13 +44496,13 @@
"isHttpMetadata": false
},
{
- "$id": "3676",
+ "$id": "3780",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "The message of the event.",
"type": {
- "$id": "3677",
+ "$id": "3781",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43320,13 +44522,13 @@
"isHttpMetadata": false
},
{
- "$id": "3678",
+ "$id": "3782",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of event.",
"type": {
- "$ref": "373"
+ "$ref": "383"
},
"optional": true,
"readOnly": false,
@@ -43342,13 +44544,13 @@
"isHttpMetadata": false
},
{
- "$id": "3679",
+ "$id": "3783",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "The data associated with the event.",
"type": {
- "$id": "3680",
+ "$id": "3784",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -43386,12 +44588,12 @@
"isHttpMetadata": false
},
{
- "$id": "3681",
+ "$id": "3785",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1595"
+ "$ref": "1627"
},
"optional": false,
"readOnly": false,
@@ -43407,12 +44609,12 @@
"isHttpMetadata": false
},
{
- "$id": "3682",
+ "$id": "3786",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "3683",
+ "$id": "3787",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43434,10 +44636,10 @@
]
},
{
- "$ref": "3668"
+ "$ref": "3772"
},
{
- "$id": "3684",
+ "$id": "3788",
"kind": "model",
"name": "RunGraderRequest",
"namespace": "OpenAI",
@@ -43446,30 +44648,30 @@
"decorators": [],
"properties": [
{
- "$id": "3685",
+ "$id": "3789",
"kind": "property",
"name": "grader",
"serializedName": "grader",
"doc": "The grader used for the fine-tuning job.",
"type": {
- "$id": "3686",
+ "$id": "3790",
"kind": "union",
"name": "RunGraderRequestGrader",
"variantTypes": [
{
- "$ref": "3444"
+ "$ref": "3525"
},
{
- "$ref": "3447"
+ "$ref": "3528"
},
{
- "$ref": "3456"
+ "$ref": "3546"
},
{
- "$ref": "3464"
+ "$ref": "3555"
},
{
- "$ref": "3491"
+ "$ref": "3589"
}
],
"namespace": "OpenAI",
@@ -43489,13 +44691,13 @@
"isHttpMetadata": false
},
{
- "$id": "3687",
+ "$id": "3791",
"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.",
"type": {
- "$id": "3688",
+ "$id": "3792",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -43515,13 +44717,13 @@
"isHttpMetadata": false
},
{
- "$id": "3689",
+ "$id": "3793",
"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": "3690",
+ "$id": "3794",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43543,7 +44745,7 @@
]
},
{
- "$id": "3691",
+ "$id": "3795",
"kind": "model",
"name": "RunGraderResponse",
"namespace": "OpenAI",
@@ -43552,11 +44754,11 @@
"decorators": [],
"properties": [
{
- "$id": "3692",
+ "$id": "3796",
"kind": "property",
"name": "reward",
"type": {
- "$id": "3693",
+ "$id": "3797",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -43572,11 +44774,11 @@
"isHttpMetadata": false
},
{
- "$id": "3694",
+ "$id": "3798",
"kind": "property",
"name": "metadata",
"type": {
- "$id": "3695",
+ "$id": "3799",
"kind": "model",
"name": "RunGraderResponseMetadata",
"namespace": "OpenAI",
@@ -43585,11 +44787,11 @@
"decorators": [],
"properties": [
{
- "$id": "3696",
+ "$id": "3800",
"kind": "property",
"name": "name",
"type": {
- "$id": "3697",
+ "$id": "3801",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43605,11 +44807,11 @@
"isHttpMetadata": false
},
{
- "$id": "3698",
+ "$id": "3802",
"kind": "property",
"name": "type",
"type": {
- "$id": "3699",
+ "$id": "3803",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43625,11 +44827,11 @@
"isHttpMetadata": false
},
{
- "$id": "3700",
+ "$id": "3804",
"kind": "property",
"name": "errors",
"type": {
- "$id": "3701",
+ "$id": "3805",
"kind": "model",
"name": "RunGraderResponseMetadataErrors",
"namespace": "OpenAI",
@@ -43638,11 +44840,11 @@
"decorators": [],
"properties": [
{
- "$id": "3702",
+ "$id": "3806",
"kind": "property",
"name": "formula_parse_error",
"type": {
- "$id": "3703",
+ "$id": "3807",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43658,11 +44860,11 @@
"isHttpMetadata": false
},
{
- "$id": "3704",
+ "$id": "3808",
"kind": "property",
"name": "sample_parse_error",
"type": {
- "$id": "3705",
+ "$id": "3809",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43678,11 +44880,11 @@
"isHttpMetadata": false
},
{
- "$id": "3706",
+ "$id": "3810",
"kind": "property",
"name": "truncated_observation_error",
"type": {
- "$id": "3707",
+ "$id": "3811",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43698,11 +44900,11 @@
"isHttpMetadata": false
},
{
- "$id": "3708",
+ "$id": "3812",
"kind": "property",
"name": "unresponsive_reward_error",
"type": {
- "$id": "3709",
+ "$id": "3813",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43718,11 +44920,11 @@
"isHttpMetadata": false
},
{
- "$id": "3710",
+ "$id": "3814",
"kind": "property",
"name": "invalid_variable_error",
"type": {
- "$id": "3711",
+ "$id": "3815",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43738,11 +44940,11 @@
"isHttpMetadata": false
},
{
- "$id": "3712",
+ "$id": "3816",
"kind": "property",
"name": "other_error",
"type": {
- "$id": "3713",
+ "$id": "3817",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43758,11 +44960,11 @@
"isHttpMetadata": false
},
{
- "$id": "3714",
+ "$id": "3818",
"kind": "property",
"name": "python_grader_server_error",
"type": {
- "$id": "3715",
+ "$id": "3819",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43778,14 +44980,14 @@
"isHttpMetadata": false
},
{
- "$id": "3716",
+ "$id": "3820",
"kind": "property",
"name": "python_grader_server_error_type",
"type": {
- "$id": "3717",
+ "$id": "3821",
"kind": "nullable",
"type": {
- "$id": "3718",
+ "$id": "3822",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43803,11 +45005,11 @@
"isHttpMetadata": false
},
{
- "$id": "3719",
+ "$id": "3823",
"kind": "property",
"name": "python_grader_runtime_error",
"type": {
- "$id": "3720",
+ "$id": "3824",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43823,14 +45025,14 @@
"isHttpMetadata": false
},
{
- "$id": "3721",
+ "$id": "3825",
"kind": "property",
"name": "python_grader_runtime_error_details",
"type": {
- "$id": "3722",
+ "$id": "3826",
"kind": "nullable",
"type": {
- "$id": "3723",
+ "$id": "3827",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43848,11 +45050,11 @@
"isHttpMetadata": false
},
{
- "$id": "3724",
+ "$id": "3828",
"kind": "property",
"name": "model_grader_server_error",
"type": {
- "$id": "3725",
+ "$id": "3829",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43868,11 +45070,11 @@
"isHttpMetadata": false
},
{
- "$id": "3726",
+ "$id": "3830",
"kind": "property",
"name": "model_grader_refusal_error",
"type": {
- "$id": "3727",
+ "$id": "3831",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43888,11 +45090,11 @@
"isHttpMetadata": false
},
{
- "$id": "3728",
+ "$id": "3832",
"kind": "property",
"name": "model_grader_parse_error",
"type": {
- "$id": "3729",
+ "$id": "3833",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -43908,14 +45110,14 @@
"isHttpMetadata": false
},
{
- "$id": "3730",
+ "$id": "3834",
"kind": "property",
"name": "model_grader_server_error_details",
"type": {
- "$id": "3731",
+ "$id": "3835",
"kind": "nullable",
"type": {
- "$id": "3732",
+ "$id": "3836",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -43944,11 +45146,11 @@
"isHttpMetadata": false
},
{
- "$id": "3733",
+ "$id": "3837",
"kind": "property",
"name": "execution_time",
"type": {
- "$id": "3734",
+ "$id": "3838",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -43964,11 +45166,11 @@
"isHttpMetadata": false
},
{
- "$id": "3735",
+ "$id": "3839",
"kind": "property",
"name": "scores",
"type": {
- "$id": "3736",
+ "$id": "3840",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -43984,14 +45186,14 @@
"isHttpMetadata": false
},
{
- "$id": "3737",
+ "$id": "3841",
"kind": "property",
"name": "token_usage",
"type": {
- "$id": "3738",
+ "$id": "3842",
"kind": "nullable",
"type": {
- "$id": "3739",
+ "$id": "3843",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -44009,14 +45211,14 @@
"isHttpMetadata": false
},
{
- "$id": "3740",
+ "$id": "3844",
"kind": "property",
"name": "sampled_model_name",
"type": {
- "$id": "3741",
+ "$id": "3845",
"kind": "nullable",
"type": {
- "$id": "3742",
+ "$id": "3846",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44045,11 +45247,11 @@
"isHttpMetadata": false
},
{
- "$id": "3743",
+ "$id": "3847",
"kind": "property",
"name": "sub_rewards",
"type": {
- "$id": "3744",
+ "$id": "3848",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -44065,11 +45267,11 @@
"isHttpMetadata": false
},
{
- "$id": "3745",
+ "$id": "3849",
"kind": "property",
"name": "model_grader_token_usage_per_model",
"type": {
- "$id": "3746",
+ "$id": "3850",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -44087,13 +45289,13 @@
]
},
{
- "$ref": "3695"
+ "$ref": "3799"
},
{
- "$ref": "3701"
+ "$ref": "3805"
},
{
- "$id": "3747",
+ "$id": "3851",
"kind": "model",
"name": "ValidateGraderRequest",
"namespace": "OpenAI",
@@ -44102,30 +45304,30 @@
"decorators": [],
"properties": [
{
- "$id": "3748",
+ "$id": "3852",
"kind": "property",
"name": "grader",
"serializedName": "grader",
"doc": "The grader used for the fine-tuning job.",
"type": {
- "$id": "3749",
+ "$id": "3853",
"kind": "union",
"name": "ValidateGraderRequestGrader",
"variantTypes": [
{
- "$ref": "3444"
+ "$ref": "3525"
},
{
- "$ref": "3447"
+ "$ref": "3528"
},
{
- "$ref": "3456"
+ "$ref": "3546"
},
{
- "$ref": "3464"
+ "$ref": "3555"
},
{
- "$ref": "3491"
+ "$ref": "3589"
}
],
"namespace": "OpenAI",
@@ -44147,7 +45349,7 @@
]
},
{
- "$id": "3750",
+ "$id": "3854",
"kind": "model",
"name": "ValidateGraderResponse",
"namespace": "OpenAI",
@@ -44156,29 +45358,29 @@
"decorators": [],
"properties": [
{
- "$id": "3751",
+ "$id": "3855",
"kind": "property",
"name": "grader",
"doc": "The grader used for the fine-tuning job.",
"type": {
- "$id": "3752",
+ "$id": "3856",
"kind": "union",
"name": "ValidateGraderResponseGrader",
"variantTypes": [
{
- "$ref": "3444"
+ "$ref": "3525"
},
{
- "$ref": "3447"
+ "$ref": "3528"
},
{
- "$ref": "3456"
+ "$ref": "3546"
},
{
- "$ref": "3464"
+ "$ref": "3555"
},
{
- "$ref": "3491"
+ "$ref": "3589"
}
],
"namespace": "OpenAI",
@@ -44196,7 +45398,7 @@
]
},
{
- "$id": "3753",
+ "$id": "3857",
"kind": "model",
"name": "EvalList",
"namespace": "OpenAI",
@@ -44206,13 +45408,13 @@
"decorators": [],
"properties": [
{
- "$id": "3754",
+ "$id": "3858",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of this object. It is always set to \"list\".",
"type": {
- "$ref": "1597"
+ "$ref": "1629"
},
"optional": false,
"readOnly": false,
@@ -44228,17 +45430,17 @@
"isHttpMetadata": false
},
{
- "$id": "3755",
+ "$id": "3859",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "An array of eval objects.",
"type": {
- "$id": "3756",
+ "$id": "3860",
"kind": "array",
"name": "ArrayEval",
"valueType": {
- "$id": "3757",
+ "$id": "3861",
"kind": "model",
"name": "Eval",
"namespace": "OpenAI",
@@ -44248,13 +45450,13 @@
"decorators": [],
"properties": [
{
- "$id": "3758",
+ "$id": "3862",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type.",
"type": {
- "$ref": "1599"
+ "$ref": "1631"
},
"optional": false,
"readOnly": false,
@@ -44270,13 +45472,13 @@
"isHttpMetadata": false
},
{
- "$id": "3759",
+ "$id": "3863",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for the evaluation.",
"type": {
- "$id": "3760",
+ "$id": "3864",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44296,13 +45498,13 @@
"isHttpMetadata": false
},
{
- "$id": "3761",
+ "$id": "3865",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the evaluation.",
"type": {
- "$id": "3762",
+ "$id": "3866",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44322,13 +45524,13 @@
"isHttpMetadata": false
},
{
- "$id": "3763",
+ "$id": "3867",
"kind": "property",
"name": "data_source_config",
"serializedName": "data_source_config",
"doc": "Configuration of data sources used in runs of the evaluation.",
"type": {
- "$id": "3764",
+ "$id": "3868",
"kind": "model",
"name": "EvalDataSourceConfigResource",
"namespace": "OpenAI",
@@ -44336,12 +45538,12 @@
"usage": "Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3765",
+ "$id": "3869",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "377"
+ "$ref": "387"
},
"optional": false,
"readOnly": false,
@@ -44358,12 +45560,12 @@
},
"properties": [
{
- "$ref": "3765"
+ "$ref": "3869"
}
],
"discriminatedSubtypes": {
"custom": {
- "$id": "3766",
+ "$id": "3870",
"kind": "model",
"name": "EvalCustomDataSourceConfigResource",
"namespace": "OpenAI",
@@ -44373,17 +45575,89 @@
"discriminatorValue": "custom",
"decorators": [],
"baseModel": {
- "$ref": "3764"
+ "$ref": "3868"
},
"properties": [
{
- "$id": "3767",
+ "$id": "3871",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of data source. Always `custom`.",
"type": {
- "$ref": "379"
+ "$id": "3872",
+ "kind": "enumvalue",
+ "name": "custom",
+ "value": "custom",
+ "valueType": {
+ "$ref": "388"
+ },
+ "enumType": {
+ "$id": "3873",
+ "kind": "enum",
+ "decorators": [],
+ "name": "EvalDataSourceConfigType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "3874",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "3875",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "custom",
+ "value": "custom",
+ "valueType": {
+ "$ref": "3874"
+ },
+ "enumType": {
+ "$ref": "3873"
+ }
+ },
+ {
+ "$id": "3876",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "logs",
+ "value": "logs",
+ "valueType": {
+ "$ref": "3874"
+ },
+ "enumType": {
+ "$ref": "3873"
+ }
+ },
+ {
+ "$id": "3877",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "stored_completions",
+ "value": "stored_completions",
+ "valueType": {
+ "$ref": "3874"
+ },
+ "enumType": {
+ "$ref": "3873"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.EvalDataSourceConfigType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -44399,23 +45673,23 @@
"isHttpMetadata": false
},
{
- "$id": "3768",
+ "$id": "3878",
"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": "3769",
+ "$id": "3879",
"kind": "dict",
"keyType": {
- "$id": "3770",
+ "$id": "3880",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
"valueType": {
- "$id": "3771",
+ "$id": "3881",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -44439,7 +45713,7 @@
]
},
"stored_completions": {
- "$id": "3772",
+ "$id": "3882",
"kind": "model",
"name": "EvalStoredCompletionsDataSourceConfigResource",
"namespace": "OpenAI",
@@ -44450,17 +45724,27 @@
"discriminatorValue": "stored_completions",
"decorators": [],
"baseModel": {
- "$ref": "3764"
+ "$ref": "3868"
},
"properties": [
{
- "$id": "3773",
+ "$id": "3883",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of data source. Always `stored_completions`.",
"type": {
- "$ref": "381"
+ "$id": "3884",
+ "kind": "enumvalue",
+ "name": "stored_completions",
+ "value": "stored_completions",
+ "valueType": {
+ "$ref": "388"
+ },
+ "enumType": {
+ "$ref": "3873"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -44476,13 +45760,13 @@
"isHttpMetadata": false
},
{
- "$id": "3774",
+ "$id": "3885",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -44498,13 +45782,13 @@
"isHttpMetadata": false
},
{
- "$id": "3775",
+ "$id": "3886",
"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": "3769"
+ "$ref": "3879"
},
"optional": false,
"readOnly": false,
@@ -44522,7 +45806,7 @@
]
},
"logs": {
- "$id": "3776",
+ "$id": "3887",
"kind": "model",
"name": "EvalLogsDataSourceConfigResource",
"namespace": "OpenAI",
@@ -44532,17 +45816,27 @@
"discriminatorValue": "logs",
"decorators": [],
"baseModel": {
- "$ref": "3764"
+ "$ref": "3868"
},
"properties": [
{
- "$id": "3777",
+ "$id": "3888",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of data source. Always `logs`.",
"type": {
- "$ref": "380"
+ "$id": "3889",
+ "kind": "enumvalue",
+ "name": "logs",
+ "value": "logs",
+ "valueType": {
+ "$ref": "388"
+ },
+ "enumType": {
+ "$ref": "3873"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -44558,13 +45852,13 @@
"isHttpMetadata": false
},
{
- "$id": "3778",
+ "$id": "3890",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -44580,13 +45874,13 @@
"isHttpMetadata": false
},
{
- "$id": "3779",
+ "$id": "3891",
"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": "3769"
+ "$ref": "3879"
},
"optional": false,
"readOnly": false,
@@ -44619,20 +45913,20 @@
"isHttpMetadata": false
},
{
- "$id": "3780",
+ "$id": "3892",
"kind": "property",
"name": "testing_criteria",
"serializedName": "testing_criteria",
"doc": "A list of testing criteria.",
"type": {
- "$id": "3781",
+ "$id": "3893",
"kind": "nullable",
"type": {
- "$id": "3782",
+ "$id": "3894",
"kind": "array",
"name": "ArrayEvalGraderResource",
"valueType": {
- "$id": "3783",
+ "$id": "3895",
"kind": "model",
"name": "EvalGraderResource",
"namespace": "OpenAI",
@@ -44640,12 +45934,12 @@
"usage": "Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3784",
+ "$id": "3896",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "315"
+ "$ref": "327"
},
"optional": false,
"readOnly": false,
@@ -44662,12 +45956,12 @@
},
"properties": [
{
- "$ref": "3784"
+ "$ref": "3896"
}
],
"discriminatedSubtypes": {
"label_model": {
- "$id": "3785",
+ "$id": "3897",
"kind": "model",
"name": "EvalGraderLabelModelResource",
"namespace": "OpenAI",
@@ -44676,17 +45970,17 @@
"discriminatorValue": "label_model",
"decorators": [],
"baseModel": {
- "$ref": "3783"
+ "$ref": "3895"
},
"properties": [
{
- "$id": "3786",
+ "$id": "3898",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `label_model`.",
"type": {
- "$ref": "320"
+ "$ref": "3598"
},
"optional": false,
"readOnly": false,
@@ -44702,13 +45996,13 @@
"isHttpMetadata": false
},
{
- "$id": "3787",
+ "$id": "3899",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3788",
+ "$id": "3900",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44728,13 +46022,13 @@
"isHttpMetadata": false
},
{
- "$id": "3789",
+ "$id": "3901",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for the evaluation. Must support structured outputs.",
"type": {
- "$id": "3790",
+ "$id": "3902",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44754,12 +46048,12 @@
"isHttpMetadata": false
},
{
- "$id": "3791",
+ "$id": "3903",
"kind": "property",
"name": "input",
"serializedName": "input",
"type": {
- "$ref": "3473"
+ "$ref": "3565"
},
"optional": false,
"readOnly": false,
@@ -44775,13 +46069,13 @@
"isHttpMetadata": false
},
{
- "$id": "3792",
+ "$id": "3904",
"kind": "property",
"name": "labels",
"serializedName": "labels",
"doc": "The labels to assign to each item in the evaluation.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -44797,13 +46091,13 @@
"isHttpMetadata": false
},
{
- "$id": "3793",
+ "$id": "3905",
"kind": "property",
"name": "passing_labels",
"serializedName": "passing_labels",
"doc": "The labels that indicate a passing result. Must be a subset of labels.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -44821,7 +46115,7 @@
]
},
"text_similarity": {
- "$id": "3794",
+ "$id": "3906",
"kind": "model",
"name": "EvalGraderTextSimilarityResource",
"namespace": "OpenAI",
@@ -44830,17 +46124,17 @@
"discriminatorValue": "text_similarity",
"decorators": [],
"baseModel": {
- "$ref": "3783"
+ "$ref": "3895"
},
"properties": [
{
- "$id": "3795",
+ "$id": "3907",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of grader.",
"type": {
- "$ref": "318"
+ "$ref": "3530"
},
"optional": false,
"readOnly": false,
@@ -44856,13 +46150,13 @@
"isHttpMetadata": false
},
{
- "$id": "3796",
+ "$id": "3908",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3797",
+ "$id": "3909",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44882,13 +46176,13 @@
"isHttpMetadata": false
},
{
- "$id": "3798",
+ "$id": "3910",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The text being graded.",
"type": {
- "$id": "3799",
+ "$id": "3911",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44908,13 +46202,13 @@
"isHttpMetadata": false
},
{
- "$id": "3800",
+ "$id": "3912",
"kind": "property",
"name": "reference",
"serializedName": "reference",
"doc": "The text being graded against.",
"type": {
- "$id": "3801",
+ "$id": "3913",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -44934,13 +46228,13 @@
"isHttpMetadata": false
},
{
- "$id": "3802",
+ "$id": "3914",
"kind": "property",
"name": "evaluation_metric",
"serializedName": "evaluation_metric",
"doc": "The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.",
"type": {
- "$ref": "329"
+ "$ref": "335"
},
"optional": false,
"readOnly": false,
@@ -44956,13 +46250,13 @@
"isHttpMetadata": false
},
{
- "$id": "3803",
+ "$id": "3915",
"kind": "property",
"name": "pass_threshold",
"serializedName": "pass_threshold",
"doc": "The threshold for the score.",
"type": {
- "$id": "3804",
+ "$id": "3916",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -44984,7 +46278,7 @@
]
},
"python": {
- "$id": "3805",
+ "$id": "3917",
"kind": "model",
"name": "EvalGraderPythonResource",
"namespace": "OpenAI",
@@ -44993,17 +46287,17 @@
"discriminatorValue": "python",
"decorators": [],
"baseModel": {
- "$ref": "3783"
+ "$ref": "3895"
},
"properties": [
{
- "$id": "3806",
+ "$id": "3918",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `python`.",
"type": {
- "$ref": "321"
+ "$ref": "3548"
},
"optional": false,
"readOnly": false,
@@ -45019,13 +46313,13 @@
"isHttpMetadata": false
},
{
- "$id": "3807",
+ "$id": "3919",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3808",
+ "$id": "3920",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45045,13 +46339,13 @@
"isHttpMetadata": false
},
{
- "$id": "3809",
+ "$id": "3921",
"kind": "property",
"name": "source",
"serializedName": "source",
"doc": "The source code of the python script.",
"type": {
- "$id": "3810",
+ "$id": "3922",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45071,13 +46365,13 @@
"isHttpMetadata": false
},
{
- "$id": "3811",
+ "$id": "3923",
"kind": "property",
"name": "image_tag",
"serializedName": "image_tag",
"doc": "The image tag to use for the python script.",
"type": {
- "$id": "3812",
+ "$id": "3924",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45097,13 +46391,13 @@
"isHttpMetadata": false
},
{
- "$id": "3813",
+ "$id": "3925",
"kind": "property",
"name": "pass_threshold",
"serializedName": "pass_threshold",
"doc": "The threshold for the score.",
"type": {
- "$id": "3814",
+ "$id": "3926",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -45125,7 +46419,7 @@
]
},
"score_model": {
- "$id": "3815",
+ "$id": "3927",
"kind": "model",
"name": "EvalGraderScoreModelResource",
"namespace": "OpenAI",
@@ -45134,17 +46428,17 @@
"discriminatorValue": "score_model",
"decorators": [],
"baseModel": {
- "$ref": "3783"
+ "$ref": "3895"
},
"properties": [
{
- "$id": "3816",
+ "$id": "3928",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `score_model`.",
"type": {
- "$ref": "319"
+ "$ref": "3557"
},
"optional": false,
"readOnly": false,
@@ -45160,13 +46454,13 @@
"isHttpMetadata": false
},
{
- "$id": "3817",
+ "$id": "3929",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3818",
+ "$id": "3930",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45186,13 +46480,13 @@
"isHttpMetadata": false
},
{
- "$id": "3819",
+ "$id": "3931",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for the evaluation.",
"type": {
- "$id": "3820",
+ "$id": "3932",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45212,13 +46506,13 @@
"isHttpMetadata": false
},
{
- "$id": "3821",
+ "$id": "3933",
"kind": "property",
"name": "sampling_params",
"serializedName": "sampling_params",
"doc": "The sampling parameters for the model.",
"type": {
- "$id": "3822",
+ "$id": "3934",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -45238,13 +46532,13 @@
"isHttpMetadata": false
},
{
- "$id": "3823",
+ "$id": "3935",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The input text. This may include template strings.",
"type": {
- "$ref": "3473"
+ "$ref": "3565"
},
"optional": false,
"readOnly": false,
@@ -45260,13 +46554,13 @@
"isHttpMetadata": false
},
{
- "$id": "3824",
+ "$id": "3936",
"kind": "property",
"name": "range",
"serializedName": "range",
"doc": "The range of the score. Defaults to `[0, 1]`.",
"type": {
- "$ref": "2586"
+ "$ref": "2627"
},
"optional": true,
"readOnly": false,
@@ -45282,13 +46576,13 @@
"isHttpMetadata": false
},
{
- "$id": "3825",
+ "$id": "3937",
"kind": "property",
"name": "pass_threshold",
"serializedName": "pass_threshold",
"doc": "The threshold for the score.",
"type": {
- "$id": "3826",
+ "$id": "3938",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -45330,18 +46624,18 @@
"isHttpMetadata": false
},
{
- "$id": "3827",
+ "$id": "3939",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the eval was created.",
"type": {
- "$id": "3828",
+ "$id": "3940",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3829",
+ "$id": "3941",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -45364,13 +46658,13 @@
"isHttpMetadata": false
},
{
- "$id": "3830",
+ "$id": "3942",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -45404,13 +46698,13 @@
"isHttpMetadata": false
},
{
- "$id": "3831",
+ "$id": "3943",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The identifier of the first eval in the data array.",
"type": {
- "$id": "3832",
+ "$id": "3944",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45430,13 +46724,13 @@
"isHttpMetadata": false
},
{
- "$id": "3833",
+ "$id": "3945",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The identifier of the last eval in the data array.",
"type": {
- "$id": "3834",
+ "$id": "3946",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45456,13 +46750,13 @@
"isHttpMetadata": false
},
{
- "$id": "3835",
+ "$id": "3947",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Indicates whether there are more evals available.",
"type": {
- "$id": "3836",
+ "$id": "3948",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -45484,37 +46778,37 @@
]
},
{
- "$ref": "3757"
+ "$ref": "3861"
},
{
- "$ref": "3764"
+ "$ref": "3868"
},
{
- "$ref": "3766"
+ "$ref": "3870"
},
{
- "$ref": "3772"
+ "$ref": "3882"
},
{
- "$ref": "3776"
+ "$ref": "3887"
},
{
- "$ref": "3783"
+ "$ref": "3895"
},
{
- "$ref": "3785"
+ "$ref": "3897"
},
{
- "$ref": "3794"
+ "$ref": "3906"
},
{
- "$ref": "3805"
+ "$ref": "3917"
},
{
- "$ref": "3815"
+ "$ref": "3927"
},
{
- "$id": "3837",
+ "$id": "3949",
"kind": "model",
"name": "CreateEvalRequest",
"namespace": "OpenAI",
@@ -45523,13 +46817,13 @@
"decorators": [],
"properties": [
{
- "$id": "3838",
+ "$id": "3950",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the evaluation.",
"type": {
- "$id": "3839",
+ "$id": "3951",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45549,13 +46843,13 @@
"isHttpMetadata": false
},
{
- "$id": "3840",
+ "$id": "3952",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -45571,13 +46865,13 @@
"isHttpMetadata": false
},
{
- "$id": "3841",
+ "$id": "3953",
"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": "3842",
+ "$id": "3954",
"kind": "model",
"name": "EvalDataSourceConfigParams",
"namespace": "OpenAI",
@@ -45585,12 +46879,12 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3843",
+ "$id": "3955",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "377"
+ "$ref": "387"
},
"optional": false,
"readOnly": false,
@@ -45607,12 +46901,12 @@
},
"properties": [
{
- "$ref": "3843"
+ "$ref": "3955"
}
],
"discriminatedSubtypes": {
"custom": {
- "$id": "3844",
+ "$id": "3956",
"kind": "model",
"name": "EvalCustomDataSourceConfigParams",
"namespace": "OpenAI",
@@ -45622,17 +46916,17 @@
"discriminatorValue": "custom",
"decorators": [],
"baseModel": {
- "$ref": "3842"
+ "$ref": "3954"
},
"properties": [
{
- "$id": "3845",
+ "$id": "3957",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of data source. Always `custom`.",
"type": {
- "$ref": "379"
+ "$ref": "3872"
},
"optional": false,
"readOnly": false,
@@ -45648,13 +46942,13 @@
"isHttpMetadata": false
},
{
- "$id": "3846",
+ "$id": "3958",
"kind": "property",
"name": "item_schema",
"serializedName": "item_schema",
"doc": "The json schema for each row in the data source.",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"optional": false,
"readOnly": false,
@@ -45670,13 +46964,13 @@
"isHttpMetadata": false
},
{
- "$id": "3847",
+ "$id": "3959",
"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": "3848",
+ "$id": "3960",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -45698,7 +46992,7 @@
]
},
"logs": {
- "$id": "3849",
+ "$id": "3961",
"kind": "model",
"name": "EvalLogsDataSourceConfigParams",
"namespace": "OpenAI",
@@ -45708,17 +47002,17 @@
"discriminatorValue": "logs",
"decorators": [],
"baseModel": {
- "$ref": "3842"
+ "$ref": "3954"
},
"properties": [
{
- "$id": "3850",
+ "$id": "3962",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of data source. Always `logs`.",
"type": {
- "$ref": "380"
+ "$ref": "3889"
},
"optional": false,
"readOnly": false,
@@ -45734,13 +47028,13 @@
"isHttpMetadata": false
},
{
- "$id": "3851",
+ "$id": "3963",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -45758,7 +47052,7 @@
]
},
"stored_completions": {
- "$id": "3852",
+ "$id": "3964",
"kind": "model",
"name": "EvalStoredCompletionsDataSourceConfigParams",
"namespace": "OpenAI",
@@ -45769,17 +47063,17 @@
"discriminatorValue": "stored_completions",
"decorators": [],
"baseModel": {
- "$ref": "3842"
+ "$ref": "3954"
},
"properties": [
{
- "$id": "3853",
+ "$id": "3965",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of data source. Always `stored_completions`.",
"type": {
- "$ref": "381"
+ "$ref": "3884"
},
"optional": false,
"readOnly": false,
@@ -45795,13 +47089,13 @@
"isHttpMetadata": false
},
{
- "$id": "3854",
+ "$id": "3966",
"kind": "property",
"name": "metadata",
"serializedName": "metadata",
"doc": "Metadata filters for the stored completions data source.",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"optional": true,
"readOnly": false,
@@ -45834,17 +47128,17 @@
"isHttpMetadata": false
},
{
- "$id": "3855",
+ "$id": "3967",
"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": "3856",
+ "$id": "3968",
"kind": "array",
"name": "ArrayEvalGraderParams",
"valueType": {
- "$id": "3857",
+ "$id": "3969",
"kind": "model",
"name": "EvalGraderParams",
"namespace": "OpenAI",
@@ -45852,12 +47146,12 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "3858",
+ "$id": "3970",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "315"
+ "$ref": "327"
},
"optional": false,
"readOnly": false,
@@ -45874,12 +47168,12 @@
},
"properties": [
{
- "$ref": "3858"
+ "$ref": "3970"
}
],
"discriminatedSubtypes": {
"label_model": {
- "$id": "3859",
+ "$id": "3971",
"kind": "model",
"name": "EvalGraderLabelModelParams",
"namespace": "OpenAI",
@@ -45889,17 +47183,17 @@
"discriminatorValue": "label_model",
"decorators": [],
"baseModel": {
- "$ref": "3857"
+ "$ref": "3969"
},
"properties": [
{
- "$id": "3860",
+ "$id": "3972",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `label_model`.",
"type": {
- "$ref": "320"
+ "$ref": "3598"
},
"optional": false,
"readOnly": false,
@@ -45915,13 +47209,13 @@
"isHttpMetadata": false
},
{
- "$id": "3861",
+ "$id": "3973",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3862",
+ "$id": "3974",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45941,13 +47235,13 @@
"isHttpMetadata": false
},
{
- "$id": "3863",
+ "$id": "3975",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for the evaluation. Must support structured outputs.",
"type": {
- "$id": "3864",
+ "$id": "3976",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -45967,22 +47261,22 @@
"isHttpMetadata": false
},
{
- "$id": "3865",
+ "$id": "3977",
"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": "3866",
+ "$id": "3978",
"kind": "array",
"name": "ArrayCreateEvalItem",
"valueType": {
- "$id": "3867",
+ "$id": "3979",
"kind": "union",
"name": "CreateEvalItem",
"variantTypes": [
{
- "$id": "3868",
+ "$id": "3980",
"kind": "model",
"name": "EvalGraderLabelModelParamsInput",
"namespace": "OpenAI",
@@ -45991,13 +47285,13 @@
"decorators": [],
"properties": [
{
- "$id": "3869",
+ "$id": "3981",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").",
"type": {
- "$id": "3870",
+ "$id": "3982",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46017,13 +47311,13 @@
"isHttpMetadata": false
},
{
- "$id": "3871",
+ "$id": "3983",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content of the message.",
"type": {
- "$id": "3872",
+ "$id": "3984",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46045,7 +47339,7 @@
]
},
{
- "$ref": "3474"
+ "$ref": "3566"
}
],
"namespace": "OpenAI",
@@ -46068,13 +47362,13 @@
"isHttpMetadata": false
},
{
- "$id": "3873",
+ "$id": "3985",
"kind": "property",
"name": "labels",
"serializedName": "labels",
"doc": "The labels to classify to each item in the evaluation.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -46090,13 +47384,13 @@
"isHttpMetadata": false
},
{
- "$id": "3874",
+ "$id": "3986",
"kind": "property",
"name": "passing_labels",
"serializedName": "passing_labels",
"doc": "The labels that indicate a passing result. Must be a subset of labels.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -46114,7 +47408,7 @@
]
},
"string_check": {
- "$id": "3875",
+ "$id": "3987",
"kind": "model",
"name": "EvalGraderStringCheckParams",
"namespace": "OpenAI",
@@ -46123,17 +47417,17 @@
"discriminatorValue": "string_check",
"decorators": [],
"baseModel": {
- "$ref": "3857"
+ "$ref": "3969"
},
"properties": [
{
- "$id": "3876",
+ "$id": "3988",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `string_check`.",
"type": {
- "$ref": "3509"
+ "$ref": "3609"
},
"optional": false,
"readOnly": false,
@@ -46149,13 +47443,13 @@
"isHttpMetadata": false
},
{
- "$id": "3877",
+ "$id": "3989",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3878",
+ "$id": "3990",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46175,13 +47469,13 @@
"isHttpMetadata": false
},
{
- "$id": "3879",
+ "$id": "3991",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The input text. This may include template strings.",
"type": {
- "$id": "3880",
+ "$id": "3992",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46201,13 +47495,13 @@
"isHttpMetadata": false
},
{
- "$id": "3881",
+ "$id": "3993",
"kind": "property",
"name": "reference",
"serializedName": "reference",
"doc": "The reference text. This may include template strings.",
"type": {
- "$id": "3882",
+ "$id": "3994",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46227,13 +47521,13 @@
"isHttpMetadata": false
},
{
- "$id": "3883",
+ "$id": "3995",
"kind": "property",
"name": "operation",
"serializedName": "operation",
"doc": "The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`.",
"type": {
- "$ref": "323"
+ "$ref": "321"
},
"optional": false,
"readOnly": false,
@@ -46251,7 +47545,7 @@
]
},
"text_similarity": {
- "$id": "3884",
+ "$id": "3996",
"kind": "model",
"name": "EvalGraderTextSimilarityParams",
"namespace": "OpenAI",
@@ -46260,17 +47554,17 @@
"discriminatorValue": "text_similarity",
"decorators": [],
"baseModel": {
- "$ref": "3857"
+ "$ref": "3969"
},
"properties": [
{
- "$id": "3885",
+ "$id": "3997",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of grader.",
"type": {
- "$ref": "318"
+ "$ref": "3530"
},
"optional": false,
"readOnly": false,
@@ -46286,13 +47580,13 @@
"isHttpMetadata": false
},
{
- "$id": "3886",
+ "$id": "3998",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3887",
+ "$id": "3999",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46312,13 +47606,13 @@
"isHttpMetadata": false
},
{
- "$id": "3888",
+ "$id": "4000",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The text being graded.",
"type": {
- "$id": "3889",
+ "$id": "4001",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46338,13 +47632,13 @@
"isHttpMetadata": false
},
{
- "$id": "3890",
+ "$id": "4002",
"kind": "property",
"name": "reference",
"serializedName": "reference",
"doc": "The text being graded against.",
"type": {
- "$id": "3891",
+ "$id": "4003",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46364,13 +47658,13 @@
"isHttpMetadata": false
},
{
- "$id": "3892",
+ "$id": "4004",
"kind": "property",
"name": "evaluation_metric",
"serializedName": "evaluation_metric",
"doc": "The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.",
"type": {
- "$ref": "329"
+ "$ref": "335"
},
"optional": false,
"readOnly": false,
@@ -46386,13 +47680,13 @@
"isHttpMetadata": false
},
{
- "$id": "3893",
+ "$id": "4005",
"kind": "property",
"name": "pass_threshold",
"serializedName": "pass_threshold",
"doc": "The threshold for the score.",
"type": {
- "$id": "3894",
+ "$id": "4006",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -46414,7 +47708,7 @@
]
},
"python": {
- "$id": "3895",
+ "$id": "4007",
"kind": "model",
"name": "EvalGraderPythonParams",
"namespace": "OpenAI",
@@ -46423,17 +47717,17 @@
"discriminatorValue": "python",
"decorators": [],
"baseModel": {
- "$ref": "3857"
+ "$ref": "3969"
},
"properties": [
{
- "$id": "3896",
+ "$id": "4008",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `python`.",
"type": {
- "$ref": "321"
+ "$ref": "3548"
},
"optional": false,
"readOnly": false,
@@ -46449,13 +47743,13 @@
"isHttpMetadata": false
},
{
- "$id": "3897",
+ "$id": "4009",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3898",
+ "$id": "4010",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46475,13 +47769,13 @@
"isHttpMetadata": false
},
{
- "$id": "3899",
+ "$id": "4011",
"kind": "property",
"name": "source",
"serializedName": "source",
"doc": "The source code of the python script.",
"type": {
- "$id": "3900",
+ "$id": "4012",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46501,13 +47795,13 @@
"isHttpMetadata": false
},
{
- "$id": "3901",
+ "$id": "4013",
"kind": "property",
"name": "image_tag",
"serializedName": "image_tag",
"doc": "The image tag to use for the python script.",
"type": {
- "$id": "3902",
+ "$id": "4014",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46527,13 +47821,13 @@
"isHttpMetadata": false
},
{
- "$id": "3903",
+ "$id": "4015",
"kind": "property",
"name": "pass_threshold",
"serializedName": "pass_threshold",
"doc": "The threshold for the score.",
"type": {
- "$id": "3904",
+ "$id": "4016",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -46555,7 +47849,7 @@
]
},
"score_model": {
- "$id": "3905",
+ "$id": "4017",
"kind": "model",
"name": "EvalGraderScoreModelParams",
"namespace": "OpenAI",
@@ -46564,17 +47858,17 @@
"discriminatorValue": "score_model",
"decorators": [],
"baseModel": {
- "$ref": "3857"
+ "$ref": "3969"
},
"properties": [
{
- "$id": "3906",
+ "$id": "4018",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The object type, which is always `score_model`.",
"type": {
- "$ref": "319"
+ "$ref": "3557"
},
"optional": false,
"readOnly": false,
@@ -46590,13 +47884,13 @@
"isHttpMetadata": false
},
{
- "$id": "3907",
+ "$id": "4019",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the grader.",
"type": {
- "$id": "3908",
+ "$id": "4020",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46616,13 +47910,13 @@
"isHttpMetadata": false
},
{
- "$id": "3909",
+ "$id": "4021",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for the evaluation.",
"type": {
- "$id": "3910",
+ "$id": "4022",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46642,13 +47936,13 @@
"isHttpMetadata": false
},
{
- "$id": "3911",
+ "$id": "4023",
"kind": "property",
"name": "sampling_params",
"serializedName": "sampling_params",
"doc": "The sampling parameters for the model.",
"type": {
- "$id": "3912",
+ "$id": "4024",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -46668,13 +47962,13 @@
"isHttpMetadata": false
},
{
- "$id": "3913",
+ "$id": "4025",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The input text. This may include template strings.",
"type": {
- "$ref": "3473"
+ "$ref": "3565"
},
"optional": false,
"readOnly": false,
@@ -46690,13 +47984,13 @@
"isHttpMetadata": false
},
{
- "$id": "3914",
+ "$id": "4026",
"kind": "property",
"name": "range",
"serializedName": "range",
"doc": "The range of the score. Defaults to `[0, 1]`.",
"type": {
- "$ref": "2586"
+ "$ref": "2627"
},
"optional": true,
"readOnly": false,
@@ -46712,13 +48006,13 @@
"isHttpMetadata": false
},
{
- "$id": "3915",
+ "$id": "4027",
"kind": "property",
"name": "pass_threshold",
"serializedName": "pass_threshold",
"doc": "The threshold for the score.",
"type": {
- "$id": "3916",
+ "$id": "4028",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -46760,40 +48054,40 @@
]
},
{
- "$ref": "3842"
+ "$ref": "3954"
},
{
- "$ref": "3844"
+ "$ref": "3956"
},
{
- "$ref": "3849"
+ "$ref": "3961"
},
{
- "$ref": "3852"
+ "$ref": "3964"
},
{
- "$ref": "3857"
+ "$ref": "3969"
},
{
- "$ref": "3859"
+ "$ref": "3971"
},
{
- "$ref": "3868"
+ "$ref": "3980"
},
{
- "$ref": "3875"
+ "$ref": "3987"
},
{
- "$ref": "3884"
+ "$ref": "3996"
},
{
- "$ref": "3895"
+ "$ref": "4007"
},
{
- "$ref": "3905"
+ "$ref": "4017"
},
{
- "$id": "3917",
+ "$id": "4029",
"kind": "model",
"name": "UpdateEvalRequest",
"namespace": "OpenAI",
@@ -46802,12 +48096,12 @@
"decorators": [],
"properties": [
{
- "$id": "3918",
+ "$id": "4030",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "3919",
+ "$id": "4031",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46827,12 +48121,12 @@
"isHttpMetadata": false
},
{
- "$id": "3920",
+ "$id": "4032",
"kind": "property",
"name": "metadata",
"serializedName": "metadata",
"type": {
- "$id": "3921",
+ "$id": "4033",
"kind": "model",
"name": "MetadataPropertyForRequest",
"namespace": "OpenAI",
@@ -46842,13 +48136,13 @@
"decorators": [],
"properties": [
{
- "$id": "3922",
+ "$id": "4034",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -46881,10 +48175,10 @@
]
},
{
- "$ref": "3921"
+ "$ref": "4033"
},
{
- "$id": "3923",
+ "$id": "4035",
"kind": "model",
"name": "DeleteEvalResponse",
"namespace": "OpenAI",
@@ -46893,12 +48187,12 @@
"decorators": [],
"properties": [
{
- "$id": "3924",
+ "$id": "4036",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1601"
+ "$ref": "1633"
},
"optional": false,
"readOnly": false,
@@ -46914,12 +48208,12 @@
"isHttpMetadata": false
},
{
- "$id": "3925",
+ "$id": "4037",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "3926",
+ "$id": "4038",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -46939,12 +48233,12 @@
"isHttpMetadata": false
},
{
- "$id": "3927",
+ "$id": "4039",
"kind": "property",
"name": "eval_id",
"serializedName": "eval_id",
"type": {
- "$id": "3928",
+ "$id": "4040",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -46966,7 +48260,7 @@
]
},
{
- "$id": "3929",
+ "$id": "4041",
"kind": "model",
"name": "EvalRunList",
"namespace": "OpenAI",
@@ -46976,13 +48270,13 @@
"decorators": [],
"properties": [
{
- "$id": "3930",
+ "$id": "4042",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of this object. It is always set to \"list\".",
"type": {
- "$ref": "1603"
+ "$ref": "1635"
},
"optional": false,
"readOnly": false,
@@ -46998,17 +48292,17 @@
"isHttpMetadata": false
},
{
- "$id": "3931",
+ "$id": "4043",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "An array of eval run objects.",
"type": {
- "$id": "3932",
+ "$id": "4044",
"kind": "array",
"name": "ArrayEvalRun",
"valueType": {
- "$id": "3933",
+ "$id": "4045",
"kind": "model",
"name": "EvalRun",
"namespace": "OpenAI",
@@ -47018,13 +48312,13 @@
"decorators": [],
"properties": [
{
- "$id": "3934",
+ "$id": "4046",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of the object. Always \"eval.run\".",
"type": {
- "$ref": "1605"
+ "$ref": "1637"
},
"optional": false,
"readOnly": false,
@@ -47040,13 +48334,13 @@
"isHttpMetadata": false
},
{
- "$id": "3935",
+ "$id": "4047",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for the evaluation run.",
"type": {
- "$id": "3936",
+ "$id": "4048",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47066,13 +48360,13 @@
"isHttpMetadata": false
},
{
- "$id": "3937",
+ "$id": "4049",
"kind": "property",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The identifier of the associated evaluation.",
"type": {
- "$id": "3938",
+ "$id": "4050",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47092,13 +48386,13 @@
"isHttpMetadata": false
},
{
- "$id": "3939",
+ "$id": "4051",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the evaluation run.",
"type": {
- "$id": "3940",
+ "$id": "4052",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47118,13 +48412,13 @@
"isHttpMetadata": false
},
{
- "$id": "3941",
+ "$id": "4053",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model that is evaluated, if applicable.",
"type": {
- "$id": "3942",
+ "$id": "4054",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47144,13 +48438,13 @@
"isHttpMetadata": false
},
{
- "$id": "3943",
+ "$id": "4055",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the evaluation run.",
"type": {
- "$id": "3944",
+ "$id": "4056",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47170,18 +48464,18 @@
"isHttpMetadata": false
},
{
- "$id": "3945",
+ "$id": "4057",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "Unix timestamp (in seconds) when the evaluation run was created.",
"type": {
- "$id": "3946",
+ "$id": "4058",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "3947",
+ "$id": "4059",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47204,13 +48498,13 @@
"isHttpMetadata": false
},
{
- "$id": "3948",
+ "$id": "4060",
"kind": "property",
"name": "report_url",
"serializedName": "report_url",
"doc": "The URL to the rendered evaluation run report on the UI dashboard.",
"type": {
- "$id": "3949",
+ "$id": "4061",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47230,13 +48524,13 @@
"isHttpMetadata": false
},
{
- "$id": "3950",
+ "$id": "4062",
"kind": "property",
"name": "result_counts",
"serializedName": "result_counts",
"doc": "Counters summarizing the outcomes of the evaluation run.",
"type": {
- "$id": "3951",
+ "$id": "4063",
"kind": "model",
"name": "EvalRunResultCounts",
"namespace": "OpenAI",
@@ -47245,13 +48539,13 @@
"decorators": [],
"properties": [
{
- "$id": "3952",
+ "$id": "4064",
"kind": "property",
"name": "total",
"serializedName": "total",
"doc": "Total number of executed output items.",
"type": {
- "$id": "3953",
+ "$id": "4065",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47271,13 +48565,13 @@
"isHttpMetadata": false
},
{
- "$id": "3954",
+ "$id": "4066",
"kind": "property",
"name": "errored",
"serializedName": "errored",
"doc": "Number of output items that resulted in an error.",
"type": {
- "$id": "3955",
+ "$id": "4067",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47297,13 +48591,13 @@
"isHttpMetadata": false
},
{
- "$id": "3956",
+ "$id": "4068",
"kind": "property",
"name": "failed",
"serializedName": "failed",
"doc": "Number of output items that failed to pass the evaluation.",
"type": {
- "$id": "3957",
+ "$id": "4069",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47323,13 +48617,13 @@
"isHttpMetadata": false
},
{
- "$id": "3958",
+ "$id": "4070",
"kind": "property",
"name": "passed",
"serializedName": "passed",
"doc": "Number of output items that passed the evaluation.",
"type": {
- "$id": "3959",
+ "$id": "4071",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47364,17 +48658,17 @@
"isHttpMetadata": false
},
{
- "$id": "3960",
+ "$id": "4072",
"kind": "property",
"name": "per_model_usage",
"serializedName": "per_model_usage",
"doc": "Usage statistics for each model during the evaluation run.",
"type": {
- "$id": "3961",
+ "$id": "4073",
"kind": "array",
"name": "Array15",
"valueType": {
- "$id": "3962",
+ "$id": "4074",
"kind": "model",
"name": "EvalRunPerModelUsage",
"namespace": "OpenAI",
@@ -47383,13 +48677,13 @@
"decorators": [],
"properties": [
{
- "$id": "3963",
+ "$id": "4075",
"kind": "property",
"name": "model_name",
"serializedName": "model_name",
"doc": "The name of the model.",
"type": {
- "$id": "3964",
+ "$id": "4076",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47409,13 +48703,13 @@
"isHttpMetadata": false
},
{
- "$id": "3965",
+ "$id": "4077",
"kind": "property",
"name": "invocation_count",
"serializedName": "invocation_count",
"doc": "The number of invocations.",
"type": {
- "$id": "3966",
+ "$id": "4078",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47435,13 +48729,13 @@
"isHttpMetadata": false
},
{
- "$id": "3967",
+ "$id": "4079",
"kind": "property",
"name": "prompt_tokens",
"serializedName": "prompt_tokens",
"doc": "The number of prompt tokens used.",
"type": {
- "$id": "3968",
+ "$id": "4080",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47461,13 +48755,13 @@
"isHttpMetadata": false
},
{
- "$id": "3969",
+ "$id": "4081",
"kind": "property",
"name": "completion_tokens",
"serializedName": "completion_tokens",
"doc": "The number of completion tokens generated.",
"type": {
- "$id": "3970",
+ "$id": "4082",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47487,13 +48781,13 @@
"isHttpMetadata": false
},
{
- "$id": "3971",
+ "$id": "4083",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "The total number of tokens used.",
"type": {
- "$id": "3972",
+ "$id": "4084",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47513,13 +48807,13 @@
"isHttpMetadata": false
},
{
- "$id": "3973",
+ "$id": "4085",
"kind": "property",
"name": "cached_tokens",
"serializedName": "cached_tokens",
"doc": "The number of tokens retrieved from cache.",
"type": {
- "$id": "3974",
+ "$id": "4086",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47557,17 +48851,17 @@
"isHttpMetadata": false
},
{
- "$id": "3975",
+ "$id": "4087",
"kind": "property",
"name": "per_testing_criteria_results",
"serializedName": "per_testing_criteria_results",
"doc": "Results per testing criteria applied during the evaluation run.",
"type": {
- "$id": "3976",
+ "$id": "4088",
"kind": "array",
"name": "Array16",
"valueType": {
- "$id": "3977",
+ "$id": "4089",
"kind": "model",
"name": "EvalRunPerTestingCriteriaResult",
"namespace": "OpenAI",
@@ -47576,13 +48870,13 @@
"decorators": [],
"properties": [
{
- "$id": "3978",
+ "$id": "4090",
"kind": "property",
"name": "testing_criteria",
"serializedName": "testing_criteria",
"doc": "A description of the testing criteria.",
"type": {
- "$id": "3979",
+ "$id": "4091",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47602,13 +48896,13 @@
"isHttpMetadata": false
},
{
- "$id": "3980",
+ "$id": "4092",
"kind": "property",
"name": "passed",
"serializedName": "passed",
"doc": "Number of tests passed for this criteria.",
"type": {
- "$id": "3981",
+ "$id": "4093",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47628,13 +48922,13 @@
"isHttpMetadata": false
},
{
- "$id": "3982",
+ "$id": "4094",
"kind": "property",
"name": "failed",
"serializedName": "failed",
"doc": "Number of tests failed for this criteria.",
"type": {
- "$id": "3983",
+ "$id": "4095",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -47672,13 +48966,13 @@
"isHttpMetadata": false
},
{
- "$id": "3984",
+ "$id": "4096",
"kind": "property",
"name": "data_source",
"serializedName": "data_source",
"doc": "Information about the run's data source.",
"type": {
- "$id": "3985",
+ "$id": "4097",
"kind": "model",
"name": "EvalRunDataSourceResource",
"namespace": "OpenAI",
@@ -47687,12 +48981,12 @@
"decorators": [],
"properties": [
{
- "$id": "3986",
+ "$id": "4098",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "382"
+ "$ref": "392"
},
"optional": false,
"readOnly": false,
@@ -47723,13 +49017,13 @@
"isHttpMetadata": false
},
{
- "$id": "3987",
+ "$id": "4099",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -47745,12 +49039,12 @@
"isHttpMetadata": false
},
{
- "$id": "3988",
+ "$id": "4100",
"kind": "property",
"name": "error",
"serializedName": "error",
"type": {
- "$id": "3989",
+ "$id": "4101",
"kind": "model",
"name": "EvalApiError",
"namespace": "OpenAI",
@@ -47760,13 +49054,13 @@
"decorators": [],
"properties": [
{
- "$id": "3990",
+ "$id": "4102",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "The error code.",
"type": {
- "$id": "3991",
+ "$id": "4103",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47786,13 +49080,13 @@
"isHttpMetadata": false
},
{
- "$id": "3992",
+ "$id": "4104",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "The error message.",
"type": {
- "$id": "3993",
+ "$id": "4105",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47845,13 +49139,13 @@
"isHttpMetadata": false
},
{
- "$id": "3994",
+ "$id": "4106",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The identifier of the first eval run in the data array.",
"type": {
- "$id": "3995",
+ "$id": "4107",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47871,13 +49165,13 @@
"isHttpMetadata": false
},
{
- "$id": "3996",
+ "$id": "4108",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The identifier of the last eval run in the data array.",
"type": {
- "$id": "3997",
+ "$id": "4109",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47897,13 +49191,13 @@
"isHttpMetadata": false
},
{
- "$id": "3998",
+ "$id": "4110",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Indicates whether there are more evals available.",
"type": {
- "$id": "3999",
+ "$id": "4111",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -47925,25 +49219,25 @@
]
},
{
- "$ref": "3933"
+ "$ref": "4045"
},
{
- "$ref": "3951"
+ "$ref": "4063"
},
{
- "$ref": "3962"
+ "$ref": "4074"
},
{
- "$ref": "3977"
+ "$ref": "4089"
},
{
- "$ref": "3985"
+ "$ref": "4097"
},
{
- "$ref": "3989"
+ "$ref": "4101"
},
{
- "$id": "4000",
+ "$id": "4112",
"kind": "model",
"name": "CreateEvalRunRequest",
"namespace": "OpenAI",
@@ -47952,13 +49246,13 @@
"decorators": [],
"properties": [
{
- "$id": "4001",
+ "$id": "4113",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the run.",
"type": {
- "$id": "4002",
+ "$id": "4114",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -47978,13 +49272,13 @@
"isHttpMetadata": false
},
{
- "$id": "4003",
+ "$id": "4115",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -48000,13 +49294,13 @@
"isHttpMetadata": false
},
{
- "$id": "4004",
+ "$id": "4116",
"kind": "property",
"name": "data_source",
"serializedName": "data_source",
"doc": "Details about the run's data source.",
"type": {
- "$id": "4005",
+ "$id": "4117",
"kind": "model",
"name": "EvalRunDataSourceParams",
"namespace": "OpenAI",
@@ -48014,12 +49308,12 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4006",
+ "$id": "4118",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "382"
+ "$ref": "392"
},
"optional": false,
"readOnly": false,
@@ -48036,12 +49330,12 @@
},
"properties": [
{
- "$ref": "4006"
+ "$ref": "4118"
}
],
"discriminatedSubtypes": {
"jsonl": {
- "$id": "4007",
+ "$id": "4119",
"kind": "model",
"name": "EvalJsonlRunDataSourceParams",
"namespace": "OpenAI",
@@ -48051,17 +49345,89 @@
"discriminatorValue": "jsonl",
"decorators": [],
"baseModel": {
- "$ref": "4005"
+ "$ref": "4117"
},
"properties": [
{
- "$id": "4008",
+ "$id": "4120",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of data source. Always `jsonl`.",
"type": {
- "$ref": "384"
+ "$id": "4121",
+ "kind": "enumvalue",
+ "name": "jsonl",
+ "value": "jsonl",
+ "valueType": {
+ "$ref": "393"
+ },
+ "enumType": {
+ "$id": "4122",
+ "kind": "enum",
+ "decorators": [],
+ "name": "EvalRunDataSourceType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4123",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4124",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "jsonl",
+ "value": "jsonl",
+ "valueType": {
+ "$ref": "4123"
+ },
+ "enumType": {
+ "$ref": "4122"
+ }
+ },
+ {
+ "$id": "4125",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "completions",
+ "value": "completions",
+ "valueType": {
+ "$ref": "4123"
+ },
+ "enumType": {
+ "$ref": "4122"
+ }
+ },
+ {
+ "$id": "4126",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "responses",
+ "value": "responses",
+ "valueType": {
+ "$ref": "4123"
+ },
+ "enumType": {
+ "$ref": "4122"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.EvalRunDataSourceType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -48077,18 +49443,18 @@
"isHttpMetadata": false
},
{
- "$id": "4009",
+ "$id": "4127",
"kind": "property",
"name": "source",
"serializedName": "source",
"doc": "Determines what populates the `item` namespace in the data source.",
"type": {
- "$id": "4010",
+ "$id": "4128",
"kind": "union",
"name": "EvalJsonlRunDataSourceParamsSource",
"variantTypes": [
{
- "$id": "4011",
+ "$id": "4129",
"kind": "model",
"name": "EvalRunFileContentDataContentSource",
"namespace": "OpenAI",
@@ -48097,7 +49463,7 @@
"discriminatorValue": "file_content",
"decorators": [],
"baseModel": {
- "$id": "4012",
+ "$id": "4130",
"kind": "model",
"name": "EvalRunDataContentSource",
"namespace": "OpenAI",
@@ -48105,12 +49471,12 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4013",
+ "$id": "4131",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "387"
+ "$ref": "397"
},
"optional": false,
"readOnly": false,
@@ -48127,15 +49493,15 @@
},
"properties": [
{
- "$ref": "4013"
+ "$ref": "4131"
}
],
"discriminatedSubtypes": {
"file_content": {
- "$ref": "4011"
+ "$ref": "4129"
},
"file_id": {
- "$id": "4014",
+ "$id": "4132",
"kind": "model",
"name": "EvalRunFileIdDataContentSource",
"namespace": "OpenAI",
@@ -48144,17 +49510,102 @@
"discriminatorValue": "file_id",
"decorators": [],
"baseModel": {
- "$ref": "4012"
+ "$ref": "4130"
},
"properties": [
{
- "$id": "4015",
+ "$id": "4133",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of jsonl source. Always `file_id`.",
"type": {
- "$ref": "389"
+ "$id": "4134",
+ "kind": "enumvalue",
+ "name": "file_id",
+ "value": "file_id",
+ "valueType": {
+ "$ref": "398"
+ },
+ "enumType": {
+ "$id": "4135",
+ "kind": "enum",
+ "decorators": [],
+ "name": "EvalRunDataContentSourceType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4136",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4137",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_id",
+ "value": "file_id",
+ "valueType": {
+ "$ref": "4136"
+ },
+ "enumType": {
+ "$ref": "4135"
+ }
+ },
+ {
+ "$id": "4138",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_content",
+ "value": "file_content",
+ "valueType": {
+ "$ref": "4136"
+ },
+ "enumType": {
+ "$ref": "4135"
+ }
+ },
+ {
+ "$id": "4139",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "stored_completions",
+ "value": "stored_completions",
+ "valueType": {
+ "$ref": "4136"
+ },
+ "enumType": {
+ "$ref": "4135"
+ }
+ },
+ {
+ "$id": "4140",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "responses",
+ "value": "responses",
+ "valueType": {
+ "$ref": "4136"
+ },
+ "enumType": {
+ "$ref": "4135"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.EvalRunDataContentSourceType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -48170,13 +49621,13 @@
"isHttpMetadata": false
},
{
- "$id": "4016",
+ "$id": "4141",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier of the file.",
"type": {
- "$id": "4017",
+ "$id": "4142",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -48198,7 +49649,7 @@
]
},
"stored_completions": {
- "$id": "4018",
+ "$id": "4143",
"kind": "model",
"name": "EvalRunStoredCompletionsDataContentSource",
"namespace": "OpenAI",
@@ -48208,17 +49659,27 @@
"discriminatorValue": "stored_completions",
"decorators": [],
"baseModel": {
- "$ref": "4012"
+ "$ref": "4130"
},
"properties": [
{
- "$id": "4019",
+ "$id": "4144",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of source. Always `stored_completions`.",
"type": {
- "$ref": "391"
+ "$id": "4145",
+ "kind": "enumvalue",
+ "name": "stored_completions",
+ "value": "stored_completions",
+ "valueType": {
+ "$ref": "398"
+ },
+ "enumType": {
+ "$ref": "4135"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -48234,13 +49695,13 @@
"isHttpMetadata": false
},
{
- "$id": "4020",
+ "$id": "4146",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -48256,16 +49717,16 @@
"isHttpMetadata": false
},
{
- "$id": "4021",
+ "$id": "4147",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "An optional model to filter by (e.g., 'gpt-4o').",
"type": {
- "$id": "4022",
+ "$id": "4148",
"kind": "nullable",
"type": {
- "$id": "4023",
+ "$id": "4149",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -48287,16 +49748,16 @@
"isHttpMetadata": false
},
{
- "$id": "4024",
+ "$id": "4150",
"kind": "property",
"name": "created_after",
"serializedName": "created_after",
"doc": "An optional Unix timestamp to filter items created after this time.",
"type": {
- "$id": "4025",
+ "$id": "4151",
"kind": "nullable",
"type": {
- "$id": "4026",
+ "$id": "4152",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -48318,16 +49779,16 @@
"isHttpMetadata": false
},
{
- "$id": "4027",
+ "$id": "4153",
"kind": "property",
"name": "created_before",
"serializedName": "created_before",
"doc": "An optional Unix timestamp to filter items created before this time.",
"type": {
- "$id": "4028",
+ "$id": "4154",
"kind": "nullable",
"type": {
- "$id": "4029",
+ "$id": "4155",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -48349,16 +49810,16 @@
"isHttpMetadata": false
},
{
- "$id": "4030",
+ "$id": "4156",
"kind": "property",
"name": "limit",
"serializedName": "limit",
"doc": "An optional maximum number of items to return.",
"type": {
- "$id": "4031",
+ "$id": "4157",
"kind": "nullable",
"type": {
- "$id": "4032",
+ "$id": "4158",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -48382,7 +49843,7 @@
]
},
"responses": {
- "$id": "4033",
+ "$id": "4159",
"kind": "model",
"name": "EvalRunResponsesDataContentSource",
"namespace": "OpenAI",
@@ -48392,17 +49853,27 @@
"discriminatorValue": "responses",
"decorators": [],
"baseModel": {
- "$ref": "4012"
+ "$ref": "4130"
},
"properties": [
{
- "$id": "4034",
+ "$id": "4160",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of run data source. Always `responses`.",
"type": {
- "$ref": "392"
+ "$id": "4161",
+ "kind": "enumvalue",
+ "name": "responses",
+ "value": "responses",
+ "valueType": {
+ "$ref": "398"
+ },
+ "enumType": {
+ "$ref": "4135"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -48418,13 +49889,13 @@
"isHttpMetadata": false
},
{
- "$id": "4035",
+ "$id": "4162",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -48440,16 +49911,16 @@
"isHttpMetadata": false
},
{
- "$id": "4036",
+ "$id": "4163",
"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": "4037",
+ "$id": "4164",
"kind": "nullable",
"type": {
- "$id": "4038",
+ "$id": "4165",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -48471,16 +49942,16 @@
"isHttpMetadata": false
},
{
- "$id": "4039",
+ "$id": "4166",
"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": "4040",
+ "$id": "4167",
"kind": "nullable",
"type": {
- "$id": "4041",
+ "$id": "4168",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -48502,16 +49973,16 @@
"isHttpMetadata": false
},
{
- "$id": "4042",
+ "$id": "4169",
"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": "4043",
+ "$id": "4170",
"kind": "nullable",
"type": {
- "$id": "4044",
+ "$id": "4171",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -48533,16 +50004,16 @@
"isHttpMetadata": false
},
{
- "$id": "4045",
+ "$id": "4172",
"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": "4046",
+ "$id": "4173",
"kind": "nullable",
"type": {
- "$id": "4047",
+ "$id": "4174",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -48564,13 +50035,13 @@
"isHttpMetadata": false
},
{
- "$id": "4048",
+ "$id": "4175",
"kind": "property",
"name": "reasoning_effort",
"serializedName": "reasoning_effort",
"doc": "Optional reasoning effort parameter. This is a query parameter used to select responses.",
"type": {
- "$id": "4049",
+ "$id": "4176",
"kind": "nullable",
"type": {
"$ref": "53"
@@ -48591,16 +50062,16 @@
"isHttpMetadata": false
},
{
- "$id": "4050",
+ "$id": "4177",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "Sampling temperature. This is a query parameter used to select responses.",
"type": {
- "$id": "4051",
+ "$id": "4178",
"kind": "nullable",
"type": {
- "$id": "4052",
+ "$id": "4179",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -48622,16 +50093,16 @@
"isHttpMetadata": false
},
{
- "$id": "4053",
+ "$id": "4180",
"kind": "property",
"name": "top_p",
"serializedName": "top_p",
"doc": "Nucleus sampling parameter. This is a query parameter used to select responses.",
"type": {
- "$id": "4054",
+ "$id": "4181",
"kind": "nullable",
"type": {
- "$id": "4055",
+ "$id": "4182",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -48653,16 +50124,16 @@
"isHttpMetadata": false
},
{
- "$id": "4056",
+ "$id": "4183",
"kind": "property",
"name": "users",
"serializedName": "users",
"doc": "List of user identifiers. This is a query parameter used to select responses.",
"type": {
- "$id": "4057",
+ "$id": "4184",
"kind": "nullable",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"namespace": "OpenAI"
},
@@ -48680,16 +50151,16 @@
"isHttpMetadata": false
},
{
- "$id": "4058",
+ "$id": "4185",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "List of tool names. This is a query parameter used to select responses.",
"type": {
- "$id": "4059",
+ "$id": "4186",
"kind": "nullable",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"namespace": "OpenAI"
},
@@ -48712,21 +50183,21 @@
},
"properties": [
{
- "$id": "4060",
+ "$id": "4187",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of jsonl source. Always `file_content`.",
"type": {
- "$id": "4061",
+ "$id": "4188",
"kind": "enumvalue",
"name": "file_content",
"value": "file_content",
"valueType": {
- "$ref": "388"
+ "$ref": "398"
},
"enumType": {
- "$ref": "387"
+ "$ref": "4135"
},
"decorators": []
},
@@ -48744,17 +50215,17 @@
"isHttpMetadata": false
},
{
- "$id": "4062",
+ "$id": "4189",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content of the jsonl file.",
"type": {
- "$id": "4063",
+ "$id": "4190",
"kind": "array",
"name": "Array17",
"valueType": {
- "$id": "4064",
+ "$id": "4191",
"kind": "model",
"name": "EvalRunFileContentDataContentSourceContent",
"namespace": "OpenAI",
@@ -48763,12 +50234,12 @@
"decorators": [],
"properties": [
{
- "$id": "4065",
+ "$id": "4192",
"kind": "property",
"name": "item",
"serializedName": "item",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"optional": false,
"readOnly": false,
@@ -48784,12 +50255,12 @@
"isHttpMetadata": false
},
{
- "$id": "4066",
+ "$id": "4193",
"kind": "property",
"name": "sample",
"serializedName": "sample",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"optional": true,
"readOnly": false,
@@ -48825,7 +50296,7 @@
]
},
{
- "$ref": "4014"
+ "$ref": "4132"
}
],
"namespace": "OpenAI",
@@ -48847,7 +50318,7 @@
]
},
"completions": {
- "$id": "4067",
+ "$id": "4194",
"kind": "model",
"name": "EvalCompletionsRunDataSourceParams",
"namespace": "OpenAI",
@@ -48857,17 +50328,27 @@
"discriminatorValue": "completions",
"decorators": [],
"baseModel": {
- "$ref": "4005"
+ "$ref": "4117"
},
"properties": [
{
- "$id": "4068",
+ "$id": "4195",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of run data source. Always `completions`.",
"type": {
- "$ref": "385"
+ "$id": "4196",
+ "kind": "enumvalue",
+ "name": "completions",
+ "value": "completions",
+ "valueType": {
+ "$ref": "393"
+ },
+ "enumType": {
+ "$ref": "4122"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -48883,18 +50364,18 @@
"isHttpMetadata": false
},
{
- "$id": "4069",
+ "$id": "4197",
"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": "4070",
+ "$id": "4198",
"kind": "union",
"name": "EvalCompletionsRunDataSourceParamsInputMessages",
"variantTypes": [
{
- "$id": "4071",
+ "$id": "4199",
"kind": "model",
"name": "EvalCompletionsRunDataSourceParamsInputMessages1",
"namespace": "OpenAI",
@@ -48903,13 +50384,13 @@
"decorators": [],
"properties": [
{
- "$id": "4072",
+ "$id": "4200",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of input messages. Always `template`.",
"type": {
- "$ref": "1607"
+ "$ref": "1639"
},
"optional": false,
"readOnly": false,
@@ -48925,29 +50406,29 @@
"isHttpMetadata": false
},
{
- "$id": "4073",
+ "$id": "4201",
"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": "4074",
+ "$id": "4202",
"kind": "array",
"name": "Array18",
"valueType": {
- "$id": "4075",
+ "$id": "4203",
"kind": "union",
"name": "EvalCompletionsRunDataSourceParamsInputMessagesTemplate",
"variantTypes": [
{
- "$id": "4076",
+ "$id": "4204",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
"decorators": []
},
{
- "$ref": "3474"
+ "$ref": "3566"
}
],
"namespace": "OpenAI",
@@ -48972,7 +50453,7 @@
]
},
{
- "$id": "4077",
+ "$id": "4205",
"kind": "model",
"name": "EvalCompletionsRunDataSourceParamsInputMessages2",
"namespace": "OpenAI",
@@ -48981,13 +50462,13 @@
"decorators": [],
"properties": [
{
- "$id": "4078",
+ "$id": "4206",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of input messages. Always `item_reference`.",
"type": {
- "$ref": "1609"
+ "$ref": "1641"
},
"optional": false,
"readOnly": false,
@@ -49003,13 +50484,13 @@
"isHttpMetadata": false
},
{
- "$id": "4079",
+ "$id": "4207",
"kind": "property",
"name": "item_reference",
"serializedName": "item_reference",
"doc": "A reference to a variable in the `item` namespace. Ie, \"item.input_trajectory\"",
"type": {
- "$id": "4080",
+ "$id": "4208",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -49048,12 +50529,12 @@
"isHttpMetadata": false
},
{
- "$id": "4081",
+ "$id": "4209",
"kind": "property",
"name": "sampling_params",
"serializedName": "sampling_params",
"type": {
- "$id": "4082",
+ "$id": "4210",
"kind": "model",
"name": "EvalCompletionsRunDataSourceParamsSamplingParams",
"namespace": "OpenAI",
@@ -49062,13 +50543,13 @@
"decorators": [],
"properties": [
{
- "$id": "4083",
+ "$id": "4211",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "A higher temperature increases randomness in the outputs.",
"type": {
- "$id": "4084",
+ "$id": "4212",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -49088,13 +50569,13 @@
"isHttpMetadata": false
},
{
- "$id": "4085",
+ "$id": "4213",
"kind": "property",
"name": "max_completion_tokens",
"serializedName": "max_completion_tokens",
"doc": "The maximum number of tokens in the generated output.",
"type": {
- "$id": "4086",
+ "$id": "4214",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -49114,13 +50595,13 @@
"isHttpMetadata": false
},
{
- "$id": "4087",
+ "$id": "4215",
"kind": "property",
"name": "top_p",
"serializedName": "top_p",
"doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.",
"type": {
- "$id": "4088",
+ "$id": "4216",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -49140,13 +50621,13 @@
"isHttpMetadata": false
},
{
- "$id": "4089",
+ "$id": "4217",
"kind": "property",
"name": "seed",
"serializedName": "seed",
"doc": "A seed value to initialize the randomness, during sampling.",
"type": {
- "$id": "4090",
+ "$id": "4218",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -49166,13 +50647,13 @@
"isHttpMetadata": false
},
{
- "$id": "4091",
+ "$id": "4219",
"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": "4092",
+ "$id": "4220",
"kind": "model",
"name": "ResponseTextFormatConfiguration",
"namespace": "OpenAI",
@@ -49180,12 +50661,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4093",
+ "$id": "4221",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "393"
+ "$ref": "403"
},
"optional": false,
"readOnly": false,
@@ -49202,12 +50683,12 @@
},
"properties": [
{
- "$ref": "4093"
+ "$ref": "4221"
}
],
"discriminatedSubtypes": {
"text": {
- "$id": "4094",
+ "$id": "4222",
"kind": "model",
"name": "ResponseTextFormatConfigurationText",
"namespace": "OpenAI",
@@ -49216,16 +50697,89 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$ref": "4092"
+ "$ref": "4220"
},
"properties": [
{
- "$id": "4095",
+ "$id": "4223",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "395"
+ "$id": "4224",
+ "kind": "enumvalue",
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "404"
+ },
+ "enumType": {
+ "$id": "4225",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\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.",
+ "name": "ResponseTextFormatConfigurationType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4226",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4227",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "4226"
+ },
+ "enumType": {
+ "$ref": "4225"
+ }
+ },
+ {
+ "$id": "4228",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "json_schema",
+ "value": "json_schema",
+ "valueType": {
+ "$ref": "4226"
+ },
+ "enumType": {
+ "$ref": "4225"
+ }
+ },
+ {
+ "$id": "4229",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "json_object",
+ "value": "json_object",
+ "valueType": {
+ "$ref": "4226"
+ },
+ "enumType": {
+ "$ref": "4225"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -49243,7 +50797,7 @@
]
},
"json_object": {
- "$id": "4096",
+ "$id": "4230",
"kind": "model",
"name": "ResponseTextFormatConfigurationJsonObject",
"namespace": "OpenAI",
@@ -49252,16 +50806,26 @@
"discriminatorValue": "json_object",
"decorators": [],
"baseModel": {
- "$ref": "4092"
+ "$ref": "4220"
},
"properties": [
{
- "$id": "4097",
+ "$id": "4231",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "397"
+ "$id": "4232",
+ "kind": "enumvalue",
+ "name": "json_object",
+ "value": "json_object",
+ "valueType": {
+ "$ref": "404"
+ },
+ "enumType": {
+ "$ref": "4225"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -49279,7 +50843,7 @@
]
},
"json_schema": {
- "$id": "4098",
+ "$id": "4233",
"kind": "model",
"name": "ResponseTextFormatConfigurationJsonSchema",
"namespace": "OpenAI",
@@ -49289,17 +50853,27 @@
"discriminatorValue": "json_schema",
"decorators": [],
"baseModel": {
- "$ref": "4092"
+ "$ref": "4220"
},
"properties": [
{
- "$id": "4099",
+ "$id": "4234",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of response format being defined. Always `json_schema`.",
"type": {
- "$ref": "396"
+ "$id": "4235",
+ "kind": "enumvalue",
+ "name": "json_schema",
+ "value": "json_schema",
+ "valueType": {
+ "$ref": "404"
+ },
+ "enumType": {
+ "$ref": "4225"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -49315,13 +50889,13 @@
"isHttpMetadata": false
},
{
- "$id": "4100",
+ "$id": "4236",
"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": "4101",
+ "$id": "4237",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -49341,13 +50915,13 @@
"isHttpMetadata": false
},
{
- "$id": "4102",
+ "$id": "4238",
"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": "4103",
+ "$id": "4239",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -49367,12 +50941,12 @@
"isHttpMetadata": false
},
{
- "$id": "4104",
+ "$id": "4240",
"kind": "property",
"name": "schema",
"serializedName": "schema",
"type": {
- "$ref": "2378"
+ "$ref": "2413"
},
"optional": false,
"readOnly": false,
@@ -49388,16 +50962,16 @@
"isHttpMetadata": false
},
{
- "$id": "4105",
+ "$id": "4241",
"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": "4106",
+ "$id": "4242",
"kind": "nullable",
"type": {
- "$id": "4107",
+ "$id": "4243",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -49436,13 +51010,13 @@
"isHttpMetadata": false
},
{
- "$id": "4108",
+ "$id": "4244",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.",
"type": {
- "$ref": "3062"
+ "$ref": "3136"
},
"optional": true,
"readOnly": false,
@@ -49473,13 +51047,13 @@
"isHttpMetadata": false
},
{
- "$id": "4109",
+ "$id": "4245",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").",
"type": {
- "$id": "4110",
+ "$id": "4246",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -49499,24 +51073,24 @@
"isHttpMetadata": false
},
{
- "$id": "4111",
+ "$id": "4247",
"kind": "property",
"name": "source",
"serializedName": "source",
"doc": "Determines what populates the `item` namespace in this run's data source.",
"type": {
- "$id": "4112",
+ "$id": "4248",
"kind": "union",
"name": "EvalCompletionsRunDataSourceParamsSource",
"variantTypes": [
{
- "$ref": "4011"
+ "$ref": "4129"
},
{
- "$ref": "4014"
+ "$ref": "4132"
},
{
- "$ref": "4018"
+ "$ref": "4143"
}
],
"namespace": "OpenAI",
@@ -49538,7 +51112,7 @@
]
},
"responses": {
- "$id": "4113",
+ "$id": "4249",
"kind": "model",
"name": "EvalResponsesRunDataSourceParams",
"namespace": "OpenAI",
@@ -49548,17 +51122,27 @@
"discriminatorValue": "responses",
"decorators": [],
"baseModel": {
- "$ref": "4005"
+ "$ref": "4117"
},
"properties": [
{
- "$id": "4114",
+ "$id": "4250",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of run data source. Always `responses`.",
"type": {
- "$ref": "386"
+ "$id": "4251",
+ "kind": "enumvalue",
+ "name": "responses",
+ "value": "responses",
+ "valueType": {
+ "$ref": "393"
+ },
+ "enumType": {
+ "$ref": "4122"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -49574,18 +51158,18 @@
"isHttpMetadata": false
},
{
- "$id": "4115",
+ "$id": "4252",
"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": "4116",
+ "$id": "4253",
"kind": "union",
"name": "EvalResponsesRunDataSourceParamsInputMessages",
"variantTypes": [
{
- "$id": "4117",
+ "$id": "4254",
"kind": "model",
"name": "EvalResponsesRunDataSourceParamsInputMessages1",
"namespace": "OpenAI",
@@ -49594,13 +51178,13 @@
"decorators": [],
"properties": [
{
- "$id": "4118",
+ "$id": "4255",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of input messages. Always `template`.",
"type": {
- "$ref": "1611"
+ "$ref": "1643"
},
"optional": false,
"readOnly": false,
@@ -49616,22 +51200,22 @@
"isHttpMetadata": false
},
{
- "$id": "4119",
+ "$id": "4256",
"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": "4120",
+ "$id": "4257",
"kind": "array",
"name": "Array19",
"valueType": {
- "$id": "4121",
+ "$id": "4258",
"kind": "union",
"name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate",
"variantTypes": [
{
- "$id": "4122",
+ "$id": "4259",
"kind": "model",
"name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate1",
"namespace": "OpenAI",
@@ -49640,13 +51224,13 @@
"decorators": [],
"properties": [
{
- "$id": "4123",
+ "$id": "4260",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").",
"type": {
- "$id": "4124",
+ "$id": "4261",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -49666,13 +51250,13 @@
"isHttpMetadata": false
},
{
- "$id": "4125",
+ "$id": "4262",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content of the message.",
"type": {
- "$id": "4126",
+ "$id": "4263",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -49694,7 +51278,7 @@
]
},
{
- "$ref": "3474"
+ "$ref": "3566"
}
],
"namespace": "OpenAI",
@@ -49719,7 +51303,7 @@
]
},
{
- "$id": "4127",
+ "$id": "4264",
"kind": "model",
"name": "EvalResponsesRunDataSourceParamsInputMessages2",
"namespace": "OpenAI",
@@ -49728,13 +51312,13 @@
"decorators": [],
"properties": [
{
- "$id": "4128",
+ "$id": "4265",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of input messages. Always `item_reference`.",
"type": {
- "$ref": "1613"
+ "$ref": "1645"
},
"optional": false,
"readOnly": false,
@@ -49750,13 +51334,13 @@
"isHttpMetadata": false
},
{
- "$id": "4129",
+ "$id": "4266",
"kind": "property",
"name": "item_reference",
"serializedName": "item_reference",
"doc": "A reference to a variable in the `item` namespace. Ie, \"item.name\"",
"type": {
- "$id": "4130",
+ "$id": "4267",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -49795,12 +51379,12 @@
"isHttpMetadata": false
},
{
- "$id": "4131",
+ "$id": "4268",
"kind": "property",
"name": "sampling_params",
"serializedName": "sampling_params",
"type": {
- "$id": "4132",
+ "$id": "4269",
"kind": "model",
"name": "EvalResponsesRunDataSourceParamsSamplingParams",
"namespace": "OpenAI",
@@ -49809,13 +51393,13 @@
"decorators": [],
"properties": [
{
- "$id": "4133",
+ "$id": "4270",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "A higher temperature increases randomness in the outputs.",
"type": {
- "$id": "4134",
+ "$id": "4271",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -49835,13 +51419,13 @@
"isHttpMetadata": false
},
{
- "$id": "4135",
+ "$id": "4272",
"kind": "property",
"name": "max_completion_tokens",
"serializedName": "max_completion_tokens",
"doc": "The maximum number of tokens in the generated output.",
"type": {
- "$id": "4136",
+ "$id": "4273",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -49861,13 +51445,13 @@
"isHttpMetadata": false
},
{
- "$id": "4137",
+ "$id": "4274",
"kind": "property",
"name": "top_p",
"serializedName": "top_p",
"doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.",
"type": {
- "$id": "4138",
+ "$id": "4275",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -49887,13 +51471,13 @@
"isHttpMetadata": false
},
{
- "$id": "4139",
+ "$id": "4276",
"kind": "property",
"name": "seed",
"serializedName": "seed",
"doc": "A seed value to initialize the randomness, during sampling.",
"type": {
- "$id": "4140",
+ "$id": "4277",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -49913,17 +51497,17 @@
"isHttpMetadata": false
},
{
- "$id": "4141",
+ "$id": "4278",
"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": "4142",
+ "$id": "4279",
"kind": "array",
"name": "ArrayTool",
"valueType": {
- "$id": "4143",
+ "$id": "4280",
"kind": "model",
"name": "Tool",
"namespace": "OpenAI",
@@ -49931,12 +51515,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4144",
+ "$id": "4281",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "398"
+ "$ref": "408"
},
"optional": false,
"readOnly": false,
@@ -49953,12 +51537,12 @@
},
"properties": [
{
- "$ref": "4144"
+ "$ref": "4281"
}
],
"discriminatedSubtypes": {
"function": {
- "$id": "4145",
+ "$id": "4282",
"kind": "model",
"name": "FunctionTool",
"namespace": "OpenAI",
@@ -49968,17 +51552,155 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4146",
+ "$id": "4283",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the function tool. Always `function`.",
"type": {
- "$ref": "401"
+ "$id": "4284",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$id": "4285",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "A tool that can be used to generate a response.",
+ "name": "ToolType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4286",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4287",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ },
+ {
+ "$id": "4288",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ },
+ {
+ "$id": "4289",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "computer_use_preview",
+ "value": "computer_use_preview",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ },
+ {
+ "$id": "4290",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "web_search_preview",
+ "value": "web_search_preview",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ },
+ {
+ "$id": "4291",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "mcp",
+ "value": "mcp",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ },
+ {
+ "$id": "4292",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ },
+ {
+ "$id": "4293",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "image_generation",
+ "value": "image_generation",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ },
+ {
+ "$id": "4294",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "local_shell",
+ "value": "local_shell",
+ "valueType": {
+ "$ref": "4286"
+ },
+ "enumType": {
+ "$ref": "4285"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ToolType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -49994,13 +51716,13 @@
"isHttpMetadata": false
},
{
- "$id": "4147",
+ "$id": "4295",
"kind": "property",
"name": "FunctionName",
"serializedName": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "4148",
+ "$id": "4296",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -50020,16 +51742,16 @@
"isHttpMetadata": false
},
{
- "$id": "4149",
+ "$id": "4297",
"kind": "property",
"name": "FunctionDescription",
"serializedName": "description",
"doc": "A description of the function. Used by the model to determine whether or not to call the function.",
"type": {
- "$id": "4150",
+ "$id": "4298",
"kind": "nullable",
"type": {
- "$id": "4151",
+ "$id": "4299",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -50051,16 +51773,16 @@
"isHttpMetadata": false
},
{
- "$id": "4152",
+ "$id": "4300",
"kind": "property",
"name": "FunctionParameters",
"serializedName": "parameters",
"doc": "A JSON schema object describing the parameters of the function.",
"type": {
- "$id": "4153",
+ "$id": "4301",
"kind": "nullable",
"type": {
- "$id": "4154",
+ "$id": "4302",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -50082,16 +51804,16 @@
"isHttpMetadata": false
},
{
- "$id": "4155",
+ "$id": "4303",
"kind": "property",
"name": "StrictModeEnabled",
"serializedName": "strict",
"doc": "Whether to enforce strict parameter validation. Default `true`.",
"type": {
- "$id": "4156",
+ "$id": "4304",
"kind": "nullable",
"type": {
- "$id": "4157",
+ "$id": "4305",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -50115,7 +51837,7 @@
]
},
"file_search": {
- "$id": "4158",
+ "$id": "4306",
"kind": "model",
"name": "FileSearchTool",
"namespace": "OpenAI",
@@ -50125,17 +51847,27 @@
"discriminatorValue": "file_search",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4159",
+ "$id": "4307",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the file search tool. Always `file_search`.",
"type": {
- "$ref": "400"
+ "$id": "4308",
+ "kind": "enumvalue",
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$ref": "4285"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50151,13 +51883,13 @@
"isHttpMetadata": false
},
{
- "$id": "4160",
+ "$id": "4309",
"kind": "property",
"name": "vector_store_ids",
"serializedName": "vector_store_ids",
"doc": "The IDs of the vector stores to search.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -50173,13 +51905,13 @@
"isHttpMetadata": false
},
{
- "$id": "4161",
+ "$id": "4310",
"kind": "property",
"name": "MaxResultCount",
"serializedName": "max_num_results",
"doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.",
"type": {
- "$id": "4162",
+ "$id": "4311",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -50199,13 +51931,13 @@
"isHttpMetadata": false
},
{
- "$id": "4163",
+ "$id": "4312",
"kind": "property",
"name": "ranking_options",
"serializedName": "ranking_options",
"doc": "Ranking options for search.",
"type": {
- "$id": "4164",
+ "$id": "4313",
"kind": "model",
"name": "RankingOptions",
"namespace": "OpenAI",
@@ -50214,13 +51946,13 @@
"decorators": [],
"properties": [
{
- "$id": "4165",
+ "$id": "4314",
"kind": "property",
"name": "ranker",
"serializedName": "ranker",
"doc": "The ranker to use for the file search.",
"type": {
- "$ref": "408"
+ "$ref": "418"
},
"optional": true,
"readOnly": false,
@@ -50236,13 +51968,13 @@
"isHttpMetadata": false
},
{
- "$id": "4166",
+ "$id": "4315",
"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": "4167",
+ "$id": "4316",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -50277,21 +52009,21 @@
"isHttpMetadata": false
},
{
- "$id": "4168",
+ "$id": "4317",
"kind": "property",
"name": "filters",
"serializedName": "filters",
"doc": "A filter to apply.",
"type": {
- "$id": "4169",
+ "$id": "4318",
"kind": "nullable",
"type": {
- "$id": "4170",
+ "$id": "4319",
"kind": "union",
"name": "Filters",
"variantTypes": [
{
- "$id": "4171",
+ "$id": "4320",
"kind": "model",
"name": "ComparisonFilter",
"namespace": "OpenAI",
@@ -50299,12 +52031,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4172",
+ "$id": "4321",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "412"
+ "$ref": "422"
},
"optional": false,
"readOnly": false,
@@ -50321,15 +52053,15 @@
},
"properties": [
{
- "$ref": "4172"
+ "$ref": "4321"
},
{
- "$id": "4173",
+ "$id": "4322",
"kind": "property",
"name": "key",
"serializedName": "key",
"type": {
- "$id": "4174",
+ "$id": "4323",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -50349,31 +52081,31 @@
"isHttpMetadata": false
},
{
- "$id": "4175",
+ "$id": "4324",
"kind": "property",
"name": "value",
"serializedName": "value",
"type": {
- "$id": "4176",
+ "$id": "4325",
"kind": "union",
"name": "ComparisonFilterValue",
"variantTypes": [
{
- "$id": "4177",
+ "$id": "4326",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "4178",
+ "$id": "4327",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
"decorators": []
},
{
- "$id": "4179",
+ "$id": "4328",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -50399,7 +52131,7 @@
],
"discriminatedSubtypes": {
"eq": {
- "$id": "4180",
+ "$id": "4329",
"kind": "model",
"name": "ComparisonFilterEquals",
"namespace": "OpenAI",
@@ -50408,16 +52140,127 @@
"discriminatorValue": "eq",
"decorators": [],
"baseModel": {
- "$ref": "4171"
+ "$ref": "4320"
},
"properties": [
{
- "$id": "4181",
+ "$id": "4330",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "414"
+ "$id": "4331",
+ "kind": "enumvalue",
+ "name": "eq",
+ "value": "eq",
+ "valueType": {
+ "$ref": "423"
+ },
+ "enumType": {
+ "$id": "4332",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ComparisonFilterType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4333",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4334",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "eq",
+ "value": "eq",
+ "valueType": {
+ "$ref": "4333"
+ },
+ "enumType": {
+ "$ref": "4332"
+ }
+ },
+ {
+ "$id": "4335",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "ne",
+ "value": "ne",
+ "valueType": {
+ "$ref": "4333"
+ },
+ "enumType": {
+ "$ref": "4332"
+ }
+ },
+ {
+ "$id": "4336",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "gt",
+ "value": "gt",
+ "valueType": {
+ "$ref": "4333"
+ },
+ "enumType": {
+ "$ref": "4332"
+ }
+ },
+ {
+ "$id": "4337",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "gte",
+ "value": "gte",
+ "valueType": {
+ "$ref": "4333"
+ },
+ "enumType": {
+ "$ref": "4332"
+ }
+ },
+ {
+ "$id": "4338",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "lt",
+ "value": "lt",
+ "valueType": {
+ "$ref": "4333"
+ },
+ "enumType": {
+ "$ref": "4332"
+ }
+ },
+ {
+ "$id": "4339",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "lte",
+ "value": "lte",
+ "valueType": {
+ "$ref": "4333"
+ },
+ "enumType": {
+ "$ref": "4332"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ComparisonFilter.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50435,7 +52278,7 @@
]
},
"ne": {
- "$id": "4182",
+ "$id": "4340",
"kind": "model",
"name": "ComparisonFilterNotEquals",
"namespace": "OpenAI",
@@ -50444,16 +52287,26 @@
"discriminatorValue": "ne",
"decorators": [],
"baseModel": {
- "$ref": "4171"
+ "$ref": "4320"
},
"properties": [
{
- "$id": "4183",
+ "$id": "4341",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "415"
+ "$id": "4342",
+ "kind": "enumvalue",
+ "name": "ne",
+ "value": "ne",
+ "valueType": {
+ "$ref": "423"
+ },
+ "enumType": {
+ "$ref": "4332"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50471,7 +52324,7 @@
]
},
"gt": {
- "$id": "4184",
+ "$id": "4343",
"kind": "model",
"name": "ComparisonFilterGreaterThan",
"namespace": "OpenAI",
@@ -50480,16 +52333,26 @@
"discriminatorValue": "gt",
"decorators": [],
"baseModel": {
- "$ref": "4171"
+ "$ref": "4320"
},
"properties": [
{
- "$id": "4185",
+ "$id": "4344",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "416"
+ "$id": "4345",
+ "kind": "enumvalue",
+ "name": "gt",
+ "value": "gt",
+ "valueType": {
+ "$ref": "423"
+ },
+ "enumType": {
+ "$ref": "4332"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50507,7 +52370,7 @@
]
},
"gte": {
- "$id": "4186",
+ "$id": "4346",
"kind": "model",
"name": "ComparisonFilterGreaterThanOrEquals",
"namespace": "OpenAI",
@@ -50516,16 +52379,26 @@
"discriminatorValue": "gte",
"decorators": [],
"baseModel": {
- "$ref": "4171"
+ "$ref": "4320"
},
"properties": [
{
- "$id": "4187",
+ "$id": "4347",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "417"
+ "$id": "4348",
+ "kind": "enumvalue",
+ "name": "gte",
+ "value": "gte",
+ "valueType": {
+ "$ref": "423"
+ },
+ "enumType": {
+ "$ref": "4332"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50543,7 +52416,7 @@
]
},
"lt": {
- "$id": "4188",
+ "$id": "4349",
"kind": "model",
"name": "ComparisonFilterLessThan",
"namespace": "OpenAI",
@@ -50552,16 +52425,26 @@
"discriminatorValue": "lt",
"decorators": [],
"baseModel": {
- "$ref": "4171"
+ "$ref": "4320"
},
"properties": [
{
- "$id": "4189",
+ "$id": "4350",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "418"
+ "$id": "4351",
+ "kind": "enumvalue",
+ "name": "lt",
+ "value": "lt",
+ "valueType": {
+ "$ref": "423"
+ },
+ "enumType": {
+ "$ref": "4332"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50579,7 +52462,7 @@
]
},
"lte": {
- "$id": "4190",
+ "$id": "4352",
"kind": "model",
"name": "ComparisonFilterLessThanOrEquals",
"namespace": "OpenAI",
@@ -50588,16 +52471,26 @@
"discriminatorValue": "lte",
"decorators": [],
"baseModel": {
- "$ref": "4171"
+ "$ref": "4320"
},
"properties": [
{
- "$id": "4191",
+ "$id": "4353",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "419"
+ "$id": "4354",
+ "kind": "enumvalue",
+ "name": "lte",
+ "value": "lte",
+ "valueType": {
+ "$ref": "423"
+ },
+ "enumType": {
+ "$ref": "4332"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50617,7 +52510,7 @@
}
},
{
- "$id": "4192",
+ "$id": "4355",
"kind": "model",
"name": "CompoundFilter",
"namespace": "OpenAI",
@@ -50625,12 +52518,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4193",
+ "$id": "4356",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "420"
+ "$ref": "430"
},
"optional": false,
"readOnly": false,
@@ -50647,27 +52540,27 @@
},
"properties": [
{
- "$ref": "4193"
+ "$ref": "4356"
},
{
- "$id": "4194",
+ "$id": "4357",
"kind": "property",
"name": "filters",
"serializedName": "filters",
"type": {
- "$id": "4195",
+ "$id": "4358",
"kind": "array",
"name": "Array20",
"valueType": {
- "$id": "4196",
+ "$id": "4359",
"kind": "union",
"name": "CompoundFilterFilter",
"variantTypes": [
{
- "$ref": "4171"
+ "$ref": "4320"
},
{
- "$ref": "4192"
+ "$ref": "4355"
}
],
"namespace": "OpenAI",
@@ -50692,7 +52585,7 @@
],
"discriminatedSubtypes": {
"and": {
- "$id": "4197",
+ "$id": "4360",
"kind": "model",
"name": "CompoundFilterAnd",
"namespace": "OpenAI",
@@ -50701,16 +52594,75 @@
"discriminatorValue": "and",
"decorators": [],
"baseModel": {
- "$ref": "4192"
+ "$ref": "4355"
},
"properties": [
{
- "$id": "4198",
+ "$id": "4361",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "422"
+ "$id": "4362",
+ "kind": "enumvalue",
+ "name": "and",
+ "value": "and",
+ "valueType": {
+ "$ref": "431"
+ },
+ "enumType": {
+ "$id": "4363",
+ "kind": "enum",
+ "decorators": [],
+ "name": "CompoundFilterType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4364",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4365",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "and",
+ "value": "and",
+ "valueType": {
+ "$ref": "4364"
+ },
+ "enumType": {
+ "$ref": "4363"
+ }
+ },
+ {
+ "$id": "4366",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "or",
+ "value": "or",
+ "valueType": {
+ "$ref": "4364"
+ },
+ "enumType": {
+ "$ref": "4363"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.CompoundFilter.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50728,7 +52680,7 @@
]
},
"or": {
- "$id": "4199",
+ "$id": "4367",
"kind": "model",
"name": "CompoundFilterOr",
"namespace": "OpenAI",
@@ -50737,16 +52689,26 @@
"discriminatorValue": "or",
"decorators": [],
"baseModel": {
- "$ref": "4192"
+ "$ref": "4355"
},
"properties": [
{
- "$id": "4200",
+ "$id": "4368",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "423"
+ "$id": "4369",
+ "kind": "enumvalue",
+ "name": "or",
+ "value": "or",
+ "valueType": {
+ "$ref": "431"
+ },
+ "enumType": {
+ "$ref": "4363"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50787,7 +52749,7 @@
]
},
"computer_use_preview": {
- "$id": "4201",
+ "$id": "4370",
"kind": "model",
"name": "ComputerUsePreviewTool",
"namespace": "OpenAI",
@@ -50797,17 +52759,27 @@
"discriminatorValue": "computer_use_preview",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4202",
+ "$id": "4371",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the computer use tool. Always `computer_use_preview`.",
"type": {
- "$ref": "402"
+ "$id": "4372",
+ "kind": "enumvalue",
+ "name": "computer_use_preview",
+ "value": "computer_use_preview",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$ref": "4285"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50823,13 +52795,13 @@
"isHttpMetadata": false
},
{
- "$id": "4203",
+ "$id": "4373",
"kind": "property",
"name": "environment",
"serializedName": "environment",
"doc": "The type of computer environment to control.",
"type": {
- "$ref": "424"
+ "$ref": "434"
},
"optional": false,
"readOnly": false,
@@ -50845,13 +52817,13 @@
"isHttpMetadata": false
},
{
- "$id": "4204",
+ "$id": "4374",
"kind": "property",
"name": "display_width",
"serializedName": "display_width",
"doc": "The width of the computer display.",
"type": {
- "$id": "4205",
+ "$id": "4375",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -50871,13 +52843,13 @@
"isHttpMetadata": false
},
{
- "$id": "4206",
+ "$id": "4376",
"kind": "property",
"name": "display_height",
"serializedName": "display_height",
"doc": "The height of the computer display.",
"type": {
- "$id": "4207",
+ "$id": "4377",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -50899,7 +52871,7 @@
]
},
"web_search_preview": {
- "$id": "4208",
+ "$id": "4378",
"kind": "model",
"name": "WebSearchPreviewTool",
"namespace": "OpenAI",
@@ -50909,17 +52881,27 @@
"discriminatorValue": "web_search_preview",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4209",
+ "$id": "4379",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.",
"type": {
- "$ref": "403"
+ "$id": "4380",
+ "kind": "enumvalue",
+ "name": "web_search_preview",
+ "value": "web_search_preview",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$ref": "4285"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -50935,16 +52917,16 @@
"isHttpMetadata": false
},
{
- "$id": "4210",
+ "$id": "4381",
"kind": "property",
"name": "user_location",
"serializedName": "user_location",
"doc": "The user's location.",
"type": {
- "$id": "4211",
+ "$id": "4382",
"kind": "nullable",
"type": {
- "$id": "4212",
+ "$id": "4383",
"kind": "model",
"name": "Location",
"namespace": "OpenAI",
@@ -50952,12 +52934,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4213",
+ "$id": "4384",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "431"
+ "$ref": "441"
},
"optional": false,
"readOnly": false,
@@ -50974,12 +52956,12 @@
},
"properties": [
{
- "$ref": "4213"
+ "$ref": "4384"
}
],
"discriminatedSubtypes": {
"approximate": {
- "$id": "4214",
+ "$id": "4385",
"kind": "model",
"name": "ApproximateLocation",
"namespace": "OpenAI",
@@ -50988,16 +52970,62 @@
"discriminatorValue": "approximate",
"decorators": [],
"baseModel": {
- "$ref": "4212"
+ "$ref": "4383"
},
"properties": [
{
- "$id": "4215",
+ "$id": "4386",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "433"
+ "$id": "4387",
+ "kind": "enumvalue",
+ "name": "approximate",
+ "value": "approximate",
+ "valueType": {
+ "$ref": "442"
+ },
+ "enumType": {
+ "$id": "4388",
+ "kind": "enum",
+ "decorators": [],
+ "name": "LocationType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4389",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4390",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "approximate",
+ "value": "approximate",
+ "valueType": {
+ "$ref": "4389"
+ },
+ "enumType": {
+ "$ref": "4388"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.LocationType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -51013,15 +53041,15 @@
"isHttpMetadata": false
},
{
- "$id": "4216",
+ "$id": "4391",
"kind": "property",
"name": "country",
"serializedName": "country",
"type": {
- "$id": "4217",
+ "$id": "4392",
"kind": "nullable",
"type": {
- "$id": "4218",
+ "$id": "4393",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51043,15 +53071,15 @@
"isHttpMetadata": false
},
{
- "$id": "4219",
+ "$id": "4394",
"kind": "property",
"name": "region",
"serializedName": "region",
"type": {
- "$id": "4220",
+ "$id": "4395",
"kind": "nullable",
"type": {
- "$id": "4221",
+ "$id": "4396",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51073,15 +53101,15 @@
"isHttpMetadata": false
},
{
- "$id": "4222",
+ "$id": "4397",
"kind": "property",
"name": "city",
"serializedName": "city",
"type": {
- "$id": "4223",
+ "$id": "4398",
"kind": "nullable",
"type": {
- "$id": "4224",
+ "$id": "4399",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51103,15 +53131,15 @@
"isHttpMetadata": false
},
{
- "$id": "4225",
+ "$id": "4400",
"kind": "property",
"name": "timezone",
"serializedName": "timezone",
"type": {
- "$id": "4226",
+ "$id": "4401",
"kind": "nullable",
"type": {
- "$id": "4227",
+ "$id": "4402",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51152,13 +53180,13 @@
"isHttpMetadata": false
},
{
- "$id": "4228",
+ "$id": "4403",
"kind": "property",
"name": "search_context_size",
"serializedName": "search_context_size",
"doc": "High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.",
"type": {
- "$ref": "434"
+ "$ref": "444"
},
"optional": true,
"readOnly": false,
@@ -51176,7 +53204,7 @@
]
},
"code_interpreter": {
- "$id": "4229",
+ "$id": "4404",
"kind": "model",
"name": "CodeInterpreterTool",
"namespace": "OpenAI",
@@ -51186,17 +53214,27 @@
"discriminatorValue": "code_interpreter",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4230",
+ "$id": "4405",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the code interpreter tool. Always `code_interpreter`.",
"type": {
- "$ref": "405"
+ "$id": "4406",
+ "kind": "enumvalue",
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$ref": "4285"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -51212,25 +53250,25 @@
"isHttpMetadata": false
},
{
- "$id": "4231",
+ "$id": "4407",
"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": "4232",
+ "$id": "4408",
"kind": "union",
"name": "CodeInterpreterToolContainer",
"variantTypes": [
{
- "$id": "4233",
+ "$id": "4409",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "4234",
+ "$id": "4410",
"kind": "model",
"name": "CodeInterpreterToolAuto",
"namespace": "OpenAI",
@@ -51240,7 +53278,7 @@
"discriminatorValue": "auto",
"decorators": [],
"baseModel": {
- "$id": "4235",
+ "$id": "4411",
"kind": "model",
"name": "CodeInterpreterContainerConfiguration",
"namespace": "OpenAI",
@@ -51248,13 +53286,13 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4236",
+ "$id": "4412",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the output.",
"type": {
- "$ref": "439"
+ "$ref": "449"
},
"optional": false,
"readOnly": false,
@@ -51271,32 +53309,68 @@
},
"properties": [
{
- "$ref": "4236"
+ "$ref": "4412"
}
],
"discriminatedSubtypes": {
"auto": {
- "$ref": "4234"
+ "$ref": "4410"
}
}
},
"properties": [
{
- "$id": "4237",
+ "$id": "4413",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `auto`.",
"type": {
- "$id": "4238",
+ "$id": "4414",
"kind": "enumvalue",
"name": "auto",
"value": "auto",
"valueType": {
- "$ref": "440"
+ "$ref": "450"
},
"enumType": {
- "$ref": "439"
+ "$id": "4415",
+ "kind": "enum",
+ "decorators": [],
+ "name": "CodeInterpreterContainerConfigurationType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4416",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4417",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "auto",
+ "value": "auto",
+ "valueType": {
+ "$ref": "4416"
+ },
+ "enumType": {
+ "$ref": "4415"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.CodeInterpreterContainerConfigurationType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
},
"decorators": []
},
@@ -51314,13 +53388,13 @@
"isHttpMetadata": false
},
{
- "$id": "4239",
+ "$id": "4418",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "An optional list of uploaded files to make available to your code.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -51357,7 +53431,7 @@
]
},
"image_generation": {
- "$id": "4240",
+ "$id": "4419",
"kind": "model",
"name": "ImageGenTool",
"namespace": "OpenAI",
@@ -51367,17 +53441,27 @@
"discriminatorValue": "image_generation",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4241",
+ "$id": "4420",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the image generation tool. Always `image_generation`.",
"type": {
- "$ref": "406"
+ "$id": "4421",
+ "kind": "enumvalue",
+ "name": "image_generation",
+ "value": "image_generation",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$ref": "4285"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -51393,13 +53477,13 @@
"isHttpMetadata": false
},
{
- "$id": "4242",
+ "$id": "4422",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The image generation model to use. Default: `gpt-image-1`.",
"type": {
- "$ref": "1615"
+ "$ref": "452"
},
"optional": true,
"readOnly": false,
@@ -51415,13 +53499,13 @@
"isHttpMetadata": false
},
{
- "$id": "4243",
+ "$id": "4423",
"kind": "property",
"name": "quality",
"serializedName": "quality",
"doc": "The quality of the generated image. One of `low`, `medium`, `high`,\nor `auto`. Default: `auto`.",
"type": {
- "$ref": "442"
+ "$ref": "456"
},
"optional": true,
"readOnly": false,
@@ -51437,13 +53521,13 @@
"isHttpMetadata": false
},
{
- "$id": "4244",
+ "$id": "4424",
"kind": "property",
"name": "size",
"serializedName": "size",
"doc": "The size of the generated image. One of `1024x1024`, `1024x1536`,\n`1536x1024`, or `auto`. Default: `auto`.",
"type": {
- "$ref": "448"
+ "$ref": "462"
},
"optional": true,
"readOnly": false,
@@ -51459,13 +53543,13 @@
"isHttpMetadata": false
},
{
- "$id": "4245",
+ "$id": "4425",
"kind": "property",
"name": "output_format",
"serializedName": "output_format",
"doc": "The output format of the generated image. One of `png`, `webp`, or\n`jpeg`. Default: `png`.",
"type": {
- "$ref": "454"
+ "$ref": "468"
},
"optional": true,
"readOnly": false,
@@ -51481,13 +53565,13 @@
"isHttpMetadata": false
},
{
- "$id": "4246",
+ "$id": "4426",
"kind": "property",
"name": "output_compression",
"serializedName": "output_compression",
"doc": "Compression level for the output image. Default: 100.",
"type": {
- "$id": "4247",
+ "$id": "4427",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -51507,13 +53591,13 @@
"isHttpMetadata": false
},
{
- "$id": "4248",
+ "$id": "4428",
"kind": "property",
"name": "moderation",
"serializedName": "moderation",
"doc": "Moderation level for the generated image. Default: `auto`.",
"type": {
- "$ref": "459"
+ "$ref": "473"
},
"optional": true,
"readOnly": false,
@@ -51529,13 +53613,13 @@
"isHttpMetadata": false
},
{
- "$id": "4249",
+ "$id": "4429",
"kind": "property",
"name": "background",
"serializedName": "background",
"doc": "Background type for the generated image. One of `transparent`,\n`opaque`, or `auto`. Default: `auto`.",
"type": {
- "$ref": "463"
+ "$ref": "477"
},
"optional": true,
"readOnly": false,
@@ -51551,13 +53635,13 @@
"isHttpMetadata": false
},
{
- "$id": "4250",
+ "$id": "4430",
"kind": "property",
"name": "input_fidelity",
"serializedName": "input_fidelity",
"doc": "Control how much effort the model will exert to match the style and features,\nespecially facial features, of input images. This parameter is only supported\nfor `gpt-image-1`. Supports `high` and `low`. Defaults to `low`.",
"type": {
- "$ref": "468"
+ "$ref": "482"
},
"optional": true,
"readOnly": false,
@@ -51573,13 +53657,13 @@
"isHttpMetadata": false
},
{
- "$id": "4251",
+ "$id": "4431",
"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": "4252",
+ "$id": "4432",
"kind": "model",
"name": "ImageGenToolInputImageMask",
"namespace": "OpenAI",
@@ -51588,13 +53672,13 @@
"decorators": [],
"properties": [
{
- "$id": "4253",
+ "$id": "4433",
"kind": "property",
"name": "image_url",
"serializedName": "image_url",
"doc": "Base64-encoded mask image.",
"type": {
- "$id": "4254",
+ "$id": "4434",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51614,13 +53698,13 @@
"isHttpMetadata": false
},
{
- "$id": "4255",
+ "$id": "4435",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "File ID for the mask image.",
"type": {
- "$id": "4256",
+ "$id": "4436",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51655,13 +53739,13 @@
"isHttpMetadata": false
},
{
- "$id": "4257",
+ "$id": "4437",
"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": "4258",
+ "$id": "4438",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -51683,7 +53767,7 @@
]
},
"local_shell": {
- "$id": "4259",
+ "$id": "4439",
"kind": "model",
"name": "LocalShellTool",
"namespace": "OpenAI",
@@ -51693,17 +53777,27 @@
"discriminatorValue": "local_shell",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4260",
+ "$id": "4440",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the local shell tool. Always `local_shell`.",
"type": {
- "$ref": "407"
+ "$id": "4441",
+ "kind": "enumvalue",
+ "name": "local_shell",
+ "value": "local_shell",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$ref": "4285"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -51721,7 +53815,7 @@
]
},
"mcp": {
- "$id": "4261",
+ "$id": "4442",
"kind": "model",
"name": "MCPTool",
"namespace": "OpenAI",
@@ -51731,17 +53825,27 @@
"discriminatorValue": "mcp",
"decorators": [],
"baseModel": {
- "$ref": "4143"
+ "$ref": "4280"
},
"properties": [
{
- "$id": "4262",
+ "$id": "4443",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the MCP tool. Always `mcp`.",
"type": {
- "$ref": "404"
+ "$id": "4444",
+ "kind": "enumvalue",
+ "name": "mcp",
+ "value": "mcp",
+ "valueType": {
+ "$ref": "409"
+ },
+ "enumType": {
+ "$ref": "4285"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -51757,13 +53861,13 @@
"isHttpMetadata": false
},
{
- "$id": "4263",
+ "$id": "4445",
"kind": "property",
"name": "server_label",
"serializedName": "server_label",
"doc": "A label for this MCP server, used to identify it in tool calls.",
"type": {
- "$id": "4264",
+ "$id": "4446",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51783,13 +53887,13 @@
"isHttpMetadata": false
},
{
- "$id": "4265",
+ "$id": "4447",
"kind": "property",
"name": "ServerUri",
"serializedName": "server_url",
"doc": "The URL for the MCP server. One of `server_url` or `connector_id` must be\n provided.",
"type": {
- "$id": "4266",
+ "$id": "4448",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -51809,13 +53913,13 @@
"isHttpMetadata": false
},
{
- "$id": "4267",
+ "$id": "4449",
"kind": "property",
"name": "connector_id",
"serializedName": "connector_id",
"doc": "Identifier for service connectors, like those available in ChatGPT. One of\n `server_url` or `connector_id` must be provided. Learn more about service\n connectors [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).\n\n Currently supported `connector_id` values are:\n\n - Dropbox: `connector_dropbox`\n - Gmail: `connector_gmail`\n - Google Calendar: `connector_googlecalendar`\n - Google Drive: `connector_googledrive`\n - Microsoft Teams: `connector_microsoftteams`\n - Outlook Calendar: `connector_outlookcalendar`\n - Outlook Email: `connector_outlookemail`\n - SharePoint: `connector_sharepoint`",
"type": {
- "$ref": "472"
+ "$ref": "486"
},
"optional": true,
"readOnly": false,
@@ -51831,13 +53935,13 @@
"isHttpMetadata": false
},
{
- "$id": "4268",
+ "$id": "4450",
"kind": "property",
"name": "AuthorizationToken",
"serializedName": "authorization",
"doc": "An OAuth access token that can be used with a remote MCP server, either\n with a custom MCP server URL or a service connector. Your application\n must handle the OAuth authorization flow and provide the token here.",
"type": {
- "$id": "4269",
+ "$id": "4451",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51857,13 +53961,13 @@
"isHttpMetadata": false
},
{
- "$id": "4270",
+ "$id": "4452",
"kind": "property",
"name": "server_description",
"serializedName": "server_description",
"doc": "Optional description of the MCP server, used to provide more context.",
"type": {
- "$id": "4271",
+ "$id": "4453",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -51883,16 +53987,16 @@
"isHttpMetadata": false
},
{
- "$id": "4272",
+ "$id": "4454",
"kind": "property",
"name": "headers",
"serializedName": "headers",
"doc": "Optional HTTP headers to send to the MCP server. Use for authentication\n or other purposes.",
"type": {
- "$id": "4273",
+ "$id": "4455",
"kind": "nullable",
"type": {
- "$ref": "2352"
+ "$ref": "2380"
},
"namespace": "OpenAI"
},
@@ -51910,16 +54014,16 @@
"isHttpMetadata": false
},
{
- "$id": "4274",
+ "$id": "4456",
"kind": "property",
"name": "allowed_tools",
"serializedName": "allowed_tools",
"doc": "List of allowed tool names or a filter object.",
"type": {
- "$id": "4275",
+ "$id": "4457",
"kind": "nullable",
"type": {
- "$id": "4276",
+ "$id": "4458",
"kind": "model",
"name": "MCPToolFilter",
"namespace": "OpenAI",
@@ -51930,14 +54034,14 @@
"decorators": [],
"properties": [
{
- "$id": "4277",
+ "$id": "4459",
"kind": "property",
"name": "tool_names",
"serializedName": "tool_names",
"summary": "MCP allowed tools",
"doc": "List of allowed tool names.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -51953,13 +54057,13 @@
"isHttpMetadata": false
},
{
- "$id": "4278",
+ "$id": "4460",
"kind": "property",
"name": "IsReadOnly",
"serializedName": "read_only",
"doc": "Indicates whether or not a tool modifies data or is read-only. If an\n MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\n it will match this filter.",
"type": {
- "$id": "4279",
+ "$id": "4461",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -51996,21 +54100,21 @@
"isHttpMetadata": false
},
{
- "$id": "4280",
+ "$id": "4462",
"kind": "property",
"name": "require_approval",
"serializedName": "require_approval",
"doc": "Specify which of the MCP server's tools require approval.",
"type": {
- "$id": "4281",
+ "$id": "4463",
"kind": "nullable",
"type": {
- "$id": "4282",
+ "$id": "4464",
"kind": "union",
"name": "MCPToolRequireApproval",
"variantTypes": [
{
- "$id": "4283",
+ "$id": "4465",
"kind": "model",
"name": "MCPToolRequireApproval1",
"namespace": "OpenAI",
@@ -52019,12 +54123,12 @@
"decorators": [],
"properties": [
{
- "$id": "4284",
+ "$id": "4466",
"kind": "property",
"name": "always",
"serializedName": "always",
"type": {
- "$ref": "4276"
+ "$ref": "4458"
},
"optional": true,
"readOnly": false,
@@ -52040,12 +54144,12 @@
"isHttpMetadata": false
},
{
- "$id": "4285",
+ "$id": "4467",
"kind": "property",
"name": "never",
"serializedName": "never",
"type": {
- "$ref": "4276"
+ "$ref": "4458"
},
"optional": true,
"readOnly": false,
@@ -52063,10 +54167,10 @@
]
},
{
- "$ref": "1617"
+ "$ref": "1647"
},
{
- "$ref": "1619"
+ "$ref": "1649"
}
],
"namespace": "OpenAI",
@@ -52108,13 +54212,13 @@
"isHttpMetadata": false
},
{
- "$id": "4286",
+ "$id": "4468",
"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": "4287",
+ "$id": "4469",
"kind": "model",
"name": "EvalResponsesRunDataSourceParamsSamplingParamsText",
"namespace": "OpenAI",
@@ -52123,12 +54227,12 @@
"decorators": [],
"properties": [
{
- "$id": "4288",
+ "$id": "4470",
"kind": "property",
"name": "format",
"serializedName": "format",
"type": {
- "$ref": "4092"
+ "$ref": "4220"
},
"optional": true,
"readOnly": false,
@@ -52174,13 +54278,13 @@
"isHttpMetadata": false
},
{
- "$id": "4289",
+ "$id": "4471",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").",
"type": {
- "$id": "4290",
+ "$id": "4472",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52200,24 +54304,24 @@
"isHttpMetadata": false
},
{
- "$id": "4291",
+ "$id": "4473",
"kind": "property",
"name": "source",
"serializedName": "source",
"doc": "Determines what populates the `item` namespace in this run's data source.",
"type": {
- "$id": "4292",
+ "$id": "4474",
"kind": "union",
"name": "EvalResponsesRunDataSourceParamsSource",
"variantTypes": [
{
- "$ref": "4011"
+ "$ref": "4129"
},
{
- "$ref": "4014"
+ "$ref": "4132"
},
{
- "$ref": "4033"
+ "$ref": "4159"
}
],
"namespace": "OpenAI",
@@ -52256,154 +54360,154 @@
]
},
{
- "$ref": "4005"
+ "$ref": "4117"
},
{
- "$ref": "4007"
+ "$ref": "4119"
},
{
- "$ref": "4011"
+ "$ref": "4129"
},
{
- "$ref": "4064"
+ "$ref": "4191"
},
{
- "$ref": "4012"
+ "$ref": "4130"
},
{
- "$ref": "4014"
+ "$ref": "4132"
},
{
- "$ref": "4018"
+ "$ref": "4143"
},
{
- "$ref": "4033"
+ "$ref": "4159"
},
{
- "$ref": "4067"
+ "$ref": "4194"
},
{
- "$ref": "4071"
+ "$ref": "4199"
},
{
- "$ref": "4077"
+ "$ref": "4205"
},
{
- "$ref": "4082"
+ "$ref": "4210"
},
{
- "$ref": "4092"
+ "$ref": "4220"
},
{
- "$ref": "4094"
+ "$ref": "4222"
},
{
- "$ref": "4096"
+ "$ref": "4230"
},
{
- "$ref": "4098"
+ "$ref": "4233"
},
{
- "$ref": "4113"
+ "$ref": "4249"
},
{
- "$ref": "4117"
+ "$ref": "4254"
},
{
- "$ref": "4122"
+ "$ref": "4259"
},
{
- "$ref": "4127"
+ "$ref": "4264"
},
{
- "$ref": "4132"
+ "$ref": "4269"
},
{
- "$ref": "4143"
+ "$ref": "4280"
},
{
- "$ref": "4145"
+ "$ref": "4282"
},
{
- "$ref": "4158"
+ "$ref": "4306"
},
{
- "$ref": "4164"
+ "$ref": "4313"
},
{
- "$ref": "4171"
+ "$ref": "4320"
},
{
- "$ref": "4180"
+ "$ref": "4329"
},
{
- "$ref": "4182"
+ "$ref": "4340"
},
{
- "$ref": "4184"
+ "$ref": "4343"
},
{
- "$ref": "4186"
+ "$ref": "4346"
},
{
- "$ref": "4188"
+ "$ref": "4349"
},
{
- "$ref": "4190"
+ "$ref": "4352"
},
{
- "$ref": "4192"
+ "$ref": "4355"
},
{
- "$ref": "4197"
+ "$ref": "4360"
},
{
- "$ref": "4199"
+ "$ref": "4367"
},
{
- "$ref": "4201"
+ "$ref": "4370"
},
{
- "$ref": "4208"
+ "$ref": "4378"
},
{
- "$ref": "4212"
+ "$ref": "4383"
},
{
- "$ref": "4214"
+ "$ref": "4385"
},
{
- "$ref": "4229"
+ "$ref": "4404"
},
{
- "$ref": "4234"
+ "$ref": "4410"
},
{
- "$ref": "4235"
+ "$ref": "4411"
},
{
- "$ref": "4240"
+ "$ref": "4419"
},
{
- "$ref": "4252"
+ "$ref": "4432"
},
{
- "$ref": "4259"
+ "$ref": "4439"
},
{
- "$ref": "4261"
+ "$ref": "4442"
},
{
- "$ref": "4276"
+ "$ref": "4458"
},
{
- "$ref": "4283"
+ "$ref": "4465"
},
{
- "$ref": "4287"
+ "$ref": "4469"
},
{
- "$id": "4293",
+ "$id": "4475",
"kind": "model",
"name": "DeleteEvalRunResponse",
"namespace": "OpenAI",
@@ -52412,12 +54516,12 @@
"decorators": [],
"properties": [
{
- "$id": "4294",
+ "$id": "4476",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1621"
+ "$ref": "1651"
},
"optional": false,
"readOnly": false,
@@ -52433,12 +54537,12 @@
"isHttpMetadata": false
},
{
- "$id": "4295",
+ "$id": "4477",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "4296",
+ "$id": "4478",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -52458,12 +54562,12 @@
"isHttpMetadata": false
},
{
- "$id": "4297",
+ "$id": "4479",
"kind": "property",
"name": "eval_run_id",
"serializedName": "eval_run_id",
"type": {
- "$id": "4298",
+ "$id": "4480",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52485,7 +54589,7 @@
]
},
{
- "$id": "4299",
+ "$id": "4481",
"kind": "model",
"name": "EvalRunOutputItemList",
"namespace": "OpenAI",
@@ -52495,13 +54599,13 @@
"decorators": [],
"properties": [
{
- "$id": "4300",
+ "$id": "4482",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of this object. It is always set to \"list\".",
"type": {
- "$ref": "1623"
+ "$ref": "1653"
},
"optional": false,
"readOnly": false,
@@ -52517,17 +54621,17 @@
"isHttpMetadata": false
},
{
- "$id": "4301",
+ "$id": "4483",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "An array of eval run output item objects.",
"type": {
- "$id": "4302",
+ "$id": "4484",
"kind": "array",
"name": "ArrayEvalRunOutputItem",
"valueType": {
- "$id": "4303",
+ "$id": "4485",
"kind": "model",
"name": "EvalRunOutputItem",
"namespace": "OpenAI",
@@ -52537,13 +54641,13 @@
"decorators": [],
"properties": [
{
- "$id": "4304",
+ "$id": "4486",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of the object. Always \"eval.run.output_item\".",
"type": {
- "$ref": "1625"
+ "$ref": "1655"
},
"optional": false,
"readOnly": false,
@@ -52559,13 +54663,13 @@
"isHttpMetadata": false
},
{
- "$id": "4305",
+ "$id": "4487",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for the evaluation run output item.",
"type": {
- "$id": "4306",
+ "$id": "4488",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52585,13 +54689,13 @@
"isHttpMetadata": false
},
{
- "$id": "4307",
+ "$id": "4489",
"kind": "property",
"name": "run_id",
"serializedName": "run_id",
"doc": "The identifier of the evaluation run associated with this output item.",
"type": {
- "$id": "4308",
+ "$id": "4490",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52611,13 +54715,13 @@
"isHttpMetadata": false
},
{
- "$id": "4309",
+ "$id": "4491",
"kind": "property",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The identifier of the evaluation group.",
"type": {
- "$id": "4310",
+ "$id": "4492",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52637,18 +54741,18 @@
"isHttpMetadata": false
},
{
- "$id": "4311",
+ "$id": "4493",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "Unix timestamp (in seconds) when the evaluation run was created.",
"type": {
- "$id": "4312",
+ "$id": "4494",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "4313",
+ "$id": "4495",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -52671,13 +54775,13 @@
"isHttpMetadata": false
},
{
- "$id": "4314",
+ "$id": "4496",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the evaluation run.",
"type": {
- "$id": "4315",
+ "$id": "4497",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52697,13 +54801,13 @@
"isHttpMetadata": false
},
{
- "$id": "4316",
+ "$id": "4498",
"kind": "property",
"name": "datasource_item_id",
"serializedName": "datasource_item_id",
"doc": "The identifier for the data source item.",
"type": {
- "$id": "4317",
+ "$id": "4499",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -52723,13 +54827,13 @@
"isHttpMetadata": false
},
{
- "$id": "4318",
+ "$id": "4500",
"kind": "property",
"name": "datasource_item",
"serializedName": "datasource_item",
"doc": "Details of the input data source item.",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"optional": false,
"readOnly": false,
@@ -52745,17 +54849,17 @@
"isHttpMetadata": false
},
{
- "$id": "4319",
+ "$id": "4501",
"kind": "property",
"name": "results",
"serializedName": "results",
"doc": "A list of results from the evaluation run.",
"type": {
- "$id": "4320",
+ "$id": "4502",
"kind": "array",
"name": "ArrayRecord",
"valueType": {
- "$ref": "3769"
+ "$ref": "3879"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -52774,13 +54878,13 @@
"isHttpMetadata": false
},
{
- "$id": "4321",
+ "$id": "4503",
"kind": "property",
"name": "sample",
"serializedName": "sample",
"doc": "A sample containing the input and output of the evaluation run.",
"type": {
- "$id": "4322",
+ "$id": "4504",
"kind": "model",
"name": "EvalRunOutputItemSample",
"namespace": "OpenAI",
@@ -52789,17 +54893,17 @@
"decorators": [],
"properties": [
{
- "$id": "4323",
+ "$id": "4505",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "An array of input messages.",
"type": {
- "$id": "4324",
+ "$id": "4506",
"kind": "array",
"name": "Array21",
"valueType": {
- "$id": "4325",
+ "$id": "4507",
"kind": "model",
"name": "EvalRunOutputItemSampleInput",
"namespace": "OpenAI",
@@ -52808,13 +54912,13 @@
"decorators": [],
"properties": [
{
- "$id": "4326",
+ "$id": "4508",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message sender (e.g., system, user, developer).",
"type": {
- "$id": "4327",
+ "$id": "4509",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52834,13 +54938,13 @@
"isHttpMetadata": false
},
{
- "$id": "4328",
+ "$id": "4510",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content of the message.",
"type": {
- "$id": "4329",
+ "$id": "4511",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52878,17 +54982,17 @@
"isHttpMetadata": false
},
{
- "$id": "4330",
+ "$id": "4512",
"kind": "property",
"name": "output",
"serializedName": "output",
"doc": "An array of output messages.",
"type": {
- "$id": "4331",
+ "$id": "4513",
"kind": "array",
"name": "Array22",
"valueType": {
- "$id": "4332",
+ "$id": "4514",
"kind": "model",
"name": "EvalRunOutputItemSampleOutput",
"namespace": "OpenAI",
@@ -52897,13 +55001,13 @@
"decorators": [],
"properties": [
{
- "$id": "4333",
+ "$id": "4515",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").",
"type": {
- "$id": "4334",
+ "$id": "4516",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52923,13 +55027,13 @@
"isHttpMetadata": false
},
{
- "$id": "4335",
+ "$id": "4517",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content of the message.",
"type": {
- "$id": "4336",
+ "$id": "4518",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52967,13 +55071,13 @@
"isHttpMetadata": false
},
{
- "$id": "4337",
+ "$id": "4519",
"kind": "property",
"name": "finish_reason",
"serializedName": "finish_reason",
"doc": "The reason why the sample generation was finished.",
"type": {
- "$id": "4338",
+ "$id": "4520",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52993,13 +55097,13 @@
"isHttpMetadata": false
},
{
- "$id": "4339",
+ "$id": "4521",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model used for generating the sample.",
"type": {
- "$id": "4340",
+ "$id": "4522",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -53019,13 +55123,13 @@
"isHttpMetadata": false
},
{
- "$id": "4341",
+ "$id": "4523",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"doc": "Token usage details for the sample.",
"type": {
- "$id": "4342",
+ "$id": "4524",
"kind": "model",
"name": "EvalRunOutputItemSampleUsage",
"namespace": "OpenAI",
@@ -53034,13 +55138,13 @@
"decorators": [],
"properties": [
{
- "$id": "4343",
+ "$id": "4525",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "The total number of tokens used.",
"type": {
- "$id": "4344",
+ "$id": "4526",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -53060,13 +55164,13 @@
"isHttpMetadata": false
},
{
- "$id": "4345",
+ "$id": "4527",
"kind": "property",
"name": "completion_tokens",
"serializedName": "completion_tokens",
"doc": "The number of completion tokens generated.",
"type": {
- "$id": "4346",
+ "$id": "4528",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -53086,13 +55190,13 @@
"isHttpMetadata": false
},
{
- "$id": "4347",
+ "$id": "4529",
"kind": "property",
"name": "prompt_tokens",
"serializedName": "prompt_tokens",
"doc": "The number of prompt tokens used.",
"type": {
- "$id": "4348",
+ "$id": "4530",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -53112,13 +55216,13 @@
"isHttpMetadata": false
},
{
- "$id": "4349",
+ "$id": "4531",
"kind": "property",
"name": "cached_tokens",
"serializedName": "cached_tokens",
"doc": "The number of tokens retrieved from cache.",
"type": {
- "$id": "4350",
+ "$id": "4532",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -53153,12 +55257,12 @@
"isHttpMetadata": false
},
{
- "$id": "4351",
+ "$id": "4533",
"kind": "property",
"name": "error",
"serializedName": "error",
"type": {
- "$ref": "3989"
+ "$ref": "4101"
},
"optional": false,
"readOnly": false,
@@ -53174,13 +55278,13 @@
"isHttpMetadata": false
},
{
- "$id": "4352",
+ "$id": "4534",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "The sampling temperature used.",
"type": {
- "$id": "4353",
+ "$id": "4535",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -53200,13 +55304,13 @@
"isHttpMetadata": false
},
{
- "$id": "4354",
+ "$id": "4536",
"kind": "property",
"name": "max_completion_tokens",
"serializedName": "max_completion_tokens",
"doc": "The maximum number of tokens allowed for completion.",
"type": {
- "$id": "4355",
+ "$id": "4537",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -53226,13 +55330,13 @@
"isHttpMetadata": false
},
{
- "$id": "4356",
+ "$id": "4538",
"kind": "property",
"name": "top_p",
"serializedName": "top_p",
"doc": "The top_p value used for sampling.",
"type": {
- "$id": "4357",
+ "$id": "4539",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -53252,13 +55356,13 @@
"isHttpMetadata": false
},
{
- "$id": "4358",
+ "$id": "4540",
"kind": "property",
"name": "seed",
"serializedName": "seed",
"doc": "The seed used for generating the sample.",
"type": {
- "$id": "4359",
+ "$id": "4541",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -53311,13 +55415,13 @@
"isHttpMetadata": false
},
{
- "$id": "4360",
+ "$id": "4542",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The identifier of the first eval run output item in the data array.",
"type": {
- "$id": "4361",
+ "$id": "4543",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -53337,13 +55441,13 @@
"isHttpMetadata": false
},
{
- "$id": "4362",
+ "$id": "4544",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The identifier of the last eval run output item in the data array.",
"type": {
- "$id": "4363",
+ "$id": "4545",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -53363,13 +55467,13 @@
"isHttpMetadata": false
},
{
- "$id": "4364",
+ "$id": "4546",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Indicates whether there are more eval run output items available.",
"type": {
- "$id": "4365",
+ "$id": "4547",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -53391,22 +55495,22 @@
]
},
{
- "$ref": "4303"
+ "$ref": "4485"
},
{
- "$ref": "4322"
+ "$ref": "4504"
},
{
- "$ref": "4325"
+ "$ref": "4507"
},
{
- "$ref": "4332"
+ "$ref": "4514"
},
{
- "$ref": "4342"
+ "$ref": "4524"
},
{
- "$id": "4366",
+ "$id": "4548",
"kind": "model",
"name": "CreateResponse",
"namespace": "OpenAI",
@@ -53415,13 +55519,13 @@
"decorators": [],
"properties": [
{
- "$id": "4367",
+ "$id": "4549",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -53437,13 +55541,13 @@
"isHttpMetadata": false
},
{
- "$id": "4368",
+ "$id": "4550",
"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": {
- "$ref": "2854"
+ "$ref": "2912"
},
"optional": true,
"readOnly": false,
@@ -53459,13 +55563,13 @@
"isHttpMetadata": false
},
{
- "$id": "4369",
+ "$id": "4551",
"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": {
- "$ref": "2857"
+ "$ref": "2915"
},
"optional": true,
"readOnly": false,
@@ -53481,13 +55585,13 @@
"isHttpMetadata": false
},
{
- "$id": "4370",
+ "$id": "4552",
"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": "4371",
+ "$id": "4553",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -53507,12 +55611,12 @@
"isHttpMetadata": false
},
{
- "$id": "4372",
+ "$id": "4554",
"kind": "property",
"name": "service_tier",
"serializedName": "service_tier",
"type": {
- "$ref": "482"
+ "$ref": "496"
},
"optional": true,
"readOnly": false,
@@ -53528,16 +55632,16 @@
"isHttpMetadata": false
},
{
- "$id": "4373",
+ "$id": "4555",
"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": "4374",
+ "$id": "4556",
"kind": "nullable",
"type": {
- "$id": "4375",
+ "$id": "4557",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -53559,13 +55663,13 @@
"isHttpMetadata": false
},
{
- "$id": "4376",
+ "$id": "4558",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI\noffers a wide range of models with different capabilities, performance\ncharacteristics, and price points. Refer to the [model guide](/docs/models)\nto browse and compare available models.",
"type": {
- "$ref": "488"
+ "$ref": "502"
},
"optional": true,
"readOnly": false,
@@ -53581,15 +55685,15 @@
"isHttpMetadata": false
},
{
- "$id": "4377",
+ "$id": "4559",
"kind": "property",
"name": "reasoning",
"serializedName": "reasoning",
"type": {
- "$id": "4378",
+ "$id": "4560",
"kind": "nullable",
"type": {
- "$id": "4379",
+ "$id": "4561",
"kind": "model",
"name": "Reasoning",
"namespace": "OpenAI",
@@ -53599,12 +55703,12 @@
"decorators": [],
"properties": [
{
- "$id": "4380",
+ "$id": "4562",
"kind": "property",
"name": "effort",
"serializedName": "effort",
"type": {
- "$id": "4381",
+ "$id": "4563",
"kind": "nullable",
"type": {
"$ref": "53"
@@ -53625,16 +55729,16 @@
"isHttpMetadata": false
},
{
- "$id": "4382",
+ "$id": "4564",
"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": "4383",
+ "$id": "4565",
"kind": "nullable",
"type": {
- "$ref": "551"
+ "$ref": "565"
},
"namespace": "OpenAI"
},
@@ -53652,16 +55756,16 @@
"isHttpMetadata": false
},
{
- "$id": "4384",
+ "$id": "4566",
"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": "4385",
+ "$id": "4567",
"kind": "nullable",
"type": {
- "$ref": "556"
+ "$ref": "570"
},
"namespace": "OpenAI"
},
@@ -53696,16 +55800,16 @@
"isHttpMetadata": false
},
{
- "$id": "4386",
+ "$id": "4568",
"kind": "property",
"name": "background",
"serializedName": "background",
"doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).",
"type": {
- "$id": "4387",
+ "$id": "4569",
"kind": "nullable",
"type": {
- "$id": "4388",
+ "$id": "4570",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -53727,16 +55831,16 @@
"isHttpMetadata": false
},
{
- "$id": "4389",
+ "$id": "4571",
"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": "4390",
+ "$id": "4572",
"kind": "nullable",
"type": {
- "$id": "4391",
+ "$id": "4573",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -53758,16 +55862,16 @@
"isHttpMetadata": false
},
{
- "$id": "4392",
+ "$id": "4574",
"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": "4393",
+ "$id": "4575",
"kind": "nullable",
"type": {
- "$id": "4394",
+ "$id": "4576",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -53789,13 +55893,13 @@
"isHttpMetadata": false
},
{
- "$id": "4395",
+ "$id": "4577",
"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": "4396",
+ "$id": "4578",
"kind": "model",
"name": "CreateResponseText",
"namespace": "OpenAI",
@@ -53804,12 +55908,12 @@
"decorators": [],
"properties": [
{
- "$id": "4397",
+ "$id": "4579",
"kind": "property",
"name": "format",
"serializedName": "format",
"type": {
- "$ref": "4092"
+ "$ref": "4220"
},
"optional": true,
"readOnly": false,
@@ -53840,13 +55944,13 @@
"isHttpMetadata": false
},
{
- "$id": "4398",
+ "$id": "4580",
"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": "4142"
+ "$ref": "4279"
},
"optional": true,
"readOnly": false,
@@ -53862,21 +55966,21 @@
"isHttpMetadata": false
},
{
- "$id": "4399",
+ "$id": "4581",
"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": "4400",
+ "$id": "4582",
"kind": "union",
"name": "CreateResponseToolChoice",
"variantTypes": [
{
- "$ref": "561"
+ "$ref": "575"
},
{
- "$id": "4401",
+ "$id": "4583",
"kind": "model",
"name": "ToolChoiceObject",
"namespace": "OpenAI",
@@ -53884,12 +55988,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4402",
+ "$id": "4584",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "566"
+ "$ref": "580"
},
"optional": false,
"readOnly": false,
@@ -53906,12 +56010,12 @@
},
"properties": [
{
- "$ref": "4402"
+ "$ref": "4584"
}
],
"discriminatedSubtypes": {
"file_search": {
- "$id": "4403",
+ "$id": "4585",
"kind": "model",
"name": "ToolChoiceObjectFileSearch",
"namespace": "OpenAI",
@@ -53920,16 +56024,141 @@
"discriminatorValue": "file_search",
"decorators": [],
"baseModel": {
- "$ref": "4401"
+ "$ref": "4583"
},
"properties": [
{
- "$id": "4404",
+ "$id": "4586",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "568"
+ "$id": "4587",
+ "kind": "enumvalue",
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "581"
+ },
+ "enumType": {
+ "$id": "4588",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "Indicates that the model should use a built-in tool to generate a response.\n[Learn more about built-in tools](/docs/guides/tools).",
+ "name": "ToolChoiceObjectType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4589",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4590",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "4589"
+ },
+ "enumType": {
+ "$ref": "4588"
+ }
+ },
+ {
+ "$id": "4591",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "4589"
+ },
+ "enumType": {
+ "$ref": "4588"
+ }
+ },
+ {
+ "$id": "4592",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "computer",
+ "value": "computer_use_preview",
+ "valueType": {
+ "$ref": "4589"
+ },
+ "enumType": {
+ "$ref": "4588"
+ }
+ },
+ {
+ "$id": "4593",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "web_search",
+ "value": "web_search_preview",
+ "valueType": {
+ "$ref": "4589"
+ },
+ "enumType": {
+ "$ref": "4588"
+ }
+ },
+ {
+ "$id": "4594",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "image_generation",
+ "value": "image_generation",
+ "valueType": {
+ "$ref": "4589"
+ },
+ "enumType": {
+ "$ref": "4588"
+ }
+ },
+ {
+ "$id": "4595",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "4589"
+ },
+ "enumType": {
+ "$ref": "4588"
+ }
+ },
+ {
+ "$id": "4596",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "mcp",
+ "value": "mcp",
+ "valueType": {
+ "$ref": "4589"
+ },
+ "enumType": {
+ "$ref": "4588"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -53947,7 +56176,7 @@
]
},
"computer_use_preview": {
- "$id": "4405",
+ "$id": "4597",
"kind": "model",
"name": "ToolChoiceObjectComputer",
"namespace": "OpenAI",
@@ -53956,16 +56185,26 @@
"discriminatorValue": "computer_use_preview",
"decorators": [],
"baseModel": {
- "$ref": "4401"
+ "$ref": "4583"
},
"properties": [
{
- "$id": "4406",
+ "$id": "4598",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "570"
+ "$id": "4599",
+ "kind": "enumvalue",
+ "name": "computer",
+ "value": "computer_use_preview",
+ "valueType": {
+ "$ref": "581"
+ },
+ "enumType": {
+ "$ref": "4588"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -53983,7 +56222,7 @@
]
},
"web_search_preview": {
- "$id": "4407",
+ "$id": "4600",
"kind": "model",
"name": "ToolChoiceObjectWebSearch",
"namespace": "OpenAI",
@@ -53992,16 +56231,26 @@
"discriminatorValue": "web_search_preview",
"decorators": [],
"baseModel": {
- "$ref": "4401"
+ "$ref": "4583"
},
"properties": [
{
- "$id": "4408",
+ "$id": "4601",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "571"
+ "$id": "4602",
+ "kind": "enumvalue",
+ "name": "web_search",
+ "value": "web_search_preview",
+ "valueType": {
+ "$ref": "581"
+ },
+ "enumType": {
+ "$ref": "4588"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54019,7 +56268,7 @@
]
},
"image_generation": {
- "$id": "4409",
+ "$id": "4603",
"kind": "model",
"name": "ToolChoiceObjectImageGen",
"namespace": "OpenAI",
@@ -54028,16 +56277,26 @@
"discriminatorValue": "image_generation",
"decorators": [],
"baseModel": {
- "$ref": "4401"
+ "$ref": "4583"
},
"properties": [
{
- "$id": "4410",
+ "$id": "4604",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "572"
+ "$id": "4605",
+ "kind": "enumvalue",
+ "name": "image_generation",
+ "value": "image_generation",
+ "valueType": {
+ "$ref": "581"
+ },
+ "enumType": {
+ "$ref": "4588"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54055,7 +56314,7 @@
]
},
"code_interpreter": {
- "$id": "4411",
+ "$id": "4606",
"kind": "model",
"name": "ToolChoiceObjectCodeInterpreter",
"namespace": "OpenAI",
@@ -54064,16 +56323,26 @@
"discriminatorValue": "code_interpreter",
"decorators": [],
"baseModel": {
- "$ref": "4401"
+ "$ref": "4583"
},
"properties": [
{
- "$id": "4412",
+ "$id": "4607",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "573"
+ "$id": "4608",
+ "kind": "enumvalue",
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "581"
+ },
+ "enumType": {
+ "$ref": "4588"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54091,7 +56360,7 @@
]
},
"mcp": {
- "$id": "4413",
+ "$id": "4609",
"kind": "model",
"name": "ToolChoiceObjectMCP",
"namespace": "OpenAI",
@@ -54100,16 +56369,26 @@
"discriminatorValue": "mcp",
"decorators": [],
"baseModel": {
- "$ref": "4401"
+ "$ref": "4583"
},
"properties": [
{
- "$id": "4414",
+ "$id": "4610",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "574"
+ "$id": "4611",
+ "kind": "enumvalue",
+ "name": "mcp",
+ "value": "mcp",
+ "valueType": {
+ "$ref": "581"
+ },
+ "enumType": {
+ "$ref": "4588"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54127,7 +56406,7 @@
]
},
"function": {
- "$id": "4415",
+ "$id": "4612",
"kind": "model",
"name": "ToolChoiceObjectFunction",
"namespace": "OpenAI",
@@ -54137,17 +56416,27 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "4401"
+ "$ref": "4583"
},
"properties": [
{
- "$id": "4416",
+ "$id": "4613",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "For function calling, the type is always `function`.",
"type": {
- "$ref": "569"
+ "$id": "4614",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "581"
+ },
+ "enumType": {
+ "$ref": "4588"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54163,13 +56452,13 @@
"isHttpMetadata": false
},
{
- "$id": "4417",
+ "$id": "4615",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "4418",
+ "$id": "4616",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54210,16 +56499,16 @@
"isHttpMetadata": false
},
{
- "$id": "4419",
+ "$id": "4617",
"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": "4420",
+ "$id": "4618",
"kind": "nullable",
"type": {
- "$ref": "575"
+ "$ref": "589"
},
"namespace": "OpenAI"
},
@@ -54237,34 +56526,34 @@
"isHttpMetadata": false
},
{
- "$id": "4421",
+ "$id": "4619",
"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": "4422",
+ "$id": "4620",
"kind": "union",
"name": "CreateResponseInput",
"variantTypes": [
{
- "$id": "4423",
+ "$id": "4621",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "4424",
+ "$id": "4622",
"kind": "array",
"name": "Array23",
"valueType": {
- "$id": "4425",
+ "$id": "4623",
"kind": "union",
"name": "CreateResponseInput1",
"variantTypes": [
{
- "$id": "4426",
+ "$id": "4624",
"kind": "model",
"name": "ImplicitUserMessage",
"namespace": "OpenAI",
@@ -54273,28 +56562,28 @@
"decorators": [],
"properties": [
{
- "$id": "4427",
+ "$id": "4625",
"kind": "property",
"name": "content",
"serializedName": "content",
"type": {
- "$id": "4428",
+ "$id": "4626",
"kind": "union",
"name": "ImplicitUserMessageContent",
"variantTypes": [
{
- "$id": "4429",
+ "$id": "4627",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "4430",
+ "$id": "4628",
"kind": "array",
"name": "ArrayItemContent",
"valueType": {
- "$id": "4431",
+ "$id": "4629",
"kind": "model",
"name": "ItemContent",
"namespace": "OpenAI",
@@ -54302,12 +56591,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4432",
+ "$id": "4630",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "579"
+ "$ref": "593"
},
"optional": false,
"readOnly": false,
@@ -54324,12 +56613,12 @@
},
"properties": [
{
- "$ref": "4432"
+ "$ref": "4630"
}
],
"discriminatedSubtypes": {
"input_audio": {
- "$id": "4433",
+ "$id": "4631",
"kind": "model",
"name": "ItemContentInputAudio",
"namespace": "OpenAI",
@@ -54339,17 +56628,142 @@
"discriminatorValue": "input_audio",
"decorators": [],
"baseModel": {
- "$ref": "4431"
+ "$ref": "4629"
},
"properties": [
{
- "$id": "4434",
+ "$id": "4632",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the input item. Always `input_audio`.",
"type": {
- "$ref": "582"
+ "$id": "4633",
+ "kind": "enumvalue",
+ "name": "input_audio",
+ "value": "input_audio",
+ "valueType": {
+ "$ref": "594"
+ },
+ "enumType": {
+ "$id": "4634",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "Multi-modal input and output contents.",
+ "name": "ItemContentType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4635",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4636",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_text",
+ "value": "input_text",
+ "valueType": {
+ "$ref": "4635"
+ },
+ "enumType": {
+ "$ref": "4634"
+ }
+ },
+ {
+ "$id": "4637",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio",
+ "value": "input_audio",
+ "valueType": {
+ "$ref": "4635"
+ },
+ "enumType": {
+ "$ref": "4634"
+ }
+ },
+ {
+ "$id": "4638",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_image",
+ "value": "input_image",
+ "valueType": {
+ "$ref": "4635"
+ },
+ "enumType": {
+ "$ref": "4634"
+ }
+ },
+ {
+ "$id": "4639",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_file",
+ "value": "input_file",
+ "valueType": {
+ "$ref": "4635"
+ },
+ "enumType": {
+ "$ref": "4634"
+ }
+ },
+ {
+ "$id": "4640",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "output_text",
+ "value": "output_text",
+ "valueType": {
+ "$ref": "4635"
+ },
+ "enumType": {
+ "$ref": "4634"
+ }
+ },
+ {
+ "$id": "4641",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "output_audio",
+ "value": "output_audio",
+ "valueType": {
+ "$ref": "4635"
+ },
+ "enumType": {
+ "$ref": "4634"
+ }
+ },
+ {
+ "$id": "4642",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "refusal",
+ "value": "refusal",
+ "valueType": {
+ "$ref": "4635"
+ },
+ "enumType": {
+ "$ref": "4634"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ItemContentType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54365,13 +56779,13 @@
"isHttpMetadata": false
},
{
- "$id": "4435",
+ "$id": "4643",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "Base64-encoded audio data.",
"type": {
- "$id": "4436",
+ "$id": "4644",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54391,13 +56805,13 @@
"isHttpMetadata": false
},
{
- "$id": "4437",
+ "$id": "4645",
"kind": "property",
"name": "format",
"serializedName": "format",
"doc": "The format of the audio data. Currently supported formats are `mp3` and\n`wav`.",
"type": {
- "$ref": "588"
+ "$ref": "602"
},
"optional": false,
"readOnly": false,
@@ -54415,7 +56829,7 @@
]
},
"output_audio": {
- "$id": "4438",
+ "$id": "4646",
"kind": "model",
"name": "ItemContentOutputAudio",
"namespace": "OpenAI",
@@ -54425,17 +56839,27 @@
"discriminatorValue": "output_audio",
"decorators": [],
"baseModel": {
- "$ref": "4431"
+ "$ref": "4629"
},
"properties": [
{
- "$id": "4439",
+ "$id": "4647",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the output audio. Always `output_audio`.",
"type": {
- "$ref": "586"
+ "$id": "4648",
+ "kind": "enumvalue",
+ "name": "output_audio",
+ "value": "output_audio",
+ "valueType": {
+ "$ref": "594"
+ },
+ "enumType": {
+ "$ref": "4634"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54451,13 +56875,13 @@
"isHttpMetadata": false
},
{
- "$id": "4440",
+ "$id": "4649",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "Base64-encoded audio data from the model.",
"type": {
- "$id": "4441",
+ "$id": "4650",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54477,13 +56901,13 @@
"isHttpMetadata": false
},
{
- "$id": "4442",
+ "$id": "4651",
"kind": "property",
"name": "transcript",
"serializedName": "transcript",
"doc": "The transcript of the audio data from the model.",
"type": {
- "$id": "4443",
+ "$id": "4652",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54505,7 +56929,7 @@
]
},
"refusal": {
- "$id": "4444",
+ "$id": "4653",
"kind": "model",
"name": "ItemContentRefusal",
"namespace": "OpenAI",
@@ -54515,17 +56939,27 @@
"discriminatorValue": "refusal",
"decorators": [],
"baseModel": {
- "$ref": "4431"
+ "$ref": "4629"
},
"properties": [
{
- "$id": "4445",
+ "$id": "4654",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the refusal. Always `refusal`.",
"type": {
- "$ref": "587"
+ "$id": "4655",
+ "kind": "enumvalue",
+ "name": "refusal",
+ "value": "refusal",
+ "valueType": {
+ "$ref": "594"
+ },
+ "enumType": {
+ "$ref": "4634"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54541,13 +56975,13 @@
"isHttpMetadata": false
},
{
- "$id": "4446",
+ "$id": "4656",
"kind": "property",
"name": "refusal",
"serializedName": "refusal",
"doc": "The refusal explanationfrom the model.",
"type": {
- "$id": "4447",
+ "$id": "4657",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54569,7 +57003,7 @@
]
},
"input_text": {
- "$id": "4448",
+ "$id": "4658",
"kind": "model",
"name": "ItemContentInputText",
"namespace": "OpenAI",
@@ -54579,17 +57013,27 @@
"discriminatorValue": "input_text",
"decorators": [],
"baseModel": {
- "$ref": "4431"
+ "$ref": "4629"
},
"properties": [
{
- "$id": "4449",
+ "$id": "4659",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the input item. Always `input_text`.",
"type": {
- "$ref": "581"
+ "$id": "4660",
+ "kind": "enumvalue",
+ "name": "input_text",
+ "value": "input_text",
+ "valueType": {
+ "$ref": "594"
+ },
+ "enumType": {
+ "$ref": "4634"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54605,13 +57049,13 @@
"isHttpMetadata": false
},
{
- "$id": "4450",
+ "$id": "4661",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text input to the model.",
"type": {
- "$id": "4451",
+ "$id": "4662",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54633,7 +57077,7 @@
]
},
"input_image": {
- "$id": "4452",
+ "$id": "4663",
"kind": "model",
"name": "ItemContentInputImage",
"namespace": "OpenAI",
@@ -54643,17 +57087,27 @@
"discriminatorValue": "input_image",
"decorators": [],
"baseModel": {
- "$ref": "4431"
+ "$ref": "4629"
},
"properties": [
{
- "$id": "4453",
+ "$id": "4664",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the input item. Always `input_image`.",
"type": {
- "$ref": "583"
+ "$id": "4665",
+ "kind": "enumvalue",
+ "name": "input_image",
+ "value": "input_image",
+ "valueType": {
+ "$ref": "594"
+ },
+ "enumType": {
+ "$ref": "4634"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54669,16 +57123,16 @@
"isHttpMetadata": false
},
{
- "$id": "4454",
+ "$id": "4666",
"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": "4455",
+ "$id": "4667",
"kind": "nullable",
"type": {
- "$id": "4456",
+ "$id": "4668",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54700,16 +57154,16 @@
"isHttpMetadata": false
},
{
- "$id": "4457",
+ "$id": "4669",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to be sent to the model.",
"type": {
- "$id": "4458",
+ "$id": "4670",
"kind": "nullable",
"type": {
- "$id": "4459",
+ "$id": "4671",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54731,13 +57185,13 @@
"isHttpMetadata": false
},
{
- "$id": "4460",
+ "$id": "4672",
"kind": "property",
"name": "detail",
"serializedName": "detail",
"doc": "The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.",
"type": {
- "$ref": "592"
+ "$ref": "606"
},
"optional": true,
"readOnly": false,
@@ -54755,7 +57209,7 @@
]
},
"input_file": {
- "$id": "4461",
+ "$id": "4673",
"kind": "model",
"name": "ItemContentInputFile",
"namespace": "OpenAI",
@@ -54765,17 +57219,27 @@
"discriminatorValue": "input_file",
"decorators": [],
"baseModel": {
- "$ref": "4431"
+ "$ref": "4629"
},
"properties": [
{
- "$id": "4462",
+ "$id": "4674",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the input item. Always `input_file`.",
"type": {
- "$ref": "584"
+ "$id": "4675",
+ "kind": "enumvalue",
+ "name": "input_file",
+ "value": "input_file",
+ "valueType": {
+ "$ref": "594"
+ },
+ "enumType": {
+ "$ref": "4634"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54791,16 +57255,16 @@
"isHttpMetadata": false
},
{
- "$id": "4463",
+ "$id": "4676",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to be sent to the model.",
"type": {
- "$id": "4464",
+ "$id": "4677",
"kind": "nullable",
"type": {
- "$id": "4465",
+ "$id": "4678",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54822,13 +57286,13 @@
"isHttpMetadata": false
},
{
- "$id": "4466",
+ "$id": "4679",
"kind": "property",
"name": "filename",
"serializedName": "filename",
"doc": "The name of the file to be sent to the model.",
"type": {
- "$id": "4467",
+ "$id": "4680",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54848,13 +57312,13 @@
"isHttpMetadata": false
},
{
- "$id": "4468",
+ "$id": "4681",
"kind": "property",
"name": "file_data",
"serializedName": "file_data",
"doc": "The content of the file to be sent to the model.",
"type": {
- "$id": "4469",
+ "$id": "4682",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54876,7 +57340,7 @@
]
},
"output_text": {
- "$id": "4470",
+ "$id": "4683",
"kind": "model",
"name": "ItemContentOutputText",
"namespace": "OpenAI",
@@ -54886,17 +57350,27 @@
"discriminatorValue": "output_text",
"decorators": [],
"baseModel": {
- "$ref": "4431"
+ "$ref": "4629"
},
"properties": [
{
- "$id": "4471",
+ "$id": "4684",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the output text. Always `output_text`.",
"type": {
- "$ref": "585"
+ "$id": "4685",
+ "kind": "enumvalue",
+ "name": "output_text",
+ "value": "output_text",
+ "valueType": {
+ "$ref": "594"
+ },
+ "enumType": {
+ "$ref": "4634"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -54912,13 +57386,13 @@
"isHttpMetadata": false
},
{
- "$id": "4472",
+ "$id": "4686",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text output from the model.",
"type": {
- "$id": "4473",
+ "$id": "4687",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -54938,17 +57412,17 @@
"isHttpMetadata": false
},
{
- "$id": "4474",
+ "$id": "4688",
"kind": "property",
"name": "annotations",
"serializedName": "annotations",
"doc": "The annotations of the text output.",
"type": {
- "$id": "4475",
+ "$id": "4689",
"kind": "array",
"name": "ArrayAnnotation",
"valueType": {
- "$id": "4476",
+ "$id": "4690",
"kind": "model",
"name": "Annotation",
"namespace": "OpenAI",
@@ -54956,12 +57430,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4477",
+ "$id": "4691",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "597"
+ "$ref": "611"
},
"optional": false,
"readOnly": false,
@@ -54978,12 +57452,12 @@
},
"properties": [
{
- "$ref": "4477"
+ "$ref": "4691"
}
],
"discriminatedSubtypes": {
"file_citation": {
- "$id": "4478",
+ "$id": "4692",
"kind": "model",
"name": "AnnotationFileCitation",
"namespace": "OpenAI",
@@ -54993,17 +57467,102 @@
"discriminatorValue": "file_citation",
"decorators": [],
"baseModel": {
- "$ref": "4476"
+ "$ref": "4690"
},
"properties": [
{
- "$id": "4479",
+ "$id": "4693",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the file citation. Always `file_citation`.",
"type": {
- "$ref": "599"
+ "$id": "4694",
+ "kind": "enumvalue",
+ "name": "file_citation",
+ "value": "file_citation",
+ "valueType": {
+ "$ref": "612"
+ },
+ "enumType": {
+ "$id": "4695",
+ "kind": "enum",
+ "decorators": [],
+ "name": "AnnotationType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4696",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4697",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_citation",
+ "value": "file_citation",
+ "valueType": {
+ "$ref": "4696"
+ },
+ "enumType": {
+ "$ref": "4695"
+ }
+ },
+ {
+ "$id": "4698",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "url_citation",
+ "value": "url_citation",
+ "valueType": {
+ "$ref": "4696"
+ },
+ "enumType": {
+ "$ref": "4695"
+ }
+ },
+ {
+ "$id": "4699",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_path",
+ "value": "file_path",
+ "valueType": {
+ "$ref": "4696"
+ },
+ "enumType": {
+ "$ref": "4695"
+ }
+ },
+ {
+ "$id": "4700",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "container_file_citation",
+ "value": "container_file_citation",
+ "valueType": {
+ "$ref": "4696"
+ },
+ "enumType": {
+ "$ref": "4695"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.AnnotationType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -55019,13 +57578,13 @@
"isHttpMetadata": false
},
{
- "$id": "4480",
+ "$id": "4701",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file.",
"type": {
- "$id": "4481",
+ "$id": "4702",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55045,13 +57604,13 @@
"isHttpMetadata": false
},
{
- "$id": "4482",
+ "$id": "4703",
"kind": "property",
"name": "index",
"serializedName": "index",
"doc": "The index of the file in the list of files.",
"type": {
- "$id": "4483",
+ "$id": "4704",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -55073,7 +57632,7 @@
]
},
"url_citation": {
- "$id": "4484",
+ "$id": "4705",
"kind": "model",
"name": "AnnotationUrlCitation",
"namespace": "OpenAI",
@@ -55083,17 +57642,27 @@
"discriminatorValue": "url_citation",
"decorators": [],
"baseModel": {
- "$ref": "4476"
+ "$ref": "4690"
},
"properties": [
{
- "$id": "4485",
+ "$id": "4706",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the URL citation. Always `url_citation`.",
"type": {
- "$ref": "600"
+ "$id": "4707",
+ "kind": "enumvalue",
+ "name": "url_citation",
+ "value": "url_citation",
+ "valueType": {
+ "$ref": "612"
+ },
+ "enumType": {
+ "$ref": "4695"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -55109,13 +57678,13 @@
"isHttpMetadata": false
},
{
- "$id": "4486",
+ "$id": "4708",
"kind": "property",
"name": "url",
"serializedName": "url",
"doc": "The URL of the web resource.",
"type": {
- "$id": "4487",
+ "$id": "4709",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -55135,13 +57704,13 @@
"isHttpMetadata": false
},
{
- "$id": "4488",
+ "$id": "4710",
"kind": "property",
"name": "start_index",
"serializedName": "start_index",
"doc": "The index of the first character of the URL citation in the message.",
"type": {
- "$id": "4489",
+ "$id": "4711",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -55161,13 +57730,13 @@
"isHttpMetadata": false
},
{
- "$id": "4490",
+ "$id": "4712",
"kind": "property",
"name": "end_index",
"serializedName": "end_index",
"doc": "The index of the last character of the URL citation in the message.",
"type": {
- "$id": "4491",
+ "$id": "4713",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -55187,13 +57756,13 @@
"isHttpMetadata": false
},
{
- "$id": "4492",
+ "$id": "4714",
"kind": "property",
"name": "title",
"serializedName": "title",
"doc": "The title of the web resource.",
"type": {
- "$id": "4493",
+ "$id": "4715",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55215,7 +57784,7 @@
]
},
"file_path": {
- "$id": "4494",
+ "$id": "4716",
"kind": "model",
"name": "AnnotationFilePath",
"namespace": "OpenAI",
@@ -55225,17 +57794,27 @@
"discriminatorValue": "file_path",
"decorators": [],
"baseModel": {
- "$ref": "4476"
+ "$ref": "4690"
},
"properties": [
{
- "$id": "4495",
+ "$id": "4717",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the file path. Always `file_path`.",
"type": {
- "$ref": "601"
+ "$id": "4718",
+ "kind": "enumvalue",
+ "name": "file_path",
+ "value": "file_path",
+ "valueType": {
+ "$ref": "612"
+ },
+ "enumType": {
+ "$ref": "4695"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -55251,13 +57830,13 @@
"isHttpMetadata": false
},
{
- "$id": "4496",
+ "$id": "4719",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file.",
"type": {
- "$id": "4497",
+ "$id": "4720",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55277,13 +57856,13 @@
"isHttpMetadata": false
},
{
- "$id": "4498",
+ "$id": "4721",
"kind": "property",
"name": "index",
"serializedName": "index",
"doc": "The index of the file in the list of files.",
"type": {
- "$id": "4499",
+ "$id": "4722",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -55323,16 +57902,16 @@
"isHttpMetadata": false
},
{
- "$id": "4500",
+ "$id": "4723",
"kind": "property",
"name": "logprobs",
"serializedName": "logprobs",
"type": {
- "$id": "4501",
+ "$id": "4724",
"kind": "array",
"name": "ArrayLogProb",
"valueType": {
- "$id": "4502",
+ "$id": "4725",
"kind": "model",
"name": "LogProb",
"namespace": "OpenAI",
@@ -55342,12 +57921,12 @@
"decorators": [],
"properties": [
{
- "$id": "4503",
+ "$id": "4726",
"kind": "property",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "4504",
+ "$id": "4727",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55367,12 +57946,12 @@
"isHttpMetadata": false
},
{
- "$id": "4505",
+ "$id": "4728",
"kind": "property",
"name": "logprob",
"serializedName": "logprob",
"type": {
- "$id": "4506",
+ "$id": "4729",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -55392,12 +57971,12 @@
"isHttpMetadata": false
},
{
- "$id": "4507",
+ "$id": "4730",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": false,
"readOnly": false,
@@ -55413,16 +57992,16 @@
"isHttpMetadata": false
},
{
- "$id": "4508",
+ "$id": "4731",
"kind": "property",
"name": "top_logprobs",
"serializedName": "top_logprobs",
"type": {
- "$id": "4509",
+ "$id": "4732",
"kind": "array",
"name": "ArrayTopLogProb",
"valueType": {
- "$id": "4510",
+ "$id": "4733",
"kind": "model",
"name": "TopLogProb",
"namespace": "OpenAI",
@@ -55432,12 +58011,12 @@
"decorators": [],
"properties": [
{
- "$id": "4511",
+ "$id": "4734",
"kind": "property",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "4512",
+ "$id": "4735",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55457,12 +58036,12 @@
"isHttpMetadata": false
},
{
- "$id": "4513",
+ "$id": "4736",
"kind": "property",
"name": "logprob",
"serializedName": "logprob",
"type": {
- "$id": "4514",
+ "$id": "4737",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -55482,12 +58061,12 @@
"isHttpMetadata": false
},
{
- "$id": "4515",
+ "$id": "4738",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": false,
"readOnly": false,
@@ -55565,7 +58144,7 @@
]
},
{
- "$id": "4516",
+ "$id": "4739",
"kind": "model",
"name": "ItemParam",
"namespace": "OpenAI",
@@ -55574,12 +58153,12 @@
"doc": "Content item used to generate a response.",
"decorators": [],
"discriminatorProperty": {
- "$id": "4517",
+ "$id": "4740",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "603"
+ "$ref": "617"
},
"optional": false,
"readOnly": false,
@@ -55596,12 +58175,12 @@
},
"properties": [
{
- "$ref": "4517"
+ "$ref": "4740"
}
],
"discriminatedSubtypes": {
"file_search_call": {
- "$id": "4518",
+ "$id": "4741",
"kind": "model",
"name": "FileSearchToolCallItemParam",
"namespace": "OpenAI",
@@ -55611,16 +58190,270 @@
"discriminatorValue": "file_search_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4519",
+ "$id": "4742",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "606"
+ "$id": "4743",
+ "kind": "enumvalue",
+ "name": "file_search_call",
+ "value": "file_search_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$id": "4744",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ItemType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4745",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4746",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "message",
+ "value": "message",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4747",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_search_call",
+ "value": "file_search_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4748",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function_call",
+ "value": "function_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4749",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function_call_output",
+ "value": "function_call_output",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4750",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "computer_call",
+ "value": "computer_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4751",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "computer_call_output",
+ "value": "computer_call_output",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4752",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "web_search_call",
+ "value": "web_search_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4753",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "reasoning",
+ "value": "reasoning",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4754",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "item_reference",
+ "value": "item_reference",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4755",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "image_generation_call",
+ "value": "image_generation_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4756",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "code_interpreter_call",
+ "value": "code_interpreter_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4757",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "local_shell_call",
+ "value": "local_shell_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4758",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "local_shell_call_output",
+ "value": "local_shell_call_output",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4759",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "mcp_list_tools",
+ "value": "mcp_list_tools",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4760",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "mcp_approval_request",
+ "value": "mcp_approval_request",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4761",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "mcp_approval_response",
+ "value": "mcp_approval_response",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ },
+ {
+ "$id": "4762",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "mcp_call",
+ "value": "mcp_call",
+ "valueType": {
+ "$ref": "4745"
+ },
+ "enumType": {
+ "$ref": "4744"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ItemType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -55636,13 +58469,13 @@
"isHttpMetadata": false
},
{
- "$id": "4520",
+ "$id": "4763",
"kind": "property",
"name": "queries",
"serializedName": "queries",
"doc": "The queries used to search for files.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -55658,20 +58491,20 @@
"isHttpMetadata": false
},
{
- "$id": "4521",
+ "$id": "4764",
"kind": "property",
"name": "results",
"serializedName": "results",
"doc": "The results of the file search tool call.",
"type": {
- "$id": "4522",
+ "$id": "4765",
"kind": "nullable",
"type": {
- "$id": "4523",
+ "$id": "4766",
"kind": "array",
"name": "Array24",
"valueType": {
- "$id": "4524",
+ "$id": "4767",
"kind": "model",
"name": "FileSearchToolCallItemParamResult",
"namespace": "OpenAI",
@@ -55680,13 +58513,13 @@
"decorators": [],
"properties": [
{
- "$id": "4525",
+ "$id": "4768",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The unique ID of the file.",
"type": {
- "$id": "4526",
+ "$id": "4769",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55706,13 +58539,13 @@
"isHttpMetadata": false
},
{
- "$id": "4527",
+ "$id": "4770",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text that was retrieved from the file.",
"type": {
- "$id": "4528",
+ "$id": "4771",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55732,13 +58565,13 @@
"isHttpMetadata": false
},
{
- "$id": "4529",
+ "$id": "4772",
"kind": "property",
"name": "filename",
"serializedName": "filename",
"doc": "The name of the file.",
"type": {
- "$id": "4530",
+ "$id": "4773",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55758,12 +58591,12 @@
"isHttpMetadata": false
},
{
- "$id": "4531",
+ "$id": "4774",
"kind": "property",
"name": "attributes",
"serializedName": "attributes",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"optional": true,
"readOnly": false,
@@ -55779,13 +58612,13 @@
"isHttpMetadata": false
},
{
- "$id": "4532",
+ "$id": "4775",
"kind": "property",
"name": "score",
"serializedName": "score",
"doc": "The relevance score of the file - a value between 0 and 1.",
"type": {
- "$id": "4533",
+ "$id": "4776",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -55827,7 +58660,7 @@
]
},
"computer_call": {
- "$id": "4534",
+ "$id": "4777",
"kind": "model",
"name": "ComputerToolCallItemParam",
"namespace": "OpenAI",
@@ -55837,16 +58670,26 @@
"discriminatorValue": "computer_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4535",
+ "$id": "4778",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "609"
+ "$id": "4779",
+ "kind": "enumvalue",
+ "name": "computer_call",
+ "value": "computer_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -55862,13 +58705,13 @@
"isHttpMetadata": false
},
{
- "$id": "4536",
+ "$id": "4780",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "An identifier used when responding to the tool call with output.",
"type": {
- "$id": "4537",
+ "$id": "4781",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -55888,12 +58731,12 @@
"isHttpMetadata": false
},
{
- "$id": "4538",
+ "$id": "4782",
"kind": "property",
"name": "action",
"serializedName": "action",
"type": {
- "$id": "4539",
+ "$id": "4783",
"kind": "model",
"name": "ComputerAction",
"namespace": "OpenAI",
@@ -55901,12 +58744,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4540",
+ "$id": "4784",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "622"
+ "$ref": "636"
},
"optional": false,
"readOnly": false,
@@ -55923,12 +58766,12 @@
},
"properties": [
{
- "$ref": "4540"
+ "$ref": "4784"
}
],
"discriminatedSubtypes": {
"click": {
- "$id": "4541",
+ "$id": "4785",
"kind": "model",
"name": "ComputerActionClick",
"namespace": "OpenAI",
@@ -55938,17 +58781,167 @@
"discriminatorValue": "click",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4542",
+ "$id": "4786",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a click action, this property is\nalways set to `click`.",
"type": {
- "$ref": "625"
+ "$id": "4787",
+ "kind": "enumvalue",
+ "name": "click",
+ "value": "click",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$id": "4788",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ComputerActionType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4789",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4790",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "screenshot",
+ "value": "screenshot",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4791",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "click",
+ "value": "click",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4792",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "double_click",
+ "value": "double_click",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4793",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "scroll",
+ "value": "scroll",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4794",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "type",
+ "value": "type",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4795",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "wait",
+ "value": "wait",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4796",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "keypress",
+ "value": "keypress",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4797",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "drag",
+ "value": "drag",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ },
+ {
+ "$id": "4798",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "move",
+ "value": "move",
+ "valueType": {
+ "$ref": "4789"
+ },
+ "enumType": {
+ "$ref": "4788"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ComputerActionType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -55964,13 +58957,13 @@
"isHttpMetadata": false
},
{
- "$id": "4543",
+ "$id": "4799",
"kind": "property",
"name": "button",
"serializedName": "button",
"doc": "Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`.",
"type": {
- "$ref": "633"
+ "$ref": "647"
},
"optional": false,
"readOnly": false,
@@ -55986,13 +58979,13 @@
"isHttpMetadata": false
},
{
- "$id": "4544",
+ "$id": "4800",
"kind": "property",
"name": "x",
"serializedName": "x",
"doc": "The x-coordinate where the click occurred.",
"type": {
- "$id": "4545",
+ "$id": "4801",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56012,13 +59005,13 @@
"isHttpMetadata": false
},
{
- "$id": "4546",
+ "$id": "4802",
"kind": "property",
"name": "y",
"serializedName": "y",
"doc": "The y-coordinate where the click occurred.",
"type": {
- "$id": "4547",
+ "$id": "4803",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56040,7 +59033,7 @@
]
},
"double_click": {
- "$id": "4548",
+ "$id": "4804",
"kind": "model",
"name": "ComputerActionDoubleClick",
"namespace": "OpenAI",
@@ -56050,17 +59043,27 @@
"discriminatorValue": "double_click",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4549",
+ "$id": "4805",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a double click action, this property is\nalways set to `double_click`.",
"type": {
- "$ref": "626"
+ "$id": "4806",
+ "kind": "enumvalue",
+ "name": "double_click",
+ "value": "double_click",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56076,13 +59079,13 @@
"isHttpMetadata": false
},
{
- "$id": "4550",
+ "$id": "4807",
"kind": "property",
"name": "x",
"serializedName": "x",
"doc": "The x-coordinate where the double click occurred.",
"type": {
- "$id": "4551",
+ "$id": "4808",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56102,13 +59105,13 @@
"isHttpMetadata": false
},
{
- "$id": "4552",
+ "$id": "4809",
"kind": "property",
"name": "y",
"serializedName": "y",
"doc": "The y-coordinate where the double click occurred.",
"type": {
- "$id": "4553",
+ "$id": "4810",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56130,7 +59133,7 @@
]
},
"drag": {
- "$id": "4554",
+ "$id": "4811",
"kind": "model",
"name": "ComputerActionDrag",
"namespace": "OpenAI",
@@ -56140,17 +59143,27 @@
"discriminatorValue": "drag",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4555",
+ "$id": "4812",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a drag action, this property is\nalways set to `drag`.",
"type": {
- "$ref": "631"
+ "$id": "4813",
+ "kind": "enumvalue",
+ "name": "drag",
+ "value": "drag",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56166,17 +59179,17 @@
"isHttpMetadata": false
},
{
- "$id": "4556",
+ "$id": "4814",
"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": "4557",
+ "$id": "4815",
"kind": "array",
"name": "ArrayCoordinate",
"valueType": {
- "$id": "4558",
+ "$id": "4816",
"kind": "model",
"name": "Coordinate",
"namespace": "OpenAI",
@@ -56186,13 +59199,13 @@
"decorators": [],
"properties": [
{
- "$id": "4559",
+ "$id": "4817",
"kind": "property",
"name": "x",
"serializedName": "x",
"doc": "The x-coordinate.",
"type": {
- "$id": "4560",
+ "$id": "4818",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56212,13 +59225,13 @@
"isHttpMetadata": false
},
{
- "$id": "4561",
+ "$id": "4819",
"kind": "property",
"name": "y",
"serializedName": "y",
"doc": "The y-coordinate.",
"type": {
- "$id": "4562",
+ "$id": "4820",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56258,7 +59271,7 @@
]
},
"move": {
- "$id": "4563",
+ "$id": "4821",
"kind": "model",
"name": "ComputerActionMove",
"namespace": "OpenAI",
@@ -56268,17 +59281,27 @@
"discriminatorValue": "move",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4564",
+ "$id": "4822",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a move action, this property is\nalways set to `move`.",
"type": {
- "$ref": "632"
+ "$id": "4823",
+ "kind": "enumvalue",
+ "name": "move",
+ "value": "move",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56294,13 +59317,13 @@
"isHttpMetadata": false
},
{
- "$id": "4565",
+ "$id": "4824",
"kind": "property",
"name": "x",
"serializedName": "x",
"doc": "The x-coordinate to move to.",
"type": {
- "$id": "4566",
+ "$id": "4825",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56320,13 +59343,13 @@
"isHttpMetadata": false
},
{
- "$id": "4567",
+ "$id": "4826",
"kind": "property",
"name": "y",
"serializedName": "y",
"doc": "The y-coordinate to move to.",
"type": {
- "$id": "4568",
+ "$id": "4827",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56348,7 +59371,7 @@
]
},
"screenshot": {
- "$id": "4569",
+ "$id": "4828",
"kind": "model",
"name": "ComputerActionScreenshot",
"namespace": "OpenAI",
@@ -56358,17 +59381,27 @@
"discriminatorValue": "screenshot",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4570",
+ "$id": "4829",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a screenshot action, this property is\nalways set to `screenshot`.",
"type": {
- "$ref": "624"
+ "$id": "4830",
+ "kind": "enumvalue",
+ "name": "screenshot",
+ "value": "screenshot",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56386,7 +59419,7 @@
]
},
"scroll": {
- "$id": "4571",
+ "$id": "4831",
"kind": "model",
"name": "ComputerActionScroll",
"namespace": "OpenAI",
@@ -56396,17 +59429,27 @@
"discriminatorValue": "scroll",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4572",
+ "$id": "4832",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a scroll action, this property is\nalways set to `scroll`.",
"type": {
- "$ref": "627"
+ "$id": "4833",
+ "kind": "enumvalue",
+ "name": "scroll",
+ "value": "scroll",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56422,13 +59465,13 @@
"isHttpMetadata": false
},
{
- "$id": "4573",
+ "$id": "4834",
"kind": "property",
"name": "x",
"serializedName": "x",
"doc": "The x-coordinate where the scroll occurred.",
"type": {
- "$id": "4574",
+ "$id": "4835",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56448,13 +59491,13 @@
"isHttpMetadata": false
},
{
- "$id": "4575",
+ "$id": "4836",
"kind": "property",
"name": "y",
"serializedName": "y",
"doc": "The y-coordinate where the scroll occurred.",
"type": {
- "$id": "4576",
+ "$id": "4837",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56474,13 +59517,13 @@
"isHttpMetadata": false
},
{
- "$id": "4577",
+ "$id": "4838",
"kind": "property",
"name": "scroll_x",
"serializedName": "scroll_x",
"doc": "The horizontal scroll distance.",
"type": {
- "$id": "4578",
+ "$id": "4839",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56500,13 +59543,13 @@
"isHttpMetadata": false
},
{
- "$id": "4579",
+ "$id": "4840",
"kind": "property",
"name": "scroll_y",
"serializedName": "scroll_y",
"doc": "The vertical scroll distance.",
"type": {
- "$id": "4580",
+ "$id": "4841",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -56528,7 +59571,7 @@
]
},
"type": {
- "$id": "4581",
+ "$id": "4842",
"kind": "model",
"name": "ComputerActionTypeKeys",
"namespace": "OpenAI",
@@ -56538,17 +59581,27 @@
"discriminatorValue": "type",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4582",
+ "$id": "4843",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a type action, this property is\nalways set to `type`.",
"type": {
- "$ref": "628"
+ "$id": "4844",
+ "kind": "enumvalue",
+ "name": "type",
+ "value": "type",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56564,13 +59617,13 @@
"isHttpMetadata": false
},
{
- "$id": "4583",
+ "$id": "4845",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text to type.",
"type": {
- "$id": "4584",
+ "$id": "4846",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -56592,7 +59645,7 @@
]
},
"wait": {
- "$id": "4585",
+ "$id": "4847",
"kind": "model",
"name": "ComputerActionWait",
"namespace": "OpenAI",
@@ -56602,17 +59655,27 @@
"discriminatorValue": "wait",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4586",
+ "$id": "4848",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a wait action, this property is\nalways set to `wait`.",
"type": {
- "$ref": "629"
+ "$id": "4849",
+ "kind": "enumvalue",
+ "name": "wait",
+ "value": "wait",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56630,7 +59693,7 @@
]
},
"keypress": {
- "$id": "4587",
+ "$id": "4850",
"kind": "model",
"name": "ComputerActionKeyPress",
"namespace": "OpenAI",
@@ -56640,17 +59703,27 @@
"discriminatorValue": "keypress",
"decorators": [],
"baseModel": {
- "$ref": "4539"
+ "$ref": "4783"
},
"properties": [
{
- "$id": "4588",
+ "$id": "4851",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Specifies the event type. For a keypress action, this property is\nalways set to `keypress`.",
"type": {
- "$ref": "630"
+ "$id": "4852",
+ "kind": "enumvalue",
+ "name": "keypress",
+ "value": "keypress",
+ "valueType": {
+ "$ref": "637"
+ },
+ "enumType": {
+ "$ref": "4788"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56666,13 +59739,13 @@
"isHttpMetadata": false
},
{
- "$id": "4589",
+ "$id": "4853",
"kind": "property",
"name": "keys",
"serializedName": "keys",
"doc": "The combination of keys the model is requesting to be pressed. This is an\narray of strings, each representing a key.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -56705,17 +59778,17 @@
"isHttpMetadata": false
},
{
- "$id": "4590",
+ "$id": "4854",
"kind": "property",
"name": "pending_safety_checks",
"serializedName": "pending_safety_checks",
"doc": "The pending safety checks for the computer call.",
"type": {
- "$id": "4591",
+ "$id": "4855",
"kind": "array",
"name": "ArrayComputerToolCallSafetyCheck",
"valueType": {
- "$id": "4592",
+ "$id": "4856",
"kind": "model",
"name": "ComputerToolCallSafetyCheck",
"namespace": "OpenAI",
@@ -56725,13 +59798,13 @@
"decorators": [],
"properties": [
{
- "$id": "4593",
+ "$id": "4857",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The ID of the pending safety check.",
"type": {
- "$id": "4594",
+ "$id": "4858",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -56751,13 +59824,13 @@
"isHttpMetadata": false
},
{
- "$id": "4595",
+ "$id": "4859",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "The type of the pending safety check.",
"type": {
- "$id": "4596",
+ "$id": "4860",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -56777,13 +59850,13 @@
"isHttpMetadata": false
},
{
- "$id": "4597",
+ "$id": "4861",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "Details about the pending safety check.",
"type": {
- "$id": "4598",
+ "$id": "4862",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -56823,7 +59896,7 @@
]
},
"computer_call_output": {
- "$id": "4599",
+ "$id": "4863",
"kind": "model",
"name": "ComputerToolCallOutputItemParam",
"namespace": "OpenAI",
@@ -56833,16 +59906,26 @@
"discriminatorValue": "computer_call_output",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4600",
+ "$id": "4864",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "610"
+ "$id": "4865",
+ "kind": "enumvalue",
+ "name": "computer_call_output",
+ "value": "computer_call_output",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56858,13 +59941,13 @@
"isHttpMetadata": false
},
{
- "$id": "4601",
+ "$id": "4866",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The ID of the computer tool call that produced the output.",
"type": {
- "$id": "4602",
+ "$id": "4867",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -56884,13 +59967,13 @@
"isHttpMetadata": false
},
{
- "$id": "4603",
+ "$id": "4868",
"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": "4591"
+ "$ref": "4855"
},
"optional": true,
"readOnly": false,
@@ -56906,12 +59989,12 @@
"isHttpMetadata": false
},
{
- "$id": "4604",
+ "$id": "4869",
"kind": "property",
"name": "output",
"serializedName": "output",
"type": {
- "$id": "4605",
+ "$id": "4870",
"kind": "model",
"name": "ComputerToolCallOutputItemOutput",
"namespace": "OpenAI",
@@ -56919,12 +60002,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4606",
+ "$id": "4871",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "640"
+ "$ref": "654"
},
"optional": false,
"readOnly": false,
@@ -56941,12 +60024,12 @@
},
"properties": [
{
- "$ref": "4606"
+ "$ref": "4871"
}
],
"discriminatedSubtypes": {
"computer_screenshot": {
- "$id": "4607",
+ "$id": "4872",
"kind": "model",
"name": "ComputerToolCallOutputItemOutputComputerScreenshot",
"namespace": "OpenAI",
@@ -56955,16 +60038,63 @@
"discriminatorValue": "computer_screenshot",
"decorators": [],
"baseModel": {
- "$ref": "4605"
+ "$ref": "4870"
},
"properties": [
{
- "$id": "4608",
+ "$id": "4873",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "642"
+ "$id": "4874",
+ "kind": "enumvalue",
+ "name": "screenshot",
+ "value": "computer_screenshot",
+ "valueType": {
+ "$ref": "655"
+ },
+ "enumType": {
+ "$id": "4875",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "A computer screenshot image used with the computer use tool.",
+ "name": "ComputerToolCallOutputItemOutputType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4876",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4877",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "screenshot",
+ "value": "computer_screenshot",
+ "valueType": {
+ "$ref": "4876"
+ },
+ "enumType": {
+ "$ref": "4875"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ComputerToolCallOutputItemOutputType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -56980,12 +60110,12 @@
"isHttpMetadata": false
},
{
- "$id": "4609",
+ "$id": "4878",
"kind": "property",
"name": "image_url",
"serializedName": "image_url",
"type": {
- "$id": "4610",
+ "$id": "4879",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57005,12 +60135,12 @@
"isHttpMetadata": false
},
{
- "$id": "4611",
+ "$id": "4880",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"type": {
- "$id": "4612",
+ "$id": "4881",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57049,7 +60179,7 @@
]
},
"web_search_call": {
- "$id": "4613",
+ "$id": "4882",
"kind": "model",
"name": "WebSearchToolCallItemParam",
"namespace": "OpenAI",
@@ -57059,16 +60189,26 @@
"discriminatorValue": "web_search_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4614",
+ "$id": "4883",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "611"
+ "$id": "4884",
+ "kind": "enumvalue",
+ "name": "web_search_call",
+ "value": "web_search_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57086,7 +60226,7 @@
]
},
"function_call": {
- "$id": "4615",
+ "$id": "4885",
"kind": "model",
"name": "FunctionToolCallItemParam",
"namespace": "OpenAI",
@@ -57096,16 +60236,26 @@
"discriminatorValue": "function_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4616",
+ "$id": "4886",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "607"
+ "$id": "4887",
+ "kind": "enumvalue",
+ "name": "function_call",
+ "value": "function_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57121,13 +60271,13 @@
"isHttpMetadata": false
},
{
- "$id": "4617",
+ "$id": "4888",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The unique ID of the function tool call generated by the model.",
"type": {
- "$id": "4618",
+ "$id": "4889",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57147,13 +60297,13 @@
"isHttpMetadata": false
},
{
- "$id": "4619",
+ "$id": "4890",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to run.",
"type": {
- "$id": "4620",
+ "$id": "4891",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57173,13 +60323,13 @@
"isHttpMetadata": false
},
{
- "$id": "4621",
+ "$id": "4892",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"doc": "A JSON string of the arguments to pass to the function.",
"type": {
- "$id": "4622",
+ "$id": "4893",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57201,7 +60351,7 @@
]
},
"function_call_output": {
- "$id": "4623",
+ "$id": "4894",
"kind": "model",
"name": "FunctionToolCallOutputItemParam",
"namespace": "OpenAI",
@@ -57211,16 +60361,26 @@
"discriminatorValue": "function_call_output",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4624",
+ "$id": "4895",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "608"
+ "$id": "4896",
+ "kind": "enumvalue",
+ "name": "function_call_output",
+ "value": "function_call_output",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57236,13 +60396,13 @@
"isHttpMetadata": false
},
{
- "$id": "4625",
+ "$id": "4897",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The unique ID of the function tool call generated by the model.",
"type": {
- "$id": "4626",
+ "$id": "4898",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57262,13 +60422,13 @@
"isHttpMetadata": false
},
{
- "$id": "4627",
+ "$id": "4899",
"kind": "property",
"name": "output",
"serializedName": "output",
"doc": "A JSON string of the output of the function tool call.",
"type": {
- "$id": "4628",
+ "$id": "4900",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57290,7 +60450,7 @@
]
},
"reasoning": {
- "$id": "4629",
+ "$id": "4901",
"kind": "model",
"name": "ReasoningItemParam",
"namespace": "OpenAI",
@@ -57300,16 +60460,26 @@
"discriminatorValue": "reasoning",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4630",
+ "$id": "4902",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "612"
+ "$id": "4903",
+ "kind": "enumvalue",
+ "name": "reasoning",
+ "value": "reasoning",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57325,16 +60495,16 @@
"isHttpMetadata": false
},
{
- "$id": "4631",
+ "$id": "4904",
"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": "4632",
+ "$id": "4905",
"kind": "nullable",
"type": {
- "$id": "4633",
+ "$id": "4906",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57356,17 +60526,17 @@
"isHttpMetadata": false
},
{
- "$id": "4634",
+ "$id": "4907",
"kind": "property",
"name": "summary",
"serializedName": "summary",
"doc": "Reasoning text contents.",
"type": {
- "$id": "4635",
+ "$id": "4908",
"kind": "array",
"name": "ArrayReasoningItemSummaryPart",
"valueType": {
- "$id": "4636",
+ "$id": "4909",
"kind": "model",
"name": "ReasoningItemSummaryPart",
"namespace": "OpenAI",
@@ -57374,12 +60544,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4637",
+ "$id": "4910",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "643"
+ "$ref": "657"
},
"optional": false,
"readOnly": false,
@@ -57396,12 +60566,12 @@
},
"properties": [
{
- "$ref": "4637"
+ "$ref": "4910"
}
],
"discriminatedSubtypes": {
"summary_text": {
- "$id": "4638",
+ "$id": "4911",
"kind": "model",
"name": "ReasoningItemSummaryTextPart",
"namespace": "OpenAI",
@@ -57410,16 +60580,62 @@
"discriminatorValue": "summary_text",
"decorators": [],
"baseModel": {
- "$ref": "4636"
+ "$ref": "4909"
},
"properties": [
{
- "$id": "4639",
+ "$id": "4912",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "645"
+ "$id": "4913",
+ "kind": "enumvalue",
+ "name": "summary_text",
+ "value": "summary_text",
+ "valueType": {
+ "$ref": "658"
+ },
+ "enumType": {
+ "$id": "4914",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ReasoningItemSummaryPartType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4915",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4916",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "summary_text",
+ "value": "summary_text",
+ "valueType": {
+ "$ref": "4915"
+ },
+ "enumType": {
+ "$ref": "4914"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ReasoningItemSummaryPartType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57435,12 +60651,12 @@
"isHttpMetadata": false
},
{
- "$id": "4640",
+ "$id": "4917",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "4641",
+ "$id": "4918",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57482,7 +60698,7 @@
]
},
"item_reference": {
- "$id": "4642",
+ "$id": "4919",
"kind": "model",
"name": "ItemReferenceItemParam",
"namespace": "OpenAI",
@@ -57492,16 +60708,26 @@
"discriminatorValue": "item_reference",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4643",
+ "$id": "4920",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "613"
+ "$id": "4921",
+ "kind": "enumvalue",
+ "name": "item_reference",
+ "value": "item_reference",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57517,13 +60743,13 @@
"isHttpMetadata": false
},
{
- "$id": "4644",
+ "$id": "4922",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The service-originated ID of the previously generated response item being referenced.",
"type": {
- "$id": "4645",
+ "$id": "4923",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57545,7 +60771,7 @@
]
},
"image_generation_call": {
- "$id": "4646",
+ "$id": "4924",
"kind": "model",
"name": "ImageGenToolCallItemParam",
"namespace": "OpenAI",
@@ -57555,16 +60781,26 @@
"discriminatorValue": "image_generation_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4647",
+ "$id": "4925",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "614"
+ "$id": "4926",
+ "kind": "enumvalue",
+ "name": "image_generation_call",
+ "value": "image_generation_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57580,16 +60816,16 @@
"isHttpMetadata": false
},
{
- "$id": "4648",
+ "$id": "4927",
"kind": "property",
"name": "result",
"serializedName": "result",
"doc": "The generated image encoded in base64.",
"type": {
- "$id": "4649",
+ "$id": "4928",
"kind": "nullable",
"type": {
- "$id": "4650",
+ "$id": "4929",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -57614,7 +60850,7 @@
]
},
"code_interpreter_call": {
- "$id": "4651",
+ "$id": "4930",
"kind": "model",
"name": "CodeInterpreterToolCallItemParam",
"namespace": "OpenAI",
@@ -57624,16 +60860,26 @@
"discriminatorValue": "code_interpreter_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4652",
+ "$id": "4931",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "615"
+ "$id": "4932",
+ "kind": "enumvalue",
+ "name": "code_interpreter_call",
+ "value": "code_interpreter_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57649,13 +60895,13 @@
"isHttpMetadata": false
},
{
- "$id": "4653",
+ "$id": "4933",
"kind": "property",
"name": "container_id",
"serializedName": "container_id",
"doc": "The ID of the container used to run the code.",
"type": {
- "$id": "4654",
+ "$id": "4934",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57675,13 +60921,13 @@
"isHttpMetadata": false
},
{
- "$id": "4655",
+ "$id": "4935",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "The code to run.",
"type": {
- "$id": "4656",
+ "$id": "4936",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57701,17 +60947,17 @@
"isHttpMetadata": false
},
{
- "$id": "4657",
+ "$id": "4937",
"kind": "property",
"name": "outputs",
"serializedName": "outputs",
"doc": "The outputs of the code interpreter tool call.",
"type": {
- "$id": "4658",
+ "$id": "4938",
"kind": "array",
"name": "ArrayCodeInterpreterToolOutput",
"valueType": {
- "$id": "4659",
+ "$id": "4939",
"kind": "model",
"name": "CodeInterpreterToolOutput",
"namespace": "OpenAI",
@@ -57719,13 +60965,13 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "4660",
+ "$id": "4940",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the output.",
"type": {
- "$ref": "646"
+ "$ref": "660"
},
"optional": false,
"readOnly": false,
@@ -57742,12 +60988,12 @@
},
"properties": [
{
- "$ref": "4660"
+ "$ref": "4940"
}
],
"discriminatedSubtypes": {
"logs": {
- "$id": "4661",
+ "$id": "4941",
"kind": "model",
"name": "CodeInterpreterToolLogsOutput",
"namespace": "OpenAI",
@@ -57756,17 +61002,76 @@
"discriminatorValue": "logs",
"decorators": [],
"baseModel": {
- "$ref": "4659"
+ "$ref": "4939"
},
"properties": [
{
- "$id": "4662",
+ "$id": "4942",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the output. Always 'logs'.",
"type": {
- "$ref": "648"
+ "$id": "4943",
+ "kind": "enumvalue",
+ "name": "logs",
+ "value": "logs",
+ "valueType": {
+ "$ref": "661"
+ },
+ "enumType": {
+ "$id": "4944",
+ "kind": "enum",
+ "decorators": [],
+ "name": "CodeInterpreterToolOutputType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "4945",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "4946",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "logs",
+ "value": "logs",
+ "valueType": {
+ "$ref": "4945"
+ },
+ "enumType": {
+ "$ref": "4944"
+ }
+ },
+ {
+ "$id": "4947",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "image",
+ "value": "image",
+ "valueType": {
+ "$ref": "4945"
+ },
+ "enumType": {
+ "$ref": "4944"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.CodeInterpreterToolOutputType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57782,13 +61087,13 @@
"isHttpMetadata": false
},
{
- "$id": "4663",
+ "$id": "4948",
"kind": "property",
"name": "logs",
"serializedName": "logs",
"doc": "The logs output from the code interpreter.",
"type": {
- "$id": "4664",
+ "$id": "4949",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57810,7 +61115,7 @@
]
},
"image": {
- "$id": "4665",
+ "$id": "4950",
"kind": "model",
"name": "CodeInterpreterToolImageOutput",
"namespace": "OpenAI",
@@ -57819,17 +61124,27 @@
"discriminatorValue": "image",
"decorators": [],
"baseModel": {
- "$ref": "4659"
+ "$ref": "4939"
},
"properties": [
{
- "$id": "4666",
+ "$id": "4951",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the output. Always 'image'.",
"type": {
- "$ref": "649"
+ "$id": "4952",
+ "kind": "enumvalue",
+ "name": "image",
+ "value": "image",
+ "valueType": {
+ "$ref": "661"
+ },
+ "enumType": {
+ "$ref": "4944"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57845,13 +61160,13 @@
"isHttpMetadata": false
},
{
- "$id": "4667",
+ "$id": "4953",
"kind": "property",
"name": "ImageUri",
"serializedName": "url",
"doc": "The URL of the image output from the code interpreter.",
"type": {
- "$id": "4668",
+ "$id": "4954",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -57893,7 +61208,7 @@
]
},
"local_shell_call": {
- "$id": "4669",
+ "$id": "4955",
"kind": "model",
"name": "LocalShellToolCallItemParam",
"namespace": "OpenAI",
@@ -57903,16 +61218,26 @@
"discriminatorValue": "local_shell_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4670",
+ "$id": "4956",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "616"
+ "$id": "4957",
+ "kind": "enumvalue",
+ "name": "local_shell_call",
+ "value": "local_shell_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -57928,13 +61253,13 @@
"isHttpMetadata": false
},
{
- "$id": "4671",
+ "$id": "4958",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The unique ID of the local shell tool call generated by the model.",
"type": {
- "$id": "4672",
+ "$id": "4959",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -57954,12 +61279,12 @@
"isHttpMetadata": false
},
{
- "$id": "4673",
+ "$id": "4960",
"kind": "property",
"name": "action",
"serializedName": "action",
"type": {
- "$id": "4674",
+ "$id": "4961",
"kind": "model",
"name": "LocalShellExecAction",
"namespace": "OpenAI",
@@ -57969,13 +61294,13 @@
"decorators": [],
"properties": [
{
- "$id": "4675",
+ "$id": "4962",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the local shell action. Always `exec`.",
"type": {
- "$ref": "1627"
+ "$ref": "1657"
},
"optional": false,
"readOnly": false,
@@ -57991,13 +61316,13 @@
"isHttpMetadata": false
},
{
- "$id": "4676",
+ "$id": "4963",
"kind": "property",
"name": "command",
"serializedName": "command",
"doc": "The command to run.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -58013,16 +61338,16 @@
"isHttpMetadata": false
},
{
- "$id": "4677",
+ "$id": "4964",
"kind": "property",
"name": "timeout_ms",
"serializedName": "timeout_ms",
"doc": "Optional timeout in milliseconds for the command.",
"type": {
- "$id": "4678",
+ "$id": "4965",
"kind": "nullable",
"type": {
- "$id": "4679",
+ "$id": "4966",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -58044,16 +61369,16 @@
"isHttpMetadata": false
},
{
- "$id": "4680",
+ "$id": "4967",
"kind": "property",
"name": "working_directory",
"serializedName": "working_directory",
"doc": "Optional working directory to run the command in.",
"type": {
- "$id": "4681",
+ "$id": "4968",
"kind": "nullable",
"type": {
- "$id": "4682",
+ "$id": "4969",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58075,13 +61400,13 @@
"isHttpMetadata": false
},
{
- "$id": "4683",
+ "$id": "4970",
"kind": "property",
"name": "env",
"serializedName": "env",
"doc": "Environment variables to set for the command.",
"type": {
- "$ref": "2352"
+ "$ref": "2380"
},
"optional": false,
"readOnly": false,
@@ -58097,16 +61422,16 @@
"isHttpMetadata": false
},
{
- "$id": "4684",
+ "$id": "4971",
"kind": "property",
"name": "user",
"serializedName": "user",
"doc": "Optional user to run the command as.",
"type": {
- "$id": "4685",
+ "$id": "4972",
"kind": "nullable",
"type": {
- "$id": "4686",
+ "$id": "4973",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58145,7 +61470,7 @@
]
},
"local_shell_call_output": {
- "$id": "4687",
+ "$id": "4974",
"kind": "model",
"name": "LocalShellToolCallOutputItemParam",
"namespace": "OpenAI",
@@ -58155,16 +61480,26 @@
"discriminatorValue": "local_shell_call_output",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4688",
+ "$id": "4975",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "617"
+ "$id": "4976",
+ "kind": "enumvalue",
+ "name": "local_shell_call_output",
+ "value": "local_shell_call_output",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -58180,13 +61515,13 @@
"isHttpMetadata": false
},
{
- "$id": "4689",
+ "$id": "4977",
"kind": "property",
"name": "output",
"serializedName": "output",
"doc": "A JSON string of the output of the local shell tool call.",
"type": {
- "$id": "4690",
+ "$id": "4978",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58208,7 +61543,7 @@
]
},
"mcp_list_tools": {
- "$id": "4691",
+ "$id": "4979",
"kind": "model",
"name": "MCPListToolsItemParam",
"namespace": "OpenAI",
@@ -58218,16 +61553,26 @@
"discriminatorValue": "mcp_list_tools",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4692",
+ "$id": "4980",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "618"
+ "$id": "4981",
+ "kind": "enumvalue",
+ "name": "mcp_list_tools",
+ "value": "mcp_list_tools",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -58243,13 +61588,13 @@
"isHttpMetadata": false
},
{
- "$id": "4693",
+ "$id": "4982",
"kind": "property",
"name": "server_label",
"serializedName": "server_label",
"doc": "The label of the MCP server.",
"type": {
- "$id": "4694",
+ "$id": "4983",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58269,17 +61614,17 @@
"isHttpMetadata": false
},
{
- "$id": "4695",
+ "$id": "4984",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "The tools available on the server.",
"type": {
- "$id": "4696",
+ "$id": "4985",
"kind": "array",
"name": "ArrayMcpListToolsTool",
"valueType": {
- "$id": "4697",
+ "$id": "4986",
"kind": "model",
"name": "MCPListToolsTool",
"namespace": "OpenAI",
@@ -58289,13 +61634,13 @@
"decorators": [],
"properties": [
{
- "$id": "4698",
+ "$id": "4987",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the tool.",
"type": {
- "$id": "4699",
+ "$id": "4988",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58315,16 +61660,16 @@
"isHttpMetadata": false
},
{
- "$id": "4700",
+ "$id": "4989",
"kind": "property",
"name": "description",
"serializedName": "description",
"doc": "The description of the tool.",
"type": {
- "$id": "4701",
+ "$id": "4990",
"kind": "nullable",
"type": {
- "$id": "4702",
+ "$id": "4991",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58346,13 +61691,13 @@
"isHttpMetadata": false
},
{
- "$id": "4703",
+ "$id": "4992",
"kind": "property",
"name": "input_schema",
"serializedName": "input_schema",
"doc": "The JSON schema describing the tool's input.",
"type": {
- "$id": "4704",
+ "$id": "4993",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -58372,16 +61717,16 @@
"isHttpMetadata": false
},
{
- "$id": "4705",
+ "$id": "4994",
"kind": "property",
"name": "annotations",
"serializedName": "annotations",
"doc": "Additional annotations about the tool.",
"type": {
- "$id": "4706",
+ "$id": "4995",
"kind": "nullable",
"type": {
- "$id": "4707",
+ "$id": "4996",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -58421,16 +61766,16 @@
"isHttpMetadata": false
},
{
- "$id": "4708",
+ "$id": "4997",
"kind": "property",
"name": "error",
"serializedName": "error",
"doc": "Error message if the server could not list tools.",
"type": {
- "$id": "4709",
+ "$id": "4998",
"kind": "nullable",
"type": {
- "$id": "4710",
+ "$id": "4999",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58454,7 +61799,7 @@
]
},
"mcp_approval_request": {
- "$id": "4711",
+ "$id": "5000",
"kind": "model",
"name": "MCPApprovalRequestItemParam",
"namespace": "OpenAI",
@@ -58464,16 +61809,26 @@
"discriminatorValue": "mcp_approval_request",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4712",
+ "$id": "5001",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "619"
+ "$id": "5002",
+ "kind": "enumvalue",
+ "name": "mcp_approval_request",
+ "value": "mcp_approval_request",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -58489,13 +61844,13 @@
"isHttpMetadata": false
},
{
- "$id": "4713",
+ "$id": "5003",
"kind": "property",
"name": "server_label",
"serializedName": "server_label",
"doc": "The label of the MCP server making the request.",
"type": {
- "$id": "4714",
+ "$id": "5004",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58515,13 +61870,13 @@
"isHttpMetadata": false
},
{
- "$id": "4715",
+ "$id": "5005",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the tool to run.",
"type": {
- "$id": "4716",
+ "$id": "5006",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58541,13 +61896,13 @@
"isHttpMetadata": false
},
{
- "$id": "4717",
+ "$id": "5007",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"doc": "A JSON string of arguments for the tool.",
"type": {
- "$id": "4718",
+ "$id": "5008",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58569,7 +61924,7 @@
]
},
"mcp_approval_response": {
- "$id": "4719",
+ "$id": "5009",
"kind": "model",
"name": "MCPApprovalResponseItemParam",
"namespace": "OpenAI",
@@ -58579,16 +61934,26 @@
"discriminatorValue": "mcp_approval_response",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4720",
+ "$id": "5010",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "620"
+ "$id": "5011",
+ "kind": "enumvalue",
+ "name": "mcp_approval_response",
+ "value": "mcp_approval_response",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -58604,13 +61969,13 @@
"isHttpMetadata": false
},
{
- "$id": "4721",
+ "$id": "5012",
"kind": "property",
"name": "approval_request_id",
"serializedName": "approval_request_id",
"doc": "The ID of the approval request being answered.",
"type": {
- "$id": "4722",
+ "$id": "5013",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58630,13 +61995,13 @@
"isHttpMetadata": false
},
{
- "$id": "4723",
+ "$id": "5014",
"kind": "property",
"name": "approve",
"serializedName": "approve",
"doc": "Whether the request was approved.",
"type": {
- "$id": "4724",
+ "$id": "5015",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -58656,16 +62021,16 @@
"isHttpMetadata": false
},
{
- "$id": "4725",
+ "$id": "5016",
"kind": "property",
"name": "reason",
"serializedName": "reason",
"doc": "Optional reason for the decision.",
"type": {
- "$id": "4726",
+ "$id": "5017",
"kind": "nullable",
"type": {
- "$id": "4727",
+ "$id": "5018",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58689,7 +62054,7 @@
]
},
"mcp_call": {
- "$id": "4728",
+ "$id": "5019",
"kind": "model",
"name": "MCPCallItemParam",
"namespace": "OpenAI",
@@ -58699,16 +62064,26 @@
"discriminatorValue": "mcp_call",
"decorators": [],
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4729",
+ "$id": "5020",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "621"
+ "$id": "5021",
+ "kind": "enumvalue",
+ "name": "mcp_call",
+ "value": "mcp_call",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -58724,13 +62099,13 @@
"isHttpMetadata": false
},
{
- "$id": "4730",
+ "$id": "5022",
"kind": "property",
"name": "server_label",
"serializedName": "server_label",
"doc": "The label of the MCP server running the tool.",
"type": {
- "$id": "4731",
+ "$id": "5023",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58750,13 +62125,13 @@
"isHttpMetadata": false
},
{
- "$id": "4732",
+ "$id": "5024",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the tool that was run.",
"type": {
- "$id": "4733",
+ "$id": "5025",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58776,13 +62151,13 @@
"isHttpMetadata": false
},
{
- "$id": "4734",
+ "$id": "5026",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"doc": "A JSON string of the arguments passed to the tool.",
"type": {
- "$id": "4735",
+ "$id": "5027",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58802,16 +62177,16 @@
"isHttpMetadata": false
},
{
- "$id": "4736",
+ "$id": "5028",
"kind": "property",
"name": "output",
"serializedName": "output",
"doc": "The output from the tool call.",
"type": {
- "$id": "4737",
+ "$id": "5029",
"kind": "nullable",
"type": {
- "$id": "4738",
+ "$id": "5030",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58833,16 +62208,16 @@
"isHttpMetadata": false
},
{
- "$id": "4739",
+ "$id": "5031",
"kind": "property",
"name": "error",
"serializedName": "error",
"doc": "The error from the tool call, if any.",
"type": {
- "$id": "4740",
+ "$id": "5032",
"kind": "nullable",
"type": {
- "$id": "4741",
+ "$id": "5033",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -58866,7 +62241,7 @@
]
},
"message": {
- "$id": "4742",
+ "$id": "5034",
"kind": "model",
"name": "ResponsesMessageItemParam",
"namespace": "OpenAI",
@@ -58876,13 +62251,13 @@
"discriminatorValue": "message",
"decorators": [],
"discriminatorProperty": {
- "$id": "4743",
+ "$id": "5035",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role associated with the message.",
"type": {
- "$ref": "650"
+ "$ref": "664"
},
"optional": false,
"readOnly": false,
@@ -58898,17 +62273,27 @@
"isHttpMetadata": false
},
"baseModel": {
- "$ref": "4516"
+ "$ref": "4739"
},
"properties": [
{
- "$id": "4744",
+ "$id": "5036",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the responses item, which is always 'message'.",
"type": {
- "$ref": "605"
+ "$id": "5037",
+ "kind": "enumvalue",
+ "name": "message",
+ "value": "message",
+ "valueType": {
+ "$ref": "618"
+ },
+ "enumType": {
+ "$ref": "4744"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -58924,12 +62309,12 @@
"isHttpMetadata": false
},
{
- "$ref": "4743"
+ "$ref": "5035"
}
],
"discriminatedSubtypes": {
"user": {
- "$id": "4745",
+ "$id": "5038",
"kind": "model",
"name": "ResponsesUserMessageItemParam",
"namespace": "OpenAI",
@@ -58939,17 +62324,103 @@
"discriminatorValue": "user",
"decorators": [],
"baseModel": {
- "$ref": "4742"
+ "$ref": "5034"
},
"properties": [
{
- "$id": "4746",
+ "$id": "5039",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `user`.",
"type": {
- "$ref": "654"
+ "$id": "5040",
+ "kind": "enumvalue",
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$ref": "665"
+ },
+ "enumType": {
+ "$id": "5041",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "The collection of valid roles for responses message items.",
+ "name": "ResponsesMessageRole",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "5042",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "5043",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$ref": "5042"
+ },
+ "enumType": {
+ "$ref": "5041"
+ }
+ },
+ {
+ "$id": "5044",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "developer",
+ "value": "developer",
+ "valueType": {
+ "$ref": "5042"
+ },
+ "enumType": {
+ "$ref": "5041"
+ }
+ },
+ {
+ "$id": "5045",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$ref": "5042"
+ },
+ "enumType": {
+ "$ref": "5041"
+ }
+ },
+ {
+ "$id": "5046",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "assistant",
+ "value": "assistant",
+ "valueType": {
+ "$ref": "5042"
+ },
+ "enumType": {
+ "$ref": "5041"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ResponsesMessageRole",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -58965,13 +62436,13 @@
"isHttpMetadata": false
},
{
- "$id": "4747",
+ "$id": "5047",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -58989,7 +62460,7 @@
]
},
"system": {
- "$id": "4748",
+ "$id": "5048",
"kind": "model",
"name": "ResponsesSystemMessageItemParam",
"namespace": "OpenAI",
@@ -58999,17 +62470,27 @@
"discriminatorValue": "system",
"decorators": [],
"baseModel": {
- "$ref": "4742"
+ "$ref": "5034"
},
"properties": [
{
- "$id": "4749",
+ "$id": "5049",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `system`.",
"type": {
- "$ref": "652"
+ "$id": "5050",
+ "kind": "enumvalue",
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$ref": "665"
+ },
+ "enumType": {
+ "$ref": "5041"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -59025,13 +62506,13 @@
"isHttpMetadata": false
},
{
- "$id": "4750",
+ "$id": "5051",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -59049,7 +62530,7 @@
]
},
"developer": {
- "$id": "4751",
+ "$id": "5052",
"kind": "model",
"name": "ResponsesDeveloperMessageItemParam",
"namespace": "OpenAI",
@@ -59059,17 +62540,27 @@
"discriminatorValue": "developer",
"decorators": [],
"baseModel": {
- "$ref": "4742"
+ "$ref": "5034"
},
"properties": [
{
- "$id": "4752",
+ "$id": "5053",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `developer`.",
"type": {
- "$ref": "653"
+ "$id": "5054",
+ "kind": "enumvalue",
+ "name": "developer",
+ "value": "developer",
+ "valueType": {
+ "$ref": "665"
+ },
+ "enumType": {
+ "$ref": "5041"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -59085,13 +62576,13 @@
"isHttpMetadata": false
},
{
- "$id": "4753",
+ "$id": "5055",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -59109,7 +62600,7 @@
]
},
"assistant": {
- "$id": "4754",
+ "$id": "5056",
"kind": "model",
"name": "ResponsesAssistantMessageItemParam",
"namespace": "OpenAI",
@@ -59119,17 +62610,27 @@
"discriminatorValue": "assistant",
"decorators": [],
"baseModel": {
- "$ref": "4742"
+ "$ref": "5034"
},
"properties": [
{
- "$id": "4755",
+ "$id": "5057",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `assistant`.",
"type": {
- "$ref": "655"
+ "$id": "5058",
+ "kind": "enumvalue",
+ "name": "assistant",
+ "value": "assistant",
+ "valueType": {
+ "$ref": "665"
+ },
+ "enumType": {
+ "$ref": "5041"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -59145,13 +62646,13 @@
"isHttpMetadata": false
},
{
- "$id": "4756",
+ "$id": "5059",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -59197,20 +62698,20 @@
"isHttpMetadata": false
},
{
- "$id": "4757",
+ "$id": "5060",
"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": "4758",
+ "$id": "5061",
"kind": "nullable",
"type": {
- "$id": "4759",
+ "$id": "5062",
"kind": "array",
"name": "ArrayIncludable",
"valueType": {
- "$ref": "656"
+ "$ref": "670"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -59231,16 +62732,16 @@
"isHttpMetadata": false
},
{
- "$id": "4760",
+ "$id": "5063",
"kind": "property",
"name": "parallel_tool_calls",
"serializedName": "parallel_tool_calls",
"doc": "Whether to allow the model to run tool calls in parallel.",
"type": {
- "$id": "4761",
+ "$id": "5064",
"kind": "nullable",
"type": {
- "$id": "4762",
+ "$id": "5065",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -59262,16 +62763,16 @@
"isHttpMetadata": false
},
{
- "$id": "4763",
+ "$id": "5066",
"kind": "property",
"name": "store",
"serializedName": "store",
"doc": "Whether to store the generated model response for later retrieval via\nAPI.",
"type": {
- "$id": "4764",
+ "$id": "5067",
"kind": "nullable",
"type": {
- "$id": "4765",
+ "$id": "5068",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -59293,16 +62794,16 @@
"isHttpMetadata": false
},
{
- "$id": "4766",
+ "$id": "5069",
"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": "4767",
+ "$id": "5070",
"kind": "nullable",
"type": {
- "$id": "4768",
+ "$id": "5071",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -59326,214 +62827,214 @@
]
},
{
- "$ref": "4379"
+ "$ref": "4561"
},
{
- "$ref": "4396"
+ "$ref": "4578"
},
{
- "$ref": "4401"
+ "$ref": "4583"
},
{
- "$ref": "4403"
+ "$ref": "4585"
},
{
- "$ref": "4405"
+ "$ref": "4597"
},
{
- "$ref": "4407"
+ "$ref": "4600"
},
{
- "$ref": "4409"
+ "$ref": "4603"
},
{
- "$ref": "4411"
+ "$ref": "4606"
},
{
- "$ref": "4413"
+ "$ref": "4609"
},
{
- "$ref": "4415"
+ "$ref": "4612"
},
{
- "$ref": "4426"
+ "$ref": "4624"
},
{
- "$ref": "4431"
+ "$ref": "4629"
},
{
- "$ref": "4433"
+ "$ref": "4631"
},
{
- "$ref": "4438"
+ "$ref": "4646"
},
{
- "$ref": "4444"
+ "$ref": "4653"
},
{
- "$ref": "4448"
+ "$ref": "4658"
},
{
- "$ref": "4452"
+ "$ref": "4663"
},
{
- "$ref": "4461"
+ "$ref": "4673"
},
{
- "$ref": "4470"
+ "$ref": "4683"
},
{
- "$ref": "4476"
+ "$ref": "4690"
},
{
- "$ref": "4478"
+ "$ref": "4692"
},
{
- "$ref": "4484"
+ "$ref": "4705"
},
{
- "$ref": "4494"
+ "$ref": "4716"
},
{
- "$ref": "4502"
+ "$ref": "4725"
},
{
- "$ref": "4510"
+ "$ref": "4733"
},
{
- "$ref": "4516"
+ "$ref": "4739"
},
{
- "$ref": "4518"
+ "$ref": "4741"
},
{
- "$ref": "4524"
+ "$ref": "4767"
},
{
- "$ref": "4534"
+ "$ref": "4777"
},
{
- "$ref": "4539"
+ "$ref": "4783"
},
{
- "$ref": "4541"
+ "$ref": "4785"
},
{
- "$ref": "4548"
+ "$ref": "4804"
},
{
- "$ref": "4554"
+ "$ref": "4811"
},
{
- "$ref": "4558"
+ "$ref": "4816"
},
{
- "$ref": "4563"
+ "$ref": "4821"
},
{
- "$ref": "4569"
+ "$ref": "4828"
},
{
- "$ref": "4571"
+ "$ref": "4831"
},
{
- "$ref": "4581"
+ "$ref": "4842"
},
{
- "$ref": "4585"
+ "$ref": "4847"
},
{
- "$ref": "4587"
+ "$ref": "4850"
},
{
- "$ref": "4592"
+ "$ref": "4856"
},
{
- "$ref": "4599"
+ "$ref": "4863"
},
{
- "$ref": "4605"
+ "$ref": "4870"
},
{
- "$ref": "4607"
+ "$ref": "4872"
},
{
- "$ref": "4613"
+ "$ref": "4882"
},
{
- "$ref": "4615"
+ "$ref": "4885"
},
{
- "$ref": "4623"
+ "$ref": "4894"
},
{
- "$ref": "4629"
+ "$ref": "4901"
},
{
- "$ref": "4636"
+ "$ref": "4909"
},
{
- "$ref": "4638"
+ "$ref": "4911"
},
{
- "$ref": "4642"
+ "$ref": "4919"
},
{
- "$ref": "4646"
+ "$ref": "4924"
},
{
- "$ref": "4651"
+ "$ref": "4930"
},
{
- "$ref": "4659"
+ "$ref": "4939"
},
{
- "$ref": "4661"
+ "$ref": "4941"
},
{
- "$ref": "4665"
+ "$ref": "4950"
},
{
- "$ref": "4669"
+ "$ref": "4955"
},
{
- "$ref": "4674"
+ "$ref": "4961"
},
{
- "$ref": "4687"
+ "$ref": "4974"
},
{
- "$ref": "4691"
+ "$ref": "4979"
},
{
- "$ref": "4697"
+ "$ref": "4986"
},
{
- "$ref": "4711"
+ "$ref": "5000"
},
{
- "$ref": "4719"
+ "$ref": "5009"
},
{
- "$ref": "4728"
+ "$ref": "5019"
},
{
- "$ref": "4742"
+ "$ref": "5034"
},
{
- "$ref": "4745"
+ "$ref": "5038"
},
{
- "$ref": "4748"
+ "$ref": "5048"
},
{
- "$ref": "4751"
+ "$ref": "5052"
},
{
- "$ref": "4754"
+ "$ref": "5056"
},
{
- "$id": "4769",
+ "$id": "5072",
"kind": "model",
"name": "Response",
"namespace": "OpenAI",
@@ -59542,13 +63043,13 @@
"decorators": [],
"properties": [
{
- "$id": "4770",
+ "$id": "5073",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -59564,16 +63065,16 @@
"isHttpMetadata": false
},
{
- "$id": "4771",
+ "$id": "5074",
"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": "4772",
+ "$id": "5075",
"kind": "nullable",
"type": {
- "$id": "4773",
+ "$id": "5076",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -59595,16 +63096,16 @@
"isHttpMetadata": false
},
{
- "$id": "4774",
+ "$id": "5077",
"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": "4775",
+ "$id": "5078",
"kind": "nullable",
"type": {
- "$id": "4776",
+ "$id": "5079",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -59626,16 +63127,16 @@
"isHttpMetadata": false
},
{
- "$id": "4777",
+ "$id": "5080",
"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": "4778",
+ "$id": "5081",
"kind": "nullable",
"type": {
- "$id": "4779",
+ "$id": "5082",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -59657,12 +63158,12 @@
"isHttpMetadata": false
},
{
- "$id": "4780",
+ "$id": "5083",
"kind": "property",
"name": "service_tier",
"serializedName": "service_tier",
"type": {
- "$ref": "482"
+ "$ref": "496"
},
"optional": true,
"readOnly": false,
@@ -59678,13 +63179,13 @@
"isHttpMetadata": false
},
{
- "$id": "4781",
+ "$id": "5084",
"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": "4374"
+ "$ref": "4556"
},
"optional": true,
"readOnly": false,
@@ -59700,13 +63201,13 @@
"isHttpMetadata": false
},
{
- "$id": "4782",
+ "$id": "5085",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI\noffers a wide range of models with different capabilities, performance\ncharacteristics, and price points. Refer to the [model guide](/docs/models)\nto browse and compare available models.",
"type": {
- "$ref": "488"
+ "$ref": "502"
},
"optional": true,
"readOnly": false,
@@ -59722,12 +63223,12 @@
"isHttpMetadata": false
},
{
- "$id": "4783",
+ "$id": "5086",
"kind": "property",
"name": "reasoning",
"serializedName": "reasoning",
"type": {
- "$ref": "4378"
+ "$ref": "4560"
},
"optional": true,
"readOnly": false,
@@ -59743,13 +63244,13 @@
"isHttpMetadata": false
},
{
- "$id": "4784",
+ "$id": "5087",
"kind": "property",
"name": "background",
"serializedName": "background",
"doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).",
"type": {
- "$ref": "4387"
+ "$ref": "4569"
},
"optional": true,
"readOnly": false,
@@ -59765,13 +63266,13 @@
"isHttpMetadata": false
},
{
- "$id": "4785",
+ "$id": "5088",
"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": "4390"
+ "$ref": "4572"
},
"optional": true,
"readOnly": false,
@@ -59787,13 +63288,13 @@
"isHttpMetadata": false
},
{
- "$id": "4786",
+ "$id": "5089",
"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": "4393"
+ "$ref": "4575"
},
"optional": true,
"readOnly": false,
@@ -59809,13 +63310,13 @@
"isHttpMetadata": false
},
{
- "$id": "4787",
+ "$id": "5090",
"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": "4396"
+ "$ref": "4578"
},
"optional": true,
"readOnly": false,
@@ -59831,13 +63332,13 @@
"isHttpMetadata": false
},
{
- "$id": "4788",
+ "$id": "5091",
"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": "4142"
+ "$ref": "4279"
},
"optional": true,
"readOnly": false,
@@ -59853,13 +63354,13 @@
"isHttpMetadata": false
},
{
- "$id": "4789",
+ "$id": "5092",
"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": "4400"
+ "$ref": "4582"
},
"optional": true,
"readOnly": false,
@@ -59875,13 +63376,13 @@
"isHttpMetadata": false
},
{
- "$id": "4790",
+ "$id": "5093",
"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": "4420"
+ "$ref": "4618"
},
"optional": true,
"readOnly": false,
@@ -59897,13 +63398,13 @@
"isHttpMetadata": false
},
{
- "$id": "4791",
+ "$id": "5094",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "Unique identifier for this Response.",
"type": {
- "$id": "4792",
+ "$id": "5095",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -59923,13 +63424,13 @@
"isHttpMetadata": false
},
{
- "$id": "4793",
+ "$id": "5096",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type of this resource - always set to `response`.",
"type": {
- "$ref": "1629"
+ "$ref": "1659"
},
"optional": false,
"readOnly": false,
@@ -59945,13 +63446,13 @@
"isHttpMetadata": false
},
{
- "$id": "4794",
+ "$id": "5097",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.",
"type": {
- "$ref": "663"
+ "$ref": "677"
},
"optional": true,
"readOnly": false,
@@ -59967,18 +63468,18 @@
"isHttpMetadata": false
},
{
- "$id": "4795",
+ "$id": "5098",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "Unix timestamp (in seconds) of when this Response was created.",
"type": {
- "$id": "4796",
+ "$id": "5099",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "4797",
+ "$id": "5100",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -60001,15 +63502,15 @@
"isHttpMetadata": false
},
{
- "$id": "4798",
+ "$id": "5101",
"kind": "property",
"name": "error",
"serializedName": "error",
"type": {
- "$id": "4799",
+ "$id": "5102",
"kind": "nullable",
"type": {
- "$id": "4800",
+ "$id": "5103",
"kind": "model",
"name": "ResponseError",
"namespace": "OpenAI",
@@ -60019,12 +63520,12 @@
"decorators": [],
"properties": [
{
- "$id": "4801",
+ "$id": "5104",
"kind": "property",
"name": "code",
"serializedName": "code",
"type": {
- "$ref": "671"
+ "$ref": "685"
},
"optional": false,
"readOnly": false,
@@ -60040,13 +63541,13 @@
"isHttpMetadata": false
},
{
- "$id": "4802",
+ "$id": "5105",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable description of the error.",
"type": {
- "$id": "4803",
+ "$id": "5106",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60083,16 +63584,16 @@
"isHttpMetadata": false
},
{
- "$id": "4804",
+ "$id": "5107",
"kind": "property",
"name": "incomplete_details",
"serializedName": "incomplete_details",
"doc": "Details about why the response is incomplete.",
"type": {
- "$id": "4805",
+ "$id": "5108",
"kind": "nullable",
"type": {
- "$id": "4806",
+ "$id": "5109",
"kind": "model",
"name": "ResponseIncompleteDetails1",
"namespace": "OpenAI",
@@ -60101,13 +63602,13 @@
"decorators": [],
"properties": [
{
- "$id": "4807",
+ "$id": "5110",
"kind": "property",
"name": "reason",
"serializedName": "reason",
"doc": "The reason why the response is incomplete.",
"type": {
- "$ref": "691"
+ "$ref": "705"
},
"optional": true,
"readOnly": false,
@@ -60140,17 +63641,17 @@
"isHttpMetadata": false
},
{
- "$id": "4808",
+ "$id": "5111",
"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": "4809",
+ "$id": "5112",
"kind": "array",
"name": "ArrayItemResource",
"valueType": {
- "$id": "4810",
+ "$id": "5113",
"kind": "model",
"name": "ItemResource",
"namespace": "OpenAI",
@@ -60159,12 +63660,12 @@
"doc": "Content item used to generate a response.",
"decorators": [],
"discriminatorProperty": {
- "$id": "4811",
+ "$id": "5114",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "603"
+ "$ref": "617"
},
"optional": false,
"readOnly": false,
@@ -60181,15 +63682,15 @@
},
"properties": [
{
- "$ref": "4811"
+ "$ref": "5114"
},
{
- "$id": "4812",
+ "$id": "5115",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "4813",
+ "$id": "5116",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60211,7 +63712,7 @@
],
"discriminatedSubtypes": {
"file_search_call": {
- "$id": "4814",
+ "$id": "5117",
"kind": "model",
"name": "FileSearchToolCallItemResource",
"namespace": "OpenAI",
@@ -60221,16 +63722,16 @@
"discriminatorValue": "file_search_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4815",
+ "$id": "5118",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "606"
+ "$ref": "4743"
},
"optional": false,
"readOnly": false,
@@ -60246,13 +63747,13 @@
"isHttpMetadata": false
},
{
- "$id": "4816",
+ "$id": "5119",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the file search tool call. One of `in_progress`, \n`searching`, `incomplete` or `failed`,",
"type": {
- "$ref": "695"
+ "$ref": "709"
},
"optional": false,
"readOnly": true,
@@ -60268,13 +63769,13 @@
"isHttpMetadata": false
},
{
- "$id": "4817",
+ "$id": "5120",
"kind": "property",
"name": "queries",
"serializedName": "queries",
"doc": "The queries used to search for files.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -60290,13 +63791,13 @@
"isHttpMetadata": false
},
{
- "$id": "4818",
+ "$id": "5121",
"kind": "property",
"name": "results",
"serializedName": "results",
"doc": "The results of the file search tool call.",
"type": {
- "$ref": "4522"
+ "$ref": "4765"
},
"optional": true,
"readOnly": false,
@@ -60314,7 +63815,7 @@
]
},
"computer_call": {
- "$id": "4819",
+ "$id": "5122",
"kind": "model",
"name": "ComputerToolCallItemResource",
"namespace": "OpenAI",
@@ -60324,16 +63825,16 @@
"discriminatorValue": "computer_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4820",
+ "$id": "5123",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "609"
+ "$ref": "4779"
},
"optional": false,
"readOnly": false,
@@ -60349,13 +63850,13 @@
"isHttpMetadata": false
},
{
- "$id": "4821",
+ "$id": "5124",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.",
"type": {
- "$ref": "702"
+ "$ref": "716"
},
"optional": false,
"readOnly": true,
@@ -60371,13 +63872,13 @@
"isHttpMetadata": false
},
{
- "$id": "4822",
+ "$id": "5125",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "An identifier used when responding to the tool call with output.",
"type": {
- "$id": "4823",
+ "$id": "5126",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60397,12 +63898,12 @@
"isHttpMetadata": false
},
{
- "$id": "4824",
+ "$id": "5127",
"kind": "property",
"name": "action",
"serializedName": "action",
"type": {
- "$ref": "4539"
+ "$ref": "4783"
},
"optional": false,
"readOnly": false,
@@ -60418,13 +63919,13 @@
"isHttpMetadata": false
},
{
- "$id": "4825",
+ "$id": "5128",
"kind": "property",
"name": "pending_safety_checks",
"serializedName": "pending_safety_checks",
"doc": "The pending safety checks for the computer call.",
"type": {
- "$ref": "4591"
+ "$ref": "4855"
},
"optional": false,
"readOnly": false,
@@ -60442,7 +63943,7 @@
]
},
"computer_call_output": {
- "$id": "4826",
+ "$id": "5129",
"kind": "model",
"name": "ComputerToolCallOutputItemResource",
"namespace": "OpenAI",
@@ -60452,16 +63953,16 @@
"discriminatorValue": "computer_call_output",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4827",
+ "$id": "5130",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "610"
+ "$ref": "4865"
},
"optional": false,
"readOnly": false,
@@ -60477,13 +63978,13 @@
"isHttpMetadata": false
},
{
- "$id": "4828",
+ "$id": "5131",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.",
"type": {
- "$ref": "707"
+ "$ref": "721"
},
"optional": false,
"readOnly": true,
@@ -60499,13 +64000,13 @@
"isHttpMetadata": false
},
{
- "$id": "4829",
+ "$id": "5132",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The ID of the computer tool call that produced the output.",
"type": {
- "$id": "4830",
+ "$id": "5133",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60525,13 +64026,13 @@
"isHttpMetadata": false
},
{
- "$id": "4831",
+ "$id": "5134",
"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": "4591"
+ "$ref": "4855"
},
"optional": true,
"readOnly": false,
@@ -60547,12 +64048,12 @@
"isHttpMetadata": false
},
{
- "$id": "4832",
+ "$id": "5135",
"kind": "property",
"name": "output",
"serializedName": "output",
"type": {
- "$ref": "4605"
+ "$ref": "4870"
},
"optional": false,
"readOnly": false,
@@ -60570,7 +64071,7 @@
]
},
"web_search_call": {
- "$id": "4833",
+ "$id": "5136",
"kind": "model",
"name": "WebSearchToolCallItemResource",
"namespace": "OpenAI",
@@ -60580,16 +64081,16 @@
"discriminatorValue": "web_search_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4834",
+ "$id": "5137",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "611"
+ "$ref": "4884"
},
"optional": false,
"readOnly": false,
@@ -60605,13 +64106,13 @@
"isHttpMetadata": false
},
{
- "$id": "4835",
+ "$id": "5138",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the web search tool call.",
"type": {
- "$ref": "712"
+ "$ref": "726"
},
"optional": false,
"readOnly": true,
@@ -60629,7 +64130,7 @@
]
},
"function_call": {
- "$id": "4836",
+ "$id": "5139",
"kind": "model",
"name": "FunctionToolCallItemResource",
"namespace": "OpenAI",
@@ -60639,16 +64140,16 @@
"discriminatorValue": "function_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4837",
+ "$id": "5140",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "607"
+ "$ref": "4887"
},
"optional": false,
"readOnly": false,
@@ -60664,13 +64165,13 @@
"isHttpMetadata": false
},
{
- "$id": "4838",
+ "$id": "5141",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.",
"type": {
- "$ref": "718"
+ "$ref": "732"
},
"optional": false,
"readOnly": true,
@@ -60686,13 +64187,13 @@
"isHttpMetadata": false
},
{
- "$id": "4839",
+ "$id": "5142",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The unique ID of the function tool call generated by the model.",
"type": {
- "$id": "4840",
+ "$id": "5143",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60712,13 +64213,13 @@
"isHttpMetadata": false
},
{
- "$id": "4841",
+ "$id": "5144",
"kind": "property",
"name": "FunctionName",
"serializedName": "name",
"doc": "The name of the function to run.",
"type": {
- "$id": "4842",
+ "$id": "5145",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60738,13 +64239,13 @@
"isHttpMetadata": false
},
{
- "$id": "4843",
+ "$id": "5146",
"kind": "property",
"name": "FunctionArguments",
"serializedName": "arguments",
"doc": "A JSON string of the arguments to pass to the function.",
"type": {
- "$id": "4844",
+ "$id": "5147",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -60766,7 +64267,7 @@
]
},
"function_call_output": {
- "$id": "4845",
+ "$id": "5148",
"kind": "model",
"name": "FunctionToolCallOutputItemResource",
"namespace": "OpenAI",
@@ -60776,16 +64277,16 @@
"discriminatorValue": "function_call_output",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4846",
+ "$id": "5149",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "608"
+ "$ref": "4896"
},
"optional": false,
"readOnly": false,
@@ -60801,13 +64302,13 @@
"isHttpMetadata": false
},
{
- "$id": "4847",
+ "$id": "5150",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.",
"type": {
- "$ref": "723"
+ "$ref": "737"
},
"optional": false,
"readOnly": true,
@@ -60823,13 +64324,13 @@
"isHttpMetadata": false
},
{
- "$id": "4848",
+ "$id": "5151",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The unique ID of the function tool call generated by the model.",
"type": {
- "$id": "4849",
+ "$id": "5152",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60849,13 +64350,13 @@
"isHttpMetadata": false
},
{
- "$id": "4850",
+ "$id": "5153",
"kind": "property",
"name": "FunctionOutput",
"serializedName": "output",
"doc": "A JSON string of the output of the function tool call.",
"type": {
- "$id": "4851",
+ "$id": "5154",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -60877,7 +64378,7 @@
]
},
"reasoning": {
- "$id": "4852",
+ "$id": "5155",
"kind": "model",
"name": "ReasoningItemResource",
"namespace": "OpenAI",
@@ -60887,16 +64388,16 @@
"discriminatorValue": "reasoning",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4853",
+ "$id": "5156",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "612"
+ "$ref": "4903"
},
"optional": false,
"readOnly": false,
@@ -60912,13 +64413,13 @@
"isHttpMetadata": false
},
{
- "$id": "4854",
+ "$id": "5157",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.",
"type": {
- "$ref": "728"
+ "$ref": "742"
},
"optional": false,
"readOnly": true,
@@ -60934,13 +64435,13 @@
"isHttpMetadata": false
},
{
- "$id": "4855",
+ "$id": "5158",
"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": "4632"
+ "$ref": "4905"
},
"optional": true,
"readOnly": false,
@@ -60956,13 +64457,13 @@
"isHttpMetadata": false
},
{
- "$id": "4856",
+ "$id": "5159",
"kind": "property",
"name": "SummaryParts",
"serializedName": "summary",
"doc": "Reasoning text contents.",
"type": {
- "$ref": "4635"
+ "$ref": "4908"
},
"optional": false,
"readOnly": false,
@@ -60980,7 +64481,7 @@
]
},
"image_generation_call": {
- "$id": "4857",
+ "$id": "5160",
"kind": "model",
"name": "ImageGenToolCallItemResource",
"namespace": "OpenAI",
@@ -60990,16 +64491,16 @@
"discriminatorValue": "image_generation_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4858",
+ "$id": "5161",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "614"
+ "$ref": "4926"
},
"optional": false,
"readOnly": false,
@@ -61015,12 +64516,12 @@
"isHttpMetadata": false
},
{
- "$id": "4859",
+ "$id": "5162",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "733"
+ "$ref": "747"
},
"optional": false,
"readOnly": true,
@@ -61036,13 +64537,13 @@
"isHttpMetadata": false
},
{
- "$id": "4860",
+ "$id": "5163",
"kind": "property",
"name": "GeneratedImageBytes",
"serializedName": "result",
"doc": "The generated image encoded in base64.",
"type": {
- "$ref": "4649"
+ "$ref": "4928"
},
"optional": false,
"readOnly": false,
@@ -61060,7 +64561,7 @@
]
},
"code_interpreter_call": {
- "$id": "4861",
+ "$id": "5164",
"kind": "model",
"name": "CodeInterpreterToolCallItemResource",
"namespace": "OpenAI",
@@ -61070,16 +64571,16 @@
"discriminatorValue": "code_interpreter_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4862",
+ "$id": "5165",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "615"
+ "$ref": "4932"
},
"optional": false,
"readOnly": false,
@@ -61095,12 +64596,12 @@
"isHttpMetadata": false
},
{
- "$id": "4863",
+ "$id": "5166",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "739"
+ "$ref": "753"
},
"optional": false,
"readOnly": true,
@@ -61116,13 +64617,13 @@
"isHttpMetadata": false
},
{
- "$id": "4864",
+ "$id": "5167",
"kind": "property",
"name": "container_id",
"serializedName": "container_id",
"doc": "The ID of the container used to run the code.",
"type": {
- "$id": "4865",
+ "$id": "5168",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61142,13 +64643,13 @@
"isHttpMetadata": false
},
{
- "$id": "4866",
+ "$id": "5169",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "The code to run.",
"type": {
- "$id": "4867",
+ "$id": "5170",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61168,13 +64669,13 @@
"isHttpMetadata": false
},
{
- "$id": "4868",
+ "$id": "5171",
"kind": "property",
"name": "outputs",
"serializedName": "outputs",
"doc": "The outputs of the code interpreter tool call.",
"type": {
- "$ref": "4658"
+ "$ref": "4938"
},
"optional": true,
"readOnly": false,
@@ -61192,7 +64693,7 @@
]
},
"local_shell_call": {
- "$id": "4869",
+ "$id": "5172",
"kind": "model",
"name": "LocalShellToolCallItemResource",
"namespace": "OpenAI",
@@ -61202,16 +64703,16 @@
"discriminatorValue": "local_shell_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4870",
+ "$id": "5173",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "616"
+ "$ref": "4957"
},
"optional": false,
"readOnly": false,
@@ -61227,12 +64728,12 @@
"isHttpMetadata": false
},
{
- "$id": "4871",
+ "$id": "5174",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "744"
+ "$ref": "758"
},
"optional": false,
"readOnly": false,
@@ -61248,13 +64749,13 @@
"isHttpMetadata": false
},
{
- "$id": "4872",
+ "$id": "5175",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The unique ID of the local shell tool call generated by the model.",
"type": {
- "$id": "4873",
+ "$id": "5176",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61274,12 +64775,12 @@
"isHttpMetadata": false
},
{
- "$id": "4874",
+ "$id": "5177",
"kind": "property",
"name": "action",
"serializedName": "action",
"type": {
- "$ref": "4674"
+ "$ref": "4961"
},
"optional": false,
"readOnly": false,
@@ -61297,7 +64798,7 @@
]
},
"local_shell_call_output": {
- "$id": "4875",
+ "$id": "5178",
"kind": "model",
"name": "LocalShellToolCallOutputItemResource",
"namespace": "OpenAI",
@@ -61307,16 +64808,16 @@
"discriminatorValue": "local_shell_call_output",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4876",
+ "$id": "5179",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "617"
+ "$ref": "4976"
},
"optional": false,
"readOnly": false,
@@ -61332,12 +64833,12 @@
"isHttpMetadata": false
},
{
- "$id": "4877",
+ "$id": "5180",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "749"
+ "$ref": "763"
},
"optional": false,
"readOnly": false,
@@ -61353,13 +64854,13 @@
"isHttpMetadata": false
},
{
- "$id": "4878",
+ "$id": "5181",
"kind": "property",
"name": "output",
"serializedName": "output",
"doc": "A JSON string of the output of the local shell tool call.",
"type": {
- "$id": "4879",
+ "$id": "5182",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61381,7 +64882,7 @@
]
},
"mcp_list_tools": {
- "$id": "4880",
+ "$id": "5183",
"kind": "model",
"name": "MCPListToolsItemResource",
"namespace": "OpenAI",
@@ -61391,16 +64892,16 @@
"discriminatorValue": "mcp_list_tools",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4881",
+ "$id": "5184",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "618"
+ "$ref": "4981"
},
"optional": false,
"readOnly": false,
@@ -61416,13 +64917,13 @@
"isHttpMetadata": false
},
{
- "$id": "4882",
+ "$id": "5185",
"kind": "property",
"name": "server_label",
"serializedName": "server_label",
"doc": "The label of the MCP server.",
"type": {
- "$id": "4883",
+ "$id": "5186",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61442,13 +64943,13 @@
"isHttpMetadata": false
},
{
- "$id": "4884",
+ "$id": "5187",
"kind": "property",
"name": "ToolDefinitions",
"serializedName": "tools",
"doc": "The tools available on the server.",
"type": {
- "$ref": "4696"
+ "$ref": "4985"
},
"optional": false,
"readOnly": false,
@@ -61464,16 +64965,16 @@
"isHttpMetadata": false
},
{
- "$id": "4885",
+ "$id": "5188",
"kind": "property",
"name": "error",
"serializedName": "error",
"doc": "Error message if the server could not list tools.",
"type": {
- "$id": "4886",
+ "$id": "5189",
"kind": "nullable",
"type": {
- "$id": "4887",
+ "$id": "5190",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -61497,7 +64998,7 @@
]
},
"mcp_approval_request": {
- "$id": "4888",
+ "$id": "5191",
"kind": "model",
"name": "MCPApprovalRequestItemResource",
"namespace": "OpenAI",
@@ -61507,16 +65008,16 @@
"discriminatorValue": "mcp_approval_request",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4889",
+ "$id": "5192",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "619"
+ "$ref": "5002"
},
"optional": false,
"readOnly": false,
@@ -61532,13 +65033,13 @@
"isHttpMetadata": false
},
{
- "$id": "4890",
+ "$id": "5193",
"kind": "property",
"name": "server_label",
"serializedName": "server_label",
"doc": "The label of the MCP server making the request.",
"type": {
- "$id": "4891",
+ "$id": "5194",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61558,13 +65059,13 @@
"isHttpMetadata": false
},
{
- "$id": "4892",
+ "$id": "5195",
"kind": "property",
"name": "ToolName",
"serializedName": "name",
"doc": "The name of the tool to run.",
"type": {
- "$id": "4893",
+ "$id": "5196",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61584,13 +65085,13 @@
"isHttpMetadata": false
},
{
- "$id": "4894",
+ "$id": "5197",
"kind": "property",
"name": "ToolArguments",
"serializedName": "arguments",
"doc": "A JSON string of arguments for the tool.",
"type": {
- "$id": "4895",
+ "$id": "5198",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -61612,7 +65113,7 @@
]
},
"mcp_approval_response": {
- "$id": "4896",
+ "$id": "5199",
"kind": "model",
"name": "MCPApprovalResponseItemResource",
"namespace": "OpenAI",
@@ -61622,16 +65123,16 @@
"discriminatorValue": "mcp_approval_response",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4897",
+ "$id": "5200",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "620"
+ "$ref": "5011"
},
"optional": false,
"readOnly": false,
@@ -61647,13 +65148,13 @@
"isHttpMetadata": false
},
{
- "$id": "4898",
+ "$id": "5201",
"kind": "property",
"name": "approval_request_id",
"serializedName": "approval_request_id",
"doc": "The ID of the approval request being answered.",
"type": {
- "$id": "4899",
+ "$id": "5202",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61673,13 +65174,13 @@
"isHttpMetadata": false
},
{
- "$id": "4900",
+ "$id": "5203",
"kind": "property",
"name": "Approved",
"serializedName": "approve",
"doc": "Whether the request was approved.",
"type": {
- "$id": "4901",
+ "$id": "5204",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -61699,13 +65200,13 @@
"isHttpMetadata": false
},
{
- "$id": "4902",
+ "$id": "5205",
"kind": "property",
"name": "reason",
"serializedName": "reason",
"doc": "Optional reason for the decision.",
"type": {
- "$ref": "4726"
+ "$ref": "5017"
},
"optional": true,
"readOnly": false,
@@ -61723,7 +65224,7 @@
]
},
"mcp_call": {
- "$id": "4903",
+ "$id": "5206",
"kind": "model",
"name": "MCPCallItemResource",
"namespace": "OpenAI",
@@ -61733,16 +65234,16 @@
"discriminatorValue": "mcp_call",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4904",
+ "$id": "5207",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "621"
+ "$ref": "5021"
},
"optional": false,
"readOnly": false,
@@ -61758,13 +65259,13 @@
"isHttpMetadata": false
},
{
- "$id": "4905",
+ "$id": "5208",
"kind": "property",
"name": "server_label",
"serializedName": "server_label",
"doc": "The label of the MCP server running the tool.",
"type": {
- "$id": "4906",
+ "$id": "5209",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61784,13 +65285,13 @@
"isHttpMetadata": false
},
{
- "$id": "4907",
+ "$id": "5210",
"kind": "property",
"name": "ToolName",
"serializedName": "name",
"doc": "The name of the tool that was run.",
"type": {
- "$id": "4908",
+ "$id": "5211",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -61810,13 +65311,13 @@
"isHttpMetadata": false
},
{
- "$id": "4909",
+ "$id": "5212",
"kind": "property",
"name": "ToolArguments",
"serializedName": "arguments",
"doc": "A JSON string of the arguments passed to the tool.",
"type": {
- "$id": "4910",
+ "$id": "5213",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -61836,13 +65337,13 @@
"isHttpMetadata": false
},
{
- "$id": "4911",
+ "$id": "5214",
"kind": "property",
"name": "ToolOutput",
"serializedName": "output",
"doc": "The output from the tool call.",
"type": {
- "$ref": "4737"
+ "$ref": "5029"
},
"optional": true,
"readOnly": false,
@@ -61858,16 +65359,16 @@
"isHttpMetadata": false
},
{
- "$id": "4912",
+ "$id": "5215",
"kind": "property",
"name": "error",
"serializedName": "error",
"doc": "The error from the tool call, if any.",
"type": {
- "$id": "4913",
+ "$id": "5216",
"kind": "nullable",
"type": {
- "$id": "4914",
+ "$id": "5217",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -61891,7 +65392,7 @@
]
},
"message": {
- "$id": "4915",
+ "$id": "5218",
"kind": "model",
"name": "ResponsesMessageItemResource",
"namespace": "OpenAI",
@@ -61901,13 +65402,13 @@
"discriminatorValue": "message",
"decorators": [],
"discriminatorProperty": {
- "$id": "4916",
+ "$id": "5219",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role associated with the message.",
"type": {
- "$ref": "650"
+ "$ref": "664"
},
"optional": false,
"readOnly": false,
@@ -61923,17 +65424,17 @@
"isHttpMetadata": false
},
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4917",
+ "$id": "5220",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the responses item, which is always 'message'.",
"type": {
- "$ref": "605"
+ "$ref": "5037"
},
"optional": false,
"readOnly": false,
@@ -61949,13 +65450,13 @@
"isHttpMetadata": false
},
{
- "$id": "4918",
+ "$id": "5221",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.",
"type": {
- "$ref": "754"
+ "$ref": "768"
},
"optional": false,
"readOnly": true,
@@ -61971,12 +65472,12 @@
"isHttpMetadata": false
},
{
- "$ref": "4916"
+ "$ref": "5219"
}
],
"discriminatedSubtypes": {
"user": {
- "$id": "4919",
+ "$id": "5222",
"kind": "model",
"name": "ResponsesUserMessageItemResource",
"namespace": "OpenAI",
@@ -61986,17 +65487,17 @@
"discriminatorValue": "user",
"decorators": [],
"baseModel": {
- "$ref": "4915"
+ "$ref": "5218"
},
"properties": [
{
- "$id": "4920",
+ "$id": "5223",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `user`.",
"type": {
- "$ref": "654"
+ "$ref": "5040"
},
"optional": false,
"readOnly": false,
@@ -62012,13 +65513,13 @@
"isHttpMetadata": false
},
{
- "$id": "4921",
+ "$id": "5224",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -62036,7 +65537,7 @@
]
},
"system": {
- "$id": "4922",
+ "$id": "5225",
"kind": "model",
"name": "ResponsesSystemMessageItemResource",
"namespace": "OpenAI",
@@ -62046,17 +65547,17 @@
"discriminatorValue": "system",
"decorators": [],
"baseModel": {
- "$ref": "4915"
+ "$ref": "5218"
},
"properties": [
{
- "$id": "4923",
+ "$id": "5226",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `system`.",
"type": {
- "$ref": "652"
+ "$ref": "5050"
},
"optional": false,
"readOnly": false,
@@ -62072,13 +65573,13 @@
"isHttpMetadata": false
},
{
- "$id": "4924",
+ "$id": "5227",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -62096,7 +65597,7 @@
]
},
"developer": {
- "$id": "4925",
+ "$id": "5228",
"kind": "model",
"name": "ResponsesDeveloperMessageItemResource",
"namespace": "OpenAI",
@@ -62106,17 +65607,17 @@
"discriminatorValue": "developer",
"decorators": [],
"baseModel": {
- "$ref": "4915"
+ "$ref": "5218"
},
"properties": [
{
- "$id": "4926",
+ "$id": "5229",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `developer`.",
"type": {
- "$ref": "653"
+ "$ref": "5054"
},
"optional": false,
"readOnly": false,
@@ -62132,13 +65633,13 @@
"isHttpMetadata": false
},
{
- "$id": "4927",
+ "$id": "5230",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -62156,7 +65657,7 @@
]
},
"assistant": {
- "$id": "4928",
+ "$id": "5231",
"kind": "model",
"name": "ResponsesAssistantMessageItemResource",
"namespace": "OpenAI",
@@ -62166,17 +65667,17 @@
"discriminatorValue": "assistant",
"decorators": [],
"baseModel": {
- "$ref": "4915"
+ "$ref": "5218"
},
"properties": [
{
- "$id": "4929",
+ "$id": "5232",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the message, which is always `assistant`.",
"type": {
- "$ref": "655"
+ "$ref": "5058"
},
"optional": false,
"readOnly": false,
@@ -62192,13 +65693,13 @@
"isHttpMetadata": false
},
{
- "$id": "4930",
+ "$id": "5233",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content associated with the message.",
"type": {
- "$ref": "4430"
+ "$ref": "4628"
},
"optional": false,
"readOnly": false,
@@ -62218,7 +65719,7 @@
}
},
"item_reference": {
- "$id": "4931",
+ "$id": "5234",
"kind": "model",
"name": "DotNetItemReferenceItemResource",
"namespace": "OpenAI",
@@ -62228,16 +65729,16 @@
"discriminatorValue": "item_reference",
"decorators": [],
"baseModel": {
- "$ref": "4810"
+ "$ref": "5113"
},
"properties": [
{
- "$id": "4932",
+ "$id": "5235",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "613"
+ "$ref": "4921"
},
"optional": false,
"readOnly": false,
@@ -62273,16 +65774,16 @@
"isHttpMetadata": false
},
{
- "$id": "4933",
+ "$id": "5236",
"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": "4934",
+ "$id": "5237",
"kind": "nullable",
"type": {
- "$id": "4935",
+ "$id": "5238",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -62304,12 +65805,12 @@
"isHttpMetadata": false
},
{
- "$id": "4936",
+ "$id": "5239",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"type": {
- "$id": "4937",
+ "$id": "5240",
"kind": "model",
"name": "ResponseUsage",
"namespace": "OpenAI",
@@ -62319,13 +65820,13 @@
"decorators": [],
"properties": [
{
- "$id": "4938",
+ "$id": "5241",
"kind": "property",
"name": "input_tokens",
"serializedName": "input_tokens",
"doc": "The number of input tokens.",
"type": {
- "$id": "4939",
+ "$id": "5242",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62345,13 +65846,13 @@
"isHttpMetadata": false
},
{
- "$id": "4940",
+ "$id": "5243",
"kind": "property",
"name": "input_tokens_details",
"serializedName": "input_tokens_details",
"doc": "A detailed breakdown of the input tokens.",
"type": {
- "$id": "4941",
+ "$id": "5244",
"kind": "model",
"name": "ResponseUsageInputTokensDetails",
"namespace": "OpenAI",
@@ -62360,13 +65861,13 @@
"decorators": [],
"properties": [
{
- "$id": "4942",
+ "$id": "5245",
"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": "4943",
+ "$id": "5246",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62401,13 +65902,13 @@
"isHttpMetadata": false
},
{
- "$id": "4944",
+ "$id": "5247",
"kind": "property",
"name": "output_tokens",
"serializedName": "output_tokens",
"doc": "The number of output tokens.",
"type": {
- "$id": "4945",
+ "$id": "5248",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62427,13 +65928,13 @@
"isHttpMetadata": false
},
{
- "$id": "4946",
+ "$id": "5249",
"kind": "property",
"name": "output_tokens_details",
"serializedName": "output_tokens_details",
"doc": "A detailed breakdown of the output tokens.",
"type": {
- "$id": "4947",
+ "$id": "5250",
"kind": "model",
"name": "ResponseUsageOutputTokensDetails",
"namespace": "OpenAI",
@@ -62442,13 +65943,13 @@
"decorators": [],
"properties": [
{
- "$id": "4948",
+ "$id": "5251",
"kind": "property",
"name": "reasoning_tokens",
"serializedName": "reasoning_tokens",
"doc": "The number of reasoning tokens.",
"type": {
- "$id": "4949",
+ "$id": "5252",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62483,13 +65984,13 @@
"isHttpMetadata": false
},
{
- "$id": "4950",
+ "$id": "5253",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "The total number of tokens used.",
"type": {
- "$id": "4951",
+ "$id": "5254",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62524,13 +66025,13 @@
"isHttpMetadata": false
},
{
- "$id": "4952",
+ "$id": "5255",
"kind": "property",
"name": "parallel_tool_calls",
"serializedName": "parallel_tool_calls",
"doc": "Whether to allow the model to run tool calls in parallel.",
"type": {
- "$id": "4953",
+ "$id": "5256",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -62552,88 +66053,88 @@
]
},
{
- "$ref": "4800"
+ "$ref": "5103"
},
{
- "$ref": "4806"
+ "$ref": "5109"
},
{
- "$ref": "4810"
+ "$ref": "5113"
},
{
- "$ref": "4814"
+ "$ref": "5117"
},
{
- "$ref": "4819"
+ "$ref": "5122"
},
{
- "$ref": "4826"
+ "$ref": "5129"
},
{
- "$ref": "4833"
+ "$ref": "5136"
},
{
- "$ref": "4836"
+ "$ref": "5139"
},
{
- "$ref": "4845"
+ "$ref": "5148"
},
{
- "$ref": "4852"
+ "$ref": "5155"
},
{
- "$ref": "4857"
+ "$ref": "5160"
},
{
- "$ref": "4861"
+ "$ref": "5164"
},
{
- "$ref": "4869"
+ "$ref": "5172"
},
{
- "$ref": "4875"
+ "$ref": "5178"
},
{
- "$ref": "4880"
+ "$ref": "5183"
},
{
- "$ref": "4888"
+ "$ref": "5191"
},
{
- "$ref": "4896"
+ "$ref": "5199"
},
{
- "$ref": "4903"
+ "$ref": "5206"
},
{
- "$ref": "4915"
+ "$ref": "5218"
},
{
- "$ref": "4919"
+ "$ref": "5222"
},
{
- "$ref": "4922"
+ "$ref": "5225"
},
{
- "$ref": "4925"
+ "$ref": "5228"
},
{
- "$ref": "4928"
+ "$ref": "5231"
},
{
- "$ref": "4931"
+ "$ref": "5234"
},
{
- "$ref": "4937"
+ "$ref": "5240"
},
{
- "$ref": "4941"
+ "$ref": "5244"
},
{
- "$ref": "4947"
+ "$ref": "5250"
},
{
- "$id": "4954",
+ "$id": "5257",
"kind": "model",
"name": "ResponseStreamEvent",
"namespace": "OpenAI",
@@ -62641,11 +66142,11 @@
"usage": "Output",
"decorators": [],
"discriminatorProperty": {
- "$id": "4955",
+ "$id": "5258",
"kind": "property",
"name": "type",
"type": {
- "$ref": "759"
+ "$ref": "773"
},
"optional": false,
"readOnly": false,
@@ -62658,15 +66159,15 @@
},
"properties": [
{
- "$ref": "4955"
+ "$ref": "5258"
},
{
- "$id": "4956",
+ "$id": "5259",
"kind": "property",
"name": "sequence_number",
"doc": "The sequence number for this event.",
"type": {
- "$id": "4957",
+ "$id": "5260",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62684,7 +66185,7 @@
],
"discriminatedSubtypes": {
"response.completed": {
- "$id": "4958",
+ "$id": "5261",
"kind": "model",
"name": "ResponseCompletedEvent",
"namespace": "OpenAI",
@@ -62694,16 +66195,738 @@
"discriminatorValue": "response.completed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "4959",
+ "$id": "5262",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.completed`.",
"type": {
- "$ref": "770"
+ "$id": "5263",
+ "kind": "enumvalue",
+ "name": "response_completed",
+ "value": "response.completed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$id": "5264",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ResponseStreamEventType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "5265",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "5266",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_delta",
+ "value": "response.audio.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5267",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_done",
+ "value": "response.audio.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5268",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_transcript_delta",
+ "value": "response.audio_transcript.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5269",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_transcript_done",
+ "value": "response.audio_transcript.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5270",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_code_interpreter_call_code_delta",
+ "value": "response.code_interpreter_call_code.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5271",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_code_interpreter_call_code_done",
+ "value": "response.code_interpreter_call_code.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5272",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_code_interpreter_call_completed",
+ "value": "response.code_interpreter_call.completed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5273",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_code_interpreter_call_in_progress",
+ "value": "response.code_interpreter_call.in_progress",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5274",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_code_interpreter_call_interpreting",
+ "value": "response.code_interpreter_call.interpreting",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5275",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_completed",
+ "value": "response.completed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5276",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_content_part_added",
+ "value": "response.content_part.added",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5277",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_content_part_done",
+ "value": "response.content_part.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5278",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_created",
+ "value": "response.created",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5279",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "error",
+ "value": "error",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5280",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_file_search_call_completed",
+ "value": "response.file_search_call.completed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5281",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_file_search_call_in_progress",
+ "value": "response.file_search_call.in_progress",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5282",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_file_search_call_searching",
+ "value": "response.file_search_call.searching",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5283",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_function_call_arguments_delta",
+ "value": "response.function_call_arguments.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5284",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_function_call_arguments_done",
+ "value": "response.function_call_arguments.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5285",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_in_progress",
+ "value": "response.in_progress",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5286",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_failed",
+ "value": "response.failed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5287",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_incomplete",
+ "value": "response.incomplete",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5288",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_output_item_added",
+ "value": "response.output_item.added",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5289",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_output_item_done",
+ "value": "response.output_item.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5290",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_refusal_delta",
+ "value": "response.refusal.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5291",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_refusal_done",
+ "value": "response.refusal.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5292",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_output_text_annotation_added",
+ "value": "response.output_text.annotation.added",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5293",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_output_text_delta",
+ "value": "response.output_text.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5294",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_output_text_done",
+ "value": "response.output_text.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5295",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_summary_part_added",
+ "value": "response.reasoning_summary_part.added",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5296",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_summary_part_done",
+ "value": "response.reasoning_summary_part.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5297",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_summary_text_delta",
+ "value": "response.reasoning_summary_text.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5298",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_summary_text_done",
+ "value": "response.reasoning_summary_text.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5299",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_web_search_call_completed",
+ "value": "response.web_search_call.completed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5300",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_web_search_call_in_progress",
+ "value": "response.web_search_call.in_progress",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5301",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_web_search_call_searching",
+ "value": "response.web_search_call.searching",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5302",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_image_generation_call_completed",
+ "value": "response.image_generation_call.completed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5303",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_image_generation_call_generating",
+ "value": "response.image_generation_call.generating",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5304",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_image_generation_call_in_progress",
+ "value": "response.image_generation_call.in_progress",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5305",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_image_generation_call_partial_image",
+ "value": "response.image_generation_call.partial_image",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5306",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_call_arguments_delta",
+ "value": "response.mcp_call_arguments.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5307",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_call_arguments_done",
+ "value": "response.mcp_call_arguments.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5308",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_call_completed",
+ "value": "response.mcp_call.completed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5309",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_call_failed",
+ "value": "response.mcp_call.failed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5310",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_call_in_progress",
+ "value": "response.mcp_call.in_progress",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5311",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_list_tools_completed",
+ "value": "response.mcp_list_tools.completed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5312",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_list_tools_failed",
+ "value": "response.mcp_list_tools.failed",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5313",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_mcp_list_tools_in_progress",
+ "value": "response.mcp_list_tools.in_progress",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5314",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_queued",
+ "value": "response.queued",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5315",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_delta",
+ "value": "response.reasoning.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5316",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_done",
+ "value": "response.reasoning.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5317",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_summary_delta",
+ "value": "response.reasoning_summary.delta",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ },
+ {
+ "$id": "5318",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_reasoning_summary_done",
+ "value": "response.reasoning_summary.done",
+ "valueType": {
+ "$ref": "5265"
+ },
+ "enumType": {
+ "$ref": "5264"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ResponseStreamEventType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -62715,12 +66938,12 @@
"isHttpMetadata": false
},
{
- "$id": "4960",
+ "$id": "5319",
"kind": "property",
"name": "response",
"doc": "Properties of the completed response.",
"type": {
- "$ref": "4769"
+ "$ref": "5072"
},
"optional": false,
"readOnly": false,
@@ -62734,7 +66957,7 @@
]
},
"response.content_part.added": {
- "$id": "4961",
+ "$id": "5320",
"kind": "model",
"name": "ResponseContentPartAddedEvent",
"namespace": "OpenAI",
@@ -62744,16 +66967,26 @@
"discriminatorValue": "response.content_part.added",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "4962",
+ "$id": "5321",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.content_part.added`.",
"type": {
- "$ref": "771"
+ "$id": "5322",
+ "kind": "enumvalue",
+ "name": "response_content_part_added",
+ "value": "response.content_part.added",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -62765,12 +66998,12 @@
"isHttpMetadata": false
},
{
- "$id": "4963",
+ "$id": "5323",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the content part was added to.",
"type": {
- "$id": "4964",
+ "$id": "5324",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -62786,12 +67019,12 @@
"isHttpMetadata": false
},
{
- "$id": "4965",
+ "$id": "5325",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the content part was added to.",
"type": {
- "$id": "4966",
+ "$id": "5326",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62807,12 +67040,12 @@
"isHttpMetadata": false
},
{
- "$id": "4967",
+ "$id": "5327",
"kind": "property",
"name": "content_index",
"doc": "The index of the content part that was added.",
"type": {
- "$id": "4968",
+ "$id": "5328",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62828,12 +67061,12 @@
"isHttpMetadata": false
},
{
- "$id": "4969",
+ "$id": "5329",
"kind": "property",
"name": "part",
"doc": "The content part that was added.",
"type": {
- "$ref": "4431"
+ "$ref": "4629"
},
"optional": false,
"readOnly": false,
@@ -62847,7 +67080,7 @@
]
},
"response.content_part.done": {
- "$id": "4970",
+ "$id": "5330",
"kind": "model",
"name": "ResponseContentPartDoneEvent",
"namespace": "OpenAI",
@@ -62857,16 +67090,26 @@
"discriminatorValue": "response.content_part.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "4971",
+ "$id": "5331",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.content_part.done`.",
"type": {
- "$ref": "772"
+ "$id": "5332",
+ "kind": "enumvalue",
+ "name": "response_content_part_done",
+ "value": "response.content_part.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -62878,12 +67121,12 @@
"isHttpMetadata": false
},
{
- "$id": "4972",
+ "$id": "5333",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the content part was added to.",
"type": {
- "$id": "4973",
+ "$id": "5334",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -62899,12 +67142,12 @@
"isHttpMetadata": false
},
{
- "$id": "4974",
+ "$id": "5335",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the content part was added to.",
"type": {
- "$id": "4975",
+ "$id": "5336",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62920,12 +67163,12 @@
"isHttpMetadata": false
},
{
- "$id": "4976",
+ "$id": "5337",
"kind": "property",
"name": "content_index",
"doc": "The index of the content part that is done.",
"type": {
- "$id": "4977",
+ "$id": "5338",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -62941,12 +67184,12 @@
"isHttpMetadata": false
},
{
- "$id": "4978",
+ "$id": "5339",
"kind": "property",
"name": "part",
"doc": "The content part that is done.",
"type": {
- "$ref": "4431"
+ "$ref": "4629"
},
"optional": false,
"readOnly": false,
@@ -62960,7 +67203,7 @@
]
},
"response.created": {
- "$id": "4979",
+ "$id": "5340",
"kind": "model",
"name": "ResponseCreatedEvent",
"namespace": "OpenAI",
@@ -62970,16 +67213,26 @@
"discriminatorValue": "response.created",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "4980",
+ "$id": "5341",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.created`.",
"type": {
- "$ref": "773"
+ "$id": "5342",
+ "kind": "enumvalue",
+ "name": "response_created",
+ "value": "response.created",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -62991,12 +67244,12 @@
"isHttpMetadata": false
},
{
- "$id": "4981",
+ "$id": "5343",
"kind": "property",
"name": "response",
"doc": "The response that was created.",
"type": {
- "$ref": "4769"
+ "$ref": "5072"
},
"optional": false,
"readOnly": false,
@@ -63010,7 +67263,7 @@
]
},
"error": {
- "$id": "4982",
+ "$id": "5344",
"kind": "model",
"name": "ResponseErrorEvent",
"namespace": "OpenAI",
@@ -63020,16 +67273,26 @@
"discriminatorValue": "error",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "4983",
+ "$id": "5345",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `error`.",
"type": {
- "$ref": "774"
+ "$id": "5346",
+ "kind": "enumvalue",
+ "name": "error",
+ "value": "error",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63041,15 +67304,15 @@
"isHttpMetadata": false
},
{
- "$id": "4984",
+ "$id": "5347",
"kind": "property",
"name": "code",
"doc": "The error code.",
"type": {
- "$id": "4985",
+ "$id": "5348",
"kind": "nullable",
"type": {
- "$id": "4986",
+ "$id": "5349",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63067,12 +67330,12 @@
"isHttpMetadata": false
},
{
- "$id": "4987",
+ "$id": "5350",
"kind": "property",
"name": "message",
"doc": "The error message.",
"type": {
- "$id": "4988",
+ "$id": "5351",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63088,15 +67351,15 @@
"isHttpMetadata": false
},
{
- "$id": "4989",
+ "$id": "5352",
"kind": "property",
"name": "param",
"doc": "The error parameter.",
"type": {
- "$id": "4990",
+ "$id": "5353",
"kind": "nullable",
"type": {
- "$id": "4991",
+ "$id": "5354",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63116,7 +67379,7 @@
]
},
"response.file_search_call.completed": {
- "$id": "4992",
+ "$id": "5355",
"kind": "model",
"name": "ResponseFileSearchCallCompletedEvent",
"namespace": "OpenAI",
@@ -63126,16 +67389,26 @@
"discriminatorValue": "response.file_search_call.completed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "4993",
+ "$id": "5356",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.file_search_call.completed`.",
"type": {
- "$ref": "775"
+ "$id": "5357",
+ "kind": "enumvalue",
+ "name": "response_file_search_call_completed",
+ "value": "response.file_search_call.completed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63147,12 +67420,12 @@
"isHttpMetadata": false
},
{
- "$id": "4994",
+ "$id": "5358",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the file search call is initiated.",
"type": {
- "$id": "4995",
+ "$id": "5359",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63168,12 +67441,12 @@
"isHttpMetadata": false
},
{
- "$id": "4996",
+ "$id": "5360",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the file search call is initiated.",
"type": {
- "$id": "4997",
+ "$id": "5361",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63191,7 +67464,7 @@
]
},
"response.file_search_call.in_progress": {
- "$id": "4998",
+ "$id": "5362",
"kind": "model",
"name": "ResponseFileSearchCallInProgressEvent",
"namespace": "OpenAI",
@@ -63201,16 +67474,26 @@
"discriminatorValue": "response.file_search_call.in_progress",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "4999",
+ "$id": "5363",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.file_search_call.in_progress`.",
"type": {
- "$ref": "776"
+ "$id": "5364",
+ "kind": "enumvalue",
+ "name": "response_file_search_call_in_progress",
+ "value": "response.file_search_call.in_progress",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63222,12 +67505,12 @@
"isHttpMetadata": false
},
{
- "$id": "5000",
+ "$id": "5365",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the file search call is initiated.",
"type": {
- "$id": "5001",
+ "$id": "5366",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63243,12 +67526,12 @@
"isHttpMetadata": false
},
{
- "$id": "5002",
+ "$id": "5367",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the file search call is initiated.",
"type": {
- "$id": "5003",
+ "$id": "5368",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63266,7 +67549,7 @@
]
},
"response.file_search_call.searching": {
- "$id": "5004",
+ "$id": "5369",
"kind": "model",
"name": "ResponseFileSearchCallSearchingEvent",
"namespace": "OpenAI",
@@ -63276,16 +67559,26 @@
"discriminatorValue": "response.file_search_call.searching",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5005",
+ "$id": "5370",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.file_search_call.searching`.",
"type": {
- "$ref": "777"
+ "$id": "5371",
+ "kind": "enumvalue",
+ "name": "response_file_search_call_searching",
+ "value": "response.file_search_call.searching",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63297,12 +67590,12 @@
"isHttpMetadata": false
},
{
- "$id": "5006",
+ "$id": "5372",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the file search call is searching.",
"type": {
- "$id": "5007",
+ "$id": "5373",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63318,12 +67611,12 @@
"isHttpMetadata": false
},
{
- "$id": "5008",
+ "$id": "5374",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the file search call is initiated.",
"type": {
- "$id": "5009",
+ "$id": "5375",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63341,7 +67634,7 @@
]
},
"response.function_call_arguments.delta": {
- "$id": "5010",
+ "$id": "5376",
"kind": "model",
"name": "ResponseFunctionCallArgumentsDeltaEvent",
"namespace": "OpenAI",
@@ -63351,16 +67644,26 @@
"discriminatorValue": "response.function_call_arguments.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5011",
+ "$id": "5377",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.function_call_arguments.delta`.",
"type": {
- "$ref": "778"
+ "$id": "5378",
+ "kind": "enumvalue",
+ "name": "response_function_call_arguments_delta",
+ "value": "response.function_call_arguments.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63372,12 +67675,12 @@
"isHttpMetadata": false
},
{
- "$id": "5012",
+ "$id": "5379",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the function-call arguments delta is added to.",
"type": {
- "$id": "5013",
+ "$id": "5380",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63393,12 +67696,12 @@
"isHttpMetadata": false
},
{
- "$id": "5014",
+ "$id": "5381",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the function-call arguments delta is added to.",
"type": {
- "$id": "5015",
+ "$id": "5382",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63414,12 +67717,12 @@
"isHttpMetadata": false
},
{
- "$id": "5016",
+ "$id": "5383",
"kind": "property",
"name": "delta",
"doc": "The function-call arguments delta that is added.",
"type": {
- "$id": "5017",
+ "$id": "5384",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -63437,7 +67740,7 @@
]
},
"response.function_call_arguments.done": {
- "$id": "5018",
+ "$id": "5385",
"kind": "model",
"name": "ResponseFunctionCallArgumentsDoneEvent",
"namespace": "OpenAI",
@@ -63447,15 +67750,25 @@
"discriminatorValue": "response.function_call_arguments.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5019",
+ "$id": "5386",
"kind": "property",
"name": "type",
"type": {
- "$ref": "779"
+ "$id": "5387",
+ "kind": "enumvalue",
+ "name": "response_function_call_arguments_done",
+ "value": "response.function_call_arguments.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63467,12 +67780,12 @@
"isHttpMetadata": false
},
{
- "$id": "5020",
+ "$id": "5388",
"kind": "property",
"name": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "5021",
+ "$id": "5389",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63488,12 +67801,12 @@
"isHttpMetadata": false
},
{
- "$id": "5022",
+ "$id": "5390",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item.",
"type": {
- "$id": "5023",
+ "$id": "5391",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63509,12 +67822,12 @@
"isHttpMetadata": false
},
{
- "$id": "5024",
+ "$id": "5392",
"kind": "property",
"name": "arguments",
"doc": "The function-call arguments.",
"type": {
- "$id": "5025",
+ "$id": "5393",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -63532,7 +67845,7 @@
]
},
"response.in_progress": {
- "$id": "5026",
+ "$id": "5394",
"kind": "model",
"name": "ResponseInProgressEvent",
"namespace": "OpenAI",
@@ -63542,16 +67855,26 @@
"discriminatorValue": "response.in_progress",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5027",
+ "$id": "5395",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.in_progress`.",
"type": {
- "$ref": "780"
+ "$id": "5396",
+ "kind": "enumvalue",
+ "name": "response_in_progress",
+ "value": "response.in_progress",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63563,12 +67886,12 @@
"isHttpMetadata": false
},
{
- "$id": "5028",
+ "$id": "5397",
"kind": "property",
"name": "response",
"doc": "The response that is in progress.",
"type": {
- "$ref": "4769"
+ "$ref": "5072"
},
"optional": false,
"readOnly": false,
@@ -63582,7 +67905,7 @@
]
},
"response.failed": {
- "$id": "5029",
+ "$id": "5398",
"kind": "model",
"name": "ResponseFailedEvent",
"namespace": "OpenAI",
@@ -63592,16 +67915,26 @@
"discriminatorValue": "response.failed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5030",
+ "$id": "5399",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.failed`.",
"type": {
- "$ref": "781"
+ "$id": "5400",
+ "kind": "enumvalue",
+ "name": "response_failed",
+ "value": "response.failed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63613,12 +67946,12 @@
"isHttpMetadata": false
},
{
- "$id": "5031",
+ "$id": "5401",
"kind": "property",
"name": "response",
"doc": "The response that failed.",
"type": {
- "$ref": "4769"
+ "$ref": "5072"
},
"optional": false,
"readOnly": false,
@@ -63632,7 +67965,7 @@
]
},
"response.incomplete": {
- "$id": "5032",
+ "$id": "5402",
"kind": "model",
"name": "ResponseIncompleteEvent",
"namespace": "OpenAI",
@@ -63642,16 +67975,26 @@
"discriminatorValue": "response.incomplete",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5033",
+ "$id": "5403",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.incomplete`.",
"type": {
- "$ref": "782"
+ "$id": "5404",
+ "kind": "enumvalue",
+ "name": "response_incomplete",
+ "value": "response.incomplete",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63663,12 +68006,12 @@
"isHttpMetadata": false
},
{
- "$id": "5034",
+ "$id": "5405",
"kind": "property",
"name": "response",
"doc": "The response that was incomplete.",
"type": {
- "$ref": "4769"
+ "$ref": "5072"
},
"optional": false,
"readOnly": false,
@@ -63682,7 +68025,7 @@
]
},
"response.output_item.added": {
- "$id": "5035",
+ "$id": "5406",
"kind": "model",
"name": "ResponseOutputItemAddedEvent",
"namespace": "OpenAI",
@@ -63692,16 +68035,26 @@
"discriminatorValue": "response.output_item.added",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5036",
+ "$id": "5407",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.output_item.added`.",
"type": {
- "$ref": "783"
+ "$id": "5408",
+ "kind": "enumvalue",
+ "name": "response_output_item_added",
+ "value": "response.output_item.added",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63713,12 +68066,12 @@
"isHttpMetadata": false
},
{
- "$id": "5037",
+ "$id": "5409",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that was added.",
"type": {
- "$id": "5038",
+ "$id": "5410",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63734,12 +68087,12 @@
"isHttpMetadata": false
},
{
- "$id": "5039",
+ "$id": "5411",
"kind": "property",
"name": "item",
"doc": "The output item that was added.",
"type": {
- "$ref": "4810"
+ "$ref": "5113"
},
"optional": false,
"readOnly": false,
@@ -63753,7 +68106,7 @@
]
},
"response.output_item.done": {
- "$id": "5040",
+ "$id": "5412",
"kind": "model",
"name": "ResponseOutputItemDoneEvent",
"namespace": "OpenAI",
@@ -63763,16 +68116,26 @@
"discriminatorValue": "response.output_item.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5041",
+ "$id": "5413",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.output_item.done`.",
"type": {
- "$ref": "784"
+ "$id": "5414",
+ "kind": "enumvalue",
+ "name": "response_output_item_done",
+ "value": "response.output_item.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63784,12 +68147,12 @@
"isHttpMetadata": false
},
{
- "$id": "5042",
+ "$id": "5415",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that was marked done.",
"type": {
- "$id": "5043",
+ "$id": "5416",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63805,12 +68168,12 @@
"isHttpMetadata": false
},
{
- "$id": "5044",
+ "$id": "5417",
"kind": "property",
"name": "item",
"doc": "The output item that was marked done.",
"type": {
- "$ref": "4810"
+ "$ref": "5113"
},
"optional": false,
"readOnly": false,
@@ -63824,7 +68187,7 @@
]
},
"response.refusal.delta": {
- "$id": "5045",
+ "$id": "5418",
"kind": "model",
"name": "ResponseRefusalDeltaEvent",
"namespace": "OpenAI",
@@ -63834,16 +68197,26 @@
"discriminatorValue": "response.refusal.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5046",
+ "$id": "5419",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.refusal.delta`.",
"type": {
- "$ref": "785"
+ "$id": "5420",
+ "kind": "enumvalue",
+ "name": "response_refusal_delta",
+ "value": "response.refusal.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63855,12 +68228,12 @@
"isHttpMetadata": false
},
{
- "$id": "5047",
+ "$id": "5421",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the refusal text is added to.",
"type": {
- "$id": "5048",
+ "$id": "5422",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63876,12 +68249,12 @@
"isHttpMetadata": false
},
{
- "$id": "5049",
+ "$id": "5423",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the refusal text is added to.",
"type": {
- "$id": "5050",
+ "$id": "5424",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63897,12 +68270,12 @@
"isHttpMetadata": false
},
{
- "$id": "5051",
+ "$id": "5425",
"kind": "property",
"name": "content_index",
"doc": "The index of the content part that the refusal text is added to.",
"type": {
- "$id": "5052",
+ "$id": "5426",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -63918,12 +68291,12 @@
"isHttpMetadata": false
},
{
- "$id": "5053",
+ "$id": "5427",
"kind": "property",
"name": "delta",
"doc": "The refusal text that is added.",
"type": {
- "$id": "5054",
+ "$id": "5428",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63941,7 +68314,7 @@
]
},
"response.refusal.done": {
- "$id": "5055",
+ "$id": "5429",
"kind": "model",
"name": "ResponseRefusalDoneEvent",
"namespace": "OpenAI",
@@ -63951,16 +68324,26 @@
"discriminatorValue": "response.refusal.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5056",
+ "$id": "5430",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.refusal.done`.",
"type": {
- "$ref": "786"
+ "$id": "5431",
+ "kind": "enumvalue",
+ "name": "response_refusal_done",
+ "value": "response.refusal.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -63972,12 +68355,12 @@
"isHttpMetadata": false
},
{
- "$id": "5057",
+ "$id": "5432",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the refusal text is finalized.",
"type": {
- "$id": "5058",
+ "$id": "5433",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -63993,12 +68376,12 @@
"isHttpMetadata": false
},
{
- "$id": "5059",
+ "$id": "5434",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the refusal text is finalized.",
"type": {
- "$id": "5060",
+ "$id": "5435",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64014,12 +68397,12 @@
"isHttpMetadata": false
},
{
- "$id": "5061",
+ "$id": "5436",
"kind": "property",
"name": "content_index",
"doc": "The index of the content part that the refusal text is finalized.",
"type": {
- "$id": "5062",
+ "$id": "5437",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64035,12 +68418,12 @@
"isHttpMetadata": false
},
{
- "$id": "5063",
+ "$id": "5438",
"kind": "property",
"name": "refusal",
"doc": "The refusal text that is finalized.",
"type": {
- "$id": "5064",
+ "$id": "5439",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64058,7 +68441,7 @@
]
},
"response.output_text.delta": {
- "$id": "5065",
+ "$id": "5440",
"kind": "model",
"name": "ResponseTextDeltaEvent",
"namespace": "OpenAI",
@@ -64068,16 +68451,26 @@
"discriminatorValue": "response.output_text.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5066",
+ "$id": "5441",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.output_text.delta`.",
"type": {
- "$ref": "788"
+ "$id": "5442",
+ "kind": "enumvalue",
+ "name": "response_output_text_delta",
+ "value": "response.output_text.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64089,12 +68482,12 @@
"isHttpMetadata": false
},
{
- "$id": "5067",
+ "$id": "5443",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the text delta was added to.",
"type": {
- "$id": "5068",
+ "$id": "5444",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64110,12 +68503,12 @@
"isHttpMetadata": false
},
{
- "$id": "5069",
+ "$id": "5445",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the text delta was added to.",
"type": {
- "$id": "5070",
+ "$id": "5446",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64131,12 +68524,12 @@
"isHttpMetadata": false
},
{
- "$id": "5071",
+ "$id": "5447",
"kind": "property",
"name": "content_index",
"doc": "The index of the content part that the text delta was added to.",
"type": {
- "$id": "5072",
+ "$id": "5448",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64152,12 +68545,12 @@
"isHttpMetadata": false
},
{
- "$id": "5073",
+ "$id": "5449",
"kind": "property",
"name": "delta",
"doc": "The text delta that was added.",
"type": {
- "$id": "5074",
+ "$id": "5450",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64175,7 +68568,7 @@
]
},
"response.output_text.done": {
- "$id": "5075",
+ "$id": "5451",
"kind": "model",
"name": "ResponseTextDoneEvent",
"namespace": "OpenAI",
@@ -64185,16 +68578,26 @@
"discriminatorValue": "response.output_text.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5076",
+ "$id": "5452",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.output_text.done`.",
"type": {
- "$ref": "789"
+ "$id": "5453",
+ "kind": "enumvalue",
+ "name": "response_output_text_done",
+ "value": "response.output_text.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64206,12 +68609,12 @@
"isHttpMetadata": false
},
{
- "$id": "5077",
+ "$id": "5454",
"kind": "property",
"name": "item_id",
"doc": "The ID of the output item that the text content is finalized.",
"type": {
- "$id": "5078",
+ "$id": "5455",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64227,12 +68630,12 @@
"isHttpMetadata": false
},
{
- "$id": "5079",
+ "$id": "5456",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the text content is finalized.",
"type": {
- "$id": "5080",
+ "$id": "5457",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64248,12 +68651,12 @@
"isHttpMetadata": false
},
{
- "$id": "5081",
+ "$id": "5458",
"kind": "property",
"name": "content_index",
"doc": "The index of the content part that the text content is finalized.",
"type": {
- "$id": "5082",
+ "$id": "5459",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64269,12 +68672,12 @@
"isHttpMetadata": false
},
{
- "$id": "5083",
+ "$id": "5460",
"kind": "property",
"name": "text",
"doc": "The text content that is finalized.",
"type": {
- "$id": "5084",
+ "$id": "5461",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64292,7 +68695,7 @@
]
},
"response.reasoning_summary_part.added": {
- "$id": "5085",
+ "$id": "5462",
"kind": "model",
"name": "ResponseReasoningSummaryPartAddedEvent",
"namespace": "OpenAI",
@@ -64302,16 +68705,26 @@
"discriminatorValue": "response.reasoning_summary_part.added",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5086",
+ "$id": "5463",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.reasoning_summary_part.added`.",
"type": {
- "$ref": "790"
+ "$id": "5464",
+ "kind": "enumvalue",
+ "name": "response_reasoning_summary_part_added",
+ "value": "response.reasoning_summary_part.added",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64323,12 +68736,12 @@
"isHttpMetadata": false
},
{
- "$id": "5087",
+ "$id": "5465",
"kind": "property",
"name": "item_id",
"doc": "The ID of the item this summary part is associated with.",
"type": {
- "$id": "5088",
+ "$id": "5466",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64344,12 +68757,12 @@
"isHttpMetadata": false
},
{
- "$id": "5089",
+ "$id": "5467",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item this summary part is associated with.",
"type": {
- "$id": "5090",
+ "$id": "5468",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64365,12 +68778,12 @@
"isHttpMetadata": false
},
{
- "$id": "5091",
+ "$id": "5469",
"kind": "property",
"name": "summary_index",
"doc": "The index of the summary part within the reasoning summary.",
"type": {
- "$id": "5092",
+ "$id": "5470",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64386,12 +68799,12 @@
"isHttpMetadata": false
},
{
- "$id": "5093",
+ "$id": "5471",
"kind": "property",
"name": "part",
"doc": "The summary part that was added.",
"type": {
- "$ref": "4636"
+ "$ref": "4909"
},
"optional": false,
"readOnly": false,
@@ -64405,7 +68818,7 @@
]
},
"response.reasoning_summary_part.done": {
- "$id": "5094",
+ "$id": "5472",
"kind": "model",
"name": "ResponseReasoningSummaryPartDoneEvent",
"namespace": "OpenAI",
@@ -64415,16 +68828,26 @@
"discriminatorValue": "response.reasoning_summary_part.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5095",
+ "$id": "5473",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.reasoning_summary_part.done`.",
"type": {
- "$ref": "791"
+ "$id": "5474",
+ "kind": "enumvalue",
+ "name": "response_reasoning_summary_part_done",
+ "value": "response.reasoning_summary_part.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64436,12 +68859,12 @@
"isHttpMetadata": false
},
{
- "$id": "5096",
+ "$id": "5475",
"kind": "property",
"name": "item_id",
"doc": "The ID of the item this summary part is associated with.",
"type": {
- "$id": "5097",
+ "$id": "5476",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64457,12 +68880,12 @@
"isHttpMetadata": false
},
{
- "$id": "5098",
+ "$id": "5477",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item this summary part is associated with.",
"type": {
- "$id": "5099",
+ "$id": "5478",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64478,12 +68901,12 @@
"isHttpMetadata": false
},
{
- "$id": "5100",
+ "$id": "5479",
"kind": "property",
"name": "summary_index",
"doc": "The index of the summary part within the reasoning summary.",
"type": {
- "$id": "5101",
+ "$id": "5480",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64499,12 +68922,12 @@
"isHttpMetadata": false
},
{
- "$id": "5102",
+ "$id": "5481",
"kind": "property",
"name": "part",
"doc": "The completed summary part.",
"type": {
- "$ref": "4636"
+ "$ref": "4909"
},
"optional": false,
"readOnly": false,
@@ -64518,7 +68941,7 @@
]
},
"response.reasoning_summary_text.delta": {
- "$id": "5103",
+ "$id": "5482",
"kind": "model",
"name": "ResponseReasoningSummaryTextDeltaEvent",
"namespace": "OpenAI",
@@ -64528,16 +68951,26 @@
"discriminatorValue": "response.reasoning_summary_text.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5104",
+ "$id": "5483",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.reasoning_summary_text.delta`.",
"type": {
- "$ref": "792"
+ "$id": "5484",
+ "kind": "enumvalue",
+ "name": "response_reasoning_summary_text_delta",
+ "value": "response.reasoning_summary_text.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64549,12 +68982,12 @@
"isHttpMetadata": false
},
{
- "$id": "5105",
+ "$id": "5485",
"kind": "property",
"name": "item_id",
"doc": "The ID of the item this summary text delta is associated with.",
"type": {
- "$id": "5106",
+ "$id": "5486",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64570,12 +69003,12 @@
"isHttpMetadata": false
},
{
- "$id": "5107",
+ "$id": "5487",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item this summary text delta is associated with.",
"type": {
- "$id": "5108",
+ "$id": "5488",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64591,12 +69024,12 @@
"isHttpMetadata": false
},
{
- "$id": "5109",
+ "$id": "5489",
"kind": "property",
"name": "summary_index",
"doc": "The index of the summary part within the reasoning summary.",
"type": {
- "$id": "5110",
+ "$id": "5490",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64612,12 +69045,12 @@
"isHttpMetadata": false
},
{
- "$id": "5111",
+ "$id": "5491",
"kind": "property",
"name": "delta",
"doc": "The text delta that was added to the summary.",
"type": {
- "$id": "5112",
+ "$id": "5492",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64635,7 +69068,7 @@
]
},
"response.reasoning_summary_text.done": {
- "$id": "5113",
+ "$id": "5493",
"kind": "model",
"name": "ResponseReasoningSummaryTextDoneEvent",
"namespace": "OpenAI",
@@ -64645,16 +69078,26 @@
"discriminatorValue": "response.reasoning_summary_text.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5114",
+ "$id": "5494",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.reasoning_summary_text.done`.",
"type": {
- "$ref": "793"
+ "$id": "5495",
+ "kind": "enumvalue",
+ "name": "response_reasoning_summary_text_done",
+ "value": "response.reasoning_summary_text.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64666,12 +69109,12 @@
"isHttpMetadata": false
},
{
- "$id": "5115",
+ "$id": "5496",
"kind": "property",
"name": "item_id",
"doc": "The ID of the item this summary text is associated with.",
"type": {
- "$id": "5116",
+ "$id": "5497",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64687,12 +69130,12 @@
"isHttpMetadata": false
},
{
- "$id": "5117",
+ "$id": "5498",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item this summary text is associated with.",
"type": {
- "$id": "5118",
+ "$id": "5499",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64708,12 +69151,12 @@
"isHttpMetadata": false
},
{
- "$id": "5119",
+ "$id": "5500",
"kind": "property",
"name": "summary_index",
"doc": "The index of the summary part within the reasoning summary.",
"type": {
- "$id": "5120",
+ "$id": "5501",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64729,12 +69172,12 @@
"isHttpMetadata": false
},
{
- "$id": "5121",
+ "$id": "5502",
"kind": "property",
"name": "text",
"doc": "The full text of the completed reasoning summary.",
"type": {
- "$id": "5122",
+ "$id": "5503",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64752,7 +69195,7 @@
]
},
"response.web_search_call.completed": {
- "$id": "5123",
+ "$id": "5504",
"kind": "model",
"name": "ResponseWebSearchCallCompletedEvent",
"namespace": "OpenAI",
@@ -64762,16 +69205,26 @@
"discriminatorValue": "response.web_search_call.completed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5124",
+ "$id": "5505",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.web_search_call.completed`.",
"type": {
- "$ref": "794"
+ "$id": "5506",
+ "kind": "enumvalue",
+ "name": "response_web_search_call_completed",
+ "value": "response.web_search_call.completed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64783,12 +69236,12 @@
"isHttpMetadata": false
},
{
- "$id": "5125",
+ "$id": "5507",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the web search call is associated with.",
"type": {
- "$id": "5126",
+ "$id": "5508",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64804,12 +69257,12 @@
"isHttpMetadata": false
},
{
- "$id": "5127",
+ "$id": "5509",
"kind": "property",
"name": "item_id",
"doc": "Unique ID for the output item associated with the web search call.",
"type": {
- "$id": "5128",
+ "$id": "5510",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64827,7 +69280,7 @@
]
},
"response.web_search_call.in_progress": {
- "$id": "5129",
+ "$id": "5511",
"kind": "model",
"name": "ResponseWebSearchCallInProgressEvent",
"namespace": "OpenAI",
@@ -64837,16 +69290,26 @@
"discriminatorValue": "response.web_search_call.in_progress",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5130",
+ "$id": "5512",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.web_search_call.in_progress`.",
"type": {
- "$ref": "795"
+ "$id": "5513",
+ "kind": "enumvalue",
+ "name": "response_web_search_call_in_progress",
+ "value": "response.web_search_call.in_progress",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64858,12 +69321,12 @@
"isHttpMetadata": false
},
{
- "$id": "5131",
+ "$id": "5514",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the web search call is associated with.",
"type": {
- "$id": "5132",
+ "$id": "5515",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64879,12 +69342,12 @@
"isHttpMetadata": false
},
{
- "$id": "5133",
+ "$id": "5516",
"kind": "property",
"name": "item_id",
"doc": "Unique ID for the output item associated with the web search call.",
"type": {
- "$id": "5134",
+ "$id": "5517",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64902,7 +69365,7 @@
]
},
"response.web_search_call.searching": {
- "$id": "5135",
+ "$id": "5518",
"kind": "model",
"name": "ResponseWebSearchCallSearchingEvent",
"namespace": "OpenAI",
@@ -64912,16 +69375,26 @@
"discriminatorValue": "response.web_search_call.searching",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5136",
+ "$id": "5519",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.web_search_call.searching`.",
"type": {
- "$ref": "796"
+ "$id": "5520",
+ "kind": "enumvalue",
+ "name": "response_web_search_call_searching",
+ "value": "response.web_search_call.searching",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -64933,12 +69406,12 @@
"isHttpMetadata": false
},
{
- "$id": "5137",
+ "$id": "5521",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the web search call is associated with.",
"type": {
- "$id": "5138",
+ "$id": "5522",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -64954,12 +69427,12 @@
"isHttpMetadata": false
},
{
- "$id": "5139",
+ "$id": "5523",
"kind": "property",
"name": "item_id",
"doc": "Unique ID for the output item associated with the web search call.",
"type": {
- "$id": "5140",
+ "$id": "5524",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -64977,7 +69450,7 @@
]
},
"response.image_generation_call.completed": {
- "$id": "5141",
+ "$id": "5525",
"kind": "model",
"name": "ResponseImageGenCallCompletedEvent",
"namespace": "OpenAI",
@@ -64987,16 +69460,26 @@
"discriminatorValue": "response.image_generation_call.completed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5142",
+ "$id": "5526",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.image_generation_call.completed'.",
"type": {
- "$ref": "797"
+ "$id": "5527",
+ "kind": "enumvalue",
+ "name": "response_image_generation_call_completed",
+ "value": "response.image_generation_call.completed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65008,12 +69491,12 @@
"isHttpMetadata": false
},
{
- "$id": "5143",
+ "$id": "5528",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5144",
+ "$id": "5529",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65029,12 +69512,12 @@
"isHttpMetadata": false
},
{
- "$id": "5145",
+ "$id": "5530",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the image generation item being processed.",
"type": {
- "$id": "5146",
+ "$id": "5531",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65052,7 +69535,7 @@
]
},
"response.image_generation_call.generating": {
- "$id": "5147",
+ "$id": "5532",
"kind": "model",
"name": "ResponseImageGenCallGeneratingEvent",
"namespace": "OpenAI",
@@ -65062,16 +69545,26 @@
"discriminatorValue": "response.image_generation_call.generating",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5148",
+ "$id": "5533",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.image_generation_call.generating'.",
"type": {
- "$ref": "798"
+ "$id": "5534",
+ "kind": "enumvalue",
+ "name": "response_image_generation_call_generating",
+ "value": "response.image_generation_call.generating",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65083,12 +69576,12 @@
"isHttpMetadata": false
},
{
- "$id": "5149",
+ "$id": "5535",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5150",
+ "$id": "5536",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65104,12 +69597,12 @@
"isHttpMetadata": false
},
{
- "$id": "5151",
+ "$id": "5537",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the image generation item being processed.",
"type": {
- "$id": "5152",
+ "$id": "5538",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65127,7 +69620,7 @@
]
},
"response.image_generation_call.in_progress": {
- "$id": "5153",
+ "$id": "5539",
"kind": "model",
"name": "ResponseImageGenCallInProgressEvent",
"namespace": "OpenAI",
@@ -65137,16 +69630,26 @@
"discriminatorValue": "response.image_generation_call.in_progress",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5154",
+ "$id": "5540",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.image_generation_call.in_progress'.",
"type": {
- "$ref": "799"
+ "$id": "5541",
+ "kind": "enumvalue",
+ "name": "response_image_generation_call_in_progress",
+ "value": "response.image_generation_call.in_progress",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65158,12 +69661,12 @@
"isHttpMetadata": false
},
{
- "$id": "5155",
+ "$id": "5542",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5156",
+ "$id": "5543",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65179,12 +69682,12 @@
"isHttpMetadata": false
},
{
- "$id": "5157",
+ "$id": "5544",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the image generation item being processed.",
"type": {
- "$id": "5158",
+ "$id": "5545",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65202,7 +69705,7 @@
]
},
"response.image_generation_call.partial_image": {
- "$id": "5159",
+ "$id": "5546",
"kind": "model",
"name": "ResponseImageGenCallPartialImageEvent",
"namespace": "OpenAI",
@@ -65212,16 +69715,26 @@
"discriminatorValue": "response.image_generation_call.partial_image",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5160",
+ "$id": "5547",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.image_generation_call.partial_image'.",
"type": {
- "$ref": "800"
+ "$id": "5548",
+ "kind": "enumvalue",
+ "name": "response_image_generation_call_partial_image",
+ "value": "response.image_generation_call.partial_image",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65233,12 +69746,12 @@
"isHttpMetadata": false
},
{
- "$id": "5161",
+ "$id": "5549",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5162",
+ "$id": "5550",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65254,12 +69767,12 @@
"isHttpMetadata": false
},
{
- "$id": "5163",
+ "$id": "5551",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the image generation item being processed.",
"type": {
- "$id": "5164",
+ "$id": "5552",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65275,12 +69788,12 @@
"isHttpMetadata": false
},
{
- "$id": "5165",
+ "$id": "5553",
"kind": "property",
"name": "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": "5166",
+ "$id": "5554",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65296,12 +69809,12 @@
"isHttpMetadata": false
},
{
- "$id": "5167",
+ "$id": "5555",
"kind": "property",
"name": "PartialImageBytes",
"doc": "Base64-encoded partial image data, suitable for rendering as an image.",
"type": {
- "$id": "5168",
+ "$id": "5556",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -65320,7 +69833,7 @@
]
},
"response.mcp_call_arguments.delta": {
- "$id": "5169",
+ "$id": "5557",
"kind": "model",
"name": "ResponseMCPCallArgumentsDeltaEvent",
"namespace": "OpenAI",
@@ -65330,16 +69843,26 @@
"discriminatorValue": "response.mcp_call_arguments.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5170",
+ "$id": "5558",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_call.arguments_delta'.",
"type": {
- "$ref": "801"
+ "$id": "5559",
+ "kind": "enumvalue",
+ "name": "response_mcp_call_arguments_delta",
+ "value": "response.mcp_call_arguments.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65351,12 +69874,12 @@
"isHttpMetadata": false
},
{
- "$id": "5171",
+ "$id": "5560",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5172",
+ "$id": "5561",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65372,12 +69895,12 @@
"isHttpMetadata": false
},
{
- "$id": "5173",
+ "$id": "5562",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the MCP tool call item being processed.",
"type": {
- "$id": "5174",
+ "$id": "5563",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65393,12 +69916,12 @@
"isHttpMetadata": false
},
{
- "$id": "5175",
+ "$id": "5564",
"kind": "property",
"name": "delta",
"doc": "The partial update to the arguments for the MCP tool call.",
"type": {
- "$id": "5176",
+ "$id": "5565",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -65416,7 +69939,7 @@
]
},
"response.mcp_call_arguments.done": {
- "$id": "5177",
+ "$id": "5566",
"kind": "model",
"name": "ResponseMCPCallArgumentsDoneEvent",
"namespace": "OpenAI",
@@ -65426,16 +69949,26 @@
"discriminatorValue": "response.mcp_call_arguments.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5178",
+ "$id": "5567",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_call.arguments_done'.",
"type": {
- "$ref": "802"
+ "$id": "5568",
+ "kind": "enumvalue",
+ "name": "response_mcp_call_arguments_done",
+ "value": "response.mcp_call_arguments.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65447,12 +69980,12 @@
"isHttpMetadata": false
},
{
- "$id": "5179",
+ "$id": "5569",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5180",
+ "$id": "5570",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65468,12 +70001,12 @@
"isHttpMetadata": false
},
{
- "$id": "5181",
+ "$id": "5571",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the MCP tool call item being processed.",
"type": {
- "$id": "5182",
+ "$id": "5572",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65489,12 +70022,12 @@
"isHttpMetadata": false
},
{
- "$id": "5183",
+ "$id": "5573",
"kind": "property",
"name": "arguments",
"doc": "A JSON string containing the finalized arguments for the MCP tool call.",
"type": {
- "$id": "5184",
+ "$id": "5574",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -65512,7 +70045,7 @@
]
},
"response.mcp_call.completed": {
- "$id": "5185",
+ "$id": "5575",
"kind": "model",
"name": "ResponseMCPCallCompletedEvent",
"namespace": "OpenAI",
@@ -65522,16 +70055,26 @@
"discriminatorValue": "response.mcp_call.completed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5186",
+ "$id": "5576",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_call.completed'.",
"type": {
- "$ref": "803"
+ "$id": "5577",
+ "kind": "enumvalue",
+ "name": "response_mcp_call_completed",
+ "value": "response.mcp_call.completed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65543,12 +70086,12 @@
"isHttpMetadata": false
},
{
- "$id": "5187",
+ "$id": "5578",
"kind": "property",
"name": "item_id",
"doc": "The ID of the MCP tool call item that completed.",
"type": {
- "$id": "5188",
+ "$id": "5579",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65564,12 +70107,12 @@
"isHttpMetadata": false
},
{
- "$id": "5189",
+ "$id": "5580",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that completed.",
"type": {
- "$id": "5190",
+ "$id": "5581",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65587,7 +70130,7 @@
]
},
"response.mcp_call.failed": {
- "$id": "5191",
+ "$id": "5582",
"kind": "model",
"name": "ResponseMCPCallFailedEvent",
"namespace": "OpenAI",
@@ -65597,16 +70140,26 @@
"discriminatorValue": "response.mcp_call.failed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5192",
+ "$id": "5583",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_call.failed'.",
"type": {
- "$ref": "804"
+ "$id": "5584",
+ "kind": "enumvalue",
+ "name": "response_mcp_call_failed",
+ "value": "response.mcp_call.failed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65618,12 +70171,12 @@
"isHttpMetadata": false
},
{
- "$id": "5193",
+ "$id": "5585",
"kind": "property",
"name": "item_id",
"doc": "The ID of the MCP tool call item that failed.",
"type": {
- "$id": "5194",
+ "$id": "5586",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65639,12 +70192,12 @@
"isHttpMetadata": false
},
{
- "$id": "5195",
+ "$id": "5587",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that failed.",
"type": {
- "$id": "5196",
+ "$id": "5588",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65662,7 +70215,7 @@
]
},
"response.mcp_call.in_progress": {
- "$id": "5197",
+ "$id": "5589",
"kind": "model",
"name": "ResponseMCPCallInProgressEvent",
"namespace": "OpenAI",
@@ -65672,16 +70225,26 @@
"discriminatorValue": "response.mcp_call.in_progress",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5198",
+ "$id": "5590",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_call.in_progress'.",
"type": {
- "$ref": "805"
+ "$id": "5591",
+ "kind": "enumvalue",
+ "name": "response_mcp_call_in_progress",
+ "value": "response.mcp_call.in_progress",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65693,12 +70256,12 @@
"isHttpMetadata": false
},
{
- "$id": "5199",
+ "$id": "5592",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5200",
+ "$id": "5593",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65714,12 +70277,12 @@
"isHttpMetadata": false
},
{
- "$id": "5201",
+ "$id": "5594",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the MCP tool call item being processed.",
"type": {
- "$id": "5202",
+ "$id": "5595",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65737,7 +70300,7 @@
]
},
"response.mcp_list_tools.completed": {
- "$id": "5203",
+ "$id": "5596",
"kind": "model",
"name": "ResponseMCPListToolsCompletedEvent",
"namespace": "OpenAI",
@@ -65747,16 +70310,26 @@
"discriminatorValue": "response.mcp_list_tools.completed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5204",
+ "$id": "5597",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_list_tools.completed'.",
"type": {
- "$ref": "806"
+ "$id": "5598",
+ "kind": "enumvalue",
+ "name": "response_mcp_list_tools_completed",
+ "value": "response.mcp_list_tools.completed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65768,12 +70341,12 @@
"isHttpMetadata": false
},
{
- "$id": "5205",
+ "$id": "5599",
"kind": "property",
"name": "item_id",
"doc": "The ID of the MCP tool call item that produced this output.",
"type": {
- "$id": "5206",
+ "$id": "5600",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65789,12 +70362,12 @@
"isHttpMetadata": false
},
{
- "$id": "5207",
+ "$id": "5601",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that was processed.",
"type": {
- "$id": "5208",
+ "$id": "5602",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65812,7 +70385,7 @@
]
},
"response.mcp_list_tools.failed": {
- "$id": "5209",
+ "$id": "5603",
"kind": "model",
"name": "ResponseMCPListToolsFailedEvent",
"namespace": "OpenAI",
@@ -65822,16 +70395,26 @@
"discriminatorValue": "response.mcp_list_tools.failed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5210",
+ "$id": "5604",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_list_tools.failed'.",
"type": {
- "$ref": "807"
+ "$id": "5605",
+ "kind": "enumvalue",
+ "name": "response_mcp_list_tools_failed",
+ "value": "response.mcp_list_tools.failed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65843,12 +70426,12 @@
"isHttpMetadata": false
},
{
- "$id": "5211",
+ "$id": "5606",
"kind": "property",
"name": "item_id",
"doc": "The ID of the MCP tool call item that failed.",
"type": {
- "$id": "5212",
+ "$id": "5607",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65864,12 +70447,12 @@
"isHttpMetadata": false
},
{
- "$id": "5213",
+ "$id": "5608",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that failed.",
"type": {
- "$id": "5214",
+ "$id": "5609",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65887,7 +70470,7 @@
]
},
"response.mcp_list_tools.in_progress": {
- "$id": "5215",
+ "$id": "5610",
"kind": "model",
"name": "ResponseMCPListToolsInProgressEvent",
"namespace": "OpenAI",
@@ -65897,16 +70480,26 @@
"discriminatorValue": "response.mcp_list_tools.in_progress",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5216",
+ "$id": "5611",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.mcp_list_tools.in_progress'.",
"type": {
- "$ref": "808"
+ "$id": "5612",
+ "kind": "enumvalue",
+ "name": "response_mcp_list_tools_in_progress",
+ "value": "response.mcp_list_tools.in_progress",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65918,12 +70511,12 @@
"isHttpMetadata": false
},
{
- "$id": "5217",
+ "$id": "5613",
"kind": "property",
"name": "item_id",
"doc": "The ID of the MCP tool call item that is being processed.",
"type": {
- "$id": "5218",
+ "$id": "5614",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -65939,12 +70532,12 @@
"isHttpMetadata": false
},
{
- "$id": "5219",
+ "$id": "5615",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that is being processed.",
"type": {
- "$id": "5220",
+ "$id": "5616",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -65962,7 +70555,7 @@
]
},
"response.output_text.annotation.added": {
- "$id": "5221",
+ "$id": "5617",
"kind": "model",
"name": "ResponseOutputTextAnnotationAddedEvent",
"namespace": "OpenAI",
@@ -65972,16 +70565,26 @@
"discriminatorValue": "response.output_text.annotation.added",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5222",
+ "$id": "5618",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.output_text_annotation.added'.",
"type": {
- "$ref": "787"
+ "$id": "5619",
+ "kind": "enumvalue",
+ "name": "response_output_text_annotation_added",
+ "value": "response.output_text.annotation.added",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -65993,12 +70596,12 @@
"isHttpMetadata": false
},
{
- "$id": "5223",
+ "$id": "5620",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the item to which the annotation is being added.",
"type": {
- "$id": "5224",
+ "$id": "5621",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66014,12 +70617,12 @@
"isHttpMetadata": false
},
{
- "$id": "5225",
+ "$id": "5622",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5226",
+ "$id": "5623",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66035,12 +70638,12 @@
"isHttpMetadata": false
},
{
- "$id": "5227",
+ "$id": "5624",
"kind": "property",
"name": "content_index",
"doc": "The index of the content part within the output item.",
"type": {
- "$id": "5228",
+ "$id": "5625",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66056,12 +70659,12 @@
"isHttpMetadata": false
},
{
- "$id": "5229",
+ "$id": "5626",
"kind": "property",
"name": "annotation_index",
"doc": "The index of the annotation within the content part.",
"type": {
- "$id": "5230",
+ "$id": "5627",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66077,12 +70680,12 @@
"isHttpMetadata": false
},
{
- "$id": "5231",
+ "$id": "5628",
"kind": "property",
"name": "annotation",
"doc": "The annotation object being added. (See annotation schema for details.)",
"type": {
- "$id": "5232",
+ "$id": "5629",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -66100,7 +70703,7 @@
]
},
"response.queued": {
- "$id": "5233",
+ "$id": "5630",
"kind": "model",
"name": "ResponseQueuedEvent",
"namespace": "OpenAI",
@@ -66110,16 +70713,26 @@
"discriminatorValue": "response.queued",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5234",
+ "$id": "5631",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.queued'.",
"type": {
- "$ref": "809"
+ "$id": "5632",
+ "kind": "enumvalue",
+ "name": "response_queued",
+ "value": "response.queued",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66131,12 +70744,12 @@
"isHttpMetadata": false
},
{
- "$id": "5235",
+ "$id": "5633",
"kind": "property",
"name": "response",
"doc": "The full response object that is queued.",
"type": {
- "$ref": "4769"
+ "$ref": "5072"
},
"optional": false,
"readOnly": false,
@@ -66150,7 +70763,7 @@
]
},
"response.reasoning.delta": {
- "$id": "5236",
+ "$id": "5634",
"kind": "model",
"name": "ResponseReasoningDeltaEvent",
"namespace": "OpenAI",
@@ -66160,16 +70773,26 @@
"discriminatorValue": "response.reasoning.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5237",
+ "$id": "5635",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.reasoning.delta'.",
"type": {
- "$ref": "810"
+ "$id": "5636",
+ "kind": "enumvalue",
+ "name": "response_reasoning_delta",
+ "value": "response.reasoning.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66181,12 +70804,12 @@
"isHttpMetadata": false
},
{
- "$id": "5238",
+ "$id": "5637",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the item for which reasoning is being updated.",
"type": {
- "$id": "5239",
+ "$id": "5638",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66202,12 +70825,12 @@
"isHttpMetadata": false
},
{
- "$id": "5240",
+ "$id": "5639",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5241",
+ "$id": "5640",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66223,12 +70846,12 @@
"isHttpMetadata": false
},
{
- "$id": "5242",
+ "$id": "5641",
"kind": "property",
"name": "content_index",
"doc": "The index of the reasoning content part within the output item.",
"type": {
- "$id": "5243",
+ "$id": "5642",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66244,12 +70867,12 @@
"isHttpMetadata": false
},
{
- "$id": "5244",
+ "$id": "5643",
"kind": "property",
"name": "delta",
"doc": "The partial update to the reasoning content.",
"type": {
- "$id": "5245",
+ "$id": "5644",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -66267,7 +70890,7 @@
]
},
"response.reasoning.done": {
- "$id": "5246",
+ "$id": "5645",
"kind": "model",
"name": "ResponseReasoningDoneEvent",
"namespace": "OpenAI",
@@ -66277,16 +70900,26 @@
"discriminatorValue": "response.reasoning.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5247",
+ "$id": "5646",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.reasoning.done'.",
"type": {
- "$ref": "811"
+ "$id": "5647",
+ "kind": "enumvalue",
+ "name": "response_reasoning_done",
+ "value": "response.reasoning.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66298,12 +70931,12 @@
"isHttpMetadata": false
},
{
- "$id": "5248",
+ "$id": "5648",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the item for which reasoning is finalized.",
"type": {
- "$id": "5249",
+ "$id": "5649",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66319,12 +70952,12 @@
"isHttpMetadata": false
},
{
- "$id": "5250",
+ "$id": "5650",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5251",
+ "$id": "5651",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66340,12 +70973,12 @@
"isHttpMetadata": false
},
{
- "$id": "5252",
+ "$id": "5652",
"kind": "property",
"name": "content_index",
"doc": "The index of the reasoning content part within the output item.",
"type": {
- "$id": "5253",
+ "$id": "5653",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66361,12 +70994,12 @@
"isHttpMetadata": false
},
{
- "$id": "5254",
+ "$id": "5654",
"kind": "property",
"name": "text",
"doc": "The finalized reasoning text.",
"type": {
- "$id": "5255",
+ "$id": "5655",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66384,7 +71017,7 @@
]
},
"response.reasoning_summary.delta": {
- "$id": "5256",
+ "$id": "5656",
"kind": "model",
"name": "ResponseReasoningSummaryDeltaEvent",
"namespace": "OpenAI",
@@ -66394,16 +71027,26 @@
"discriminatorValue": "response.reasoning_summary.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5257",
+ "$id": "5657",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.reasoning_summary.delta'.",
"type": {
- "$ref": "812"
+ "$id": "5658",
+ "kind": "enumvalue",
+ "name": "response_reasoning_summary_delta",
+ "value": "response.reasoning_summary.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66415,12 +71058,12 @@
"isHttpMetadata": false
},
{
- "$id": "5258",
+ "$id": "5659",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the item for which the reasoning summary is being updated.",
"type": {
- "$id": "5259",
+ "$id": "5660",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66436,12 +71079,12 @@
"isHttpMetadata": false
},
{
- "$id": "5260",
+ "$id": "5661",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5261",
+ "$id": "5662",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66457,12 +71100,12 @@
"isHttpMetadata": false
},
{
- "$id": "5262",
+ "$id": "5663",
"kind": "property",
"name": "summary_index",
"doc": "The index of the summary part within the output item.",
"type": {
- "$id": "5263",
+ "$id": "5664",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66478,12 +71121,12 @@
"isHttpMetadata": false
},
{
- "$id": "5264",
+ "$id": "5665",
"kind": "property",
"name": "delta",
"doc": "The partial update to the reasoning summary content.",
"type": {
- "$id": "5265",
+ "$id": "5666",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -66501,7 +71144,7 @@
]
},
"response.reasoning_summary.done": {
- "$id": "5266",
+ "$id": "5667",
"kind": "model",
"name": "ResponseReasoningSummaryDoneEvent",
"namespace": "OpenAI",
@@ -66511,16 +71154,26 @@
"discriminatorValue": "response.reasoning_summary.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5267",
+ "$id": "5668",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always 'response.reasoning_summary.done'.",
"type": {
- "$ref": "813"
+ "$id": "5669",
+ "kind": "enumvalue",
+ "name": "response_reasoning_summary_done",
+ "value": "response.reasoning_summary.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66532,12 +71185,12 @@
"isHttpMetadata": false
},
{
- "$id": "5268",
+ "$id": "5670",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the item for which the reasoning summary is finalized.",
"type": {
- "$id": "5269",
+ "$id": "5671",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66553,12 +71206,12 @@
"isHttpMetadata": false
},
{
- "$id": "5270",
+ "$id": "5672",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item in the response's output array.",
"type": {
- "$id": "5271",
+ "$id": "5673",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66574,12 +71227,12 @@
"isHttpMetadata": false
},
{
- "$id": "5272",
+ "$id": "5674",
"kind": "property",
"name": "summary_index",
"doc": "The index of the summary part within the output item.",
"type": {
- "$id": "5273",
+ "$id": "5675",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66595,12 +71248,12 @@
"isHttpMetadata": false
},
{
- "$id": "5274",
+ "$id": "5676",
"kind": "property",
"name": "text",
"doc": "The finalized reasoning summary text.",
"type": {
- "$id": "5275",
+ "$id": "5677",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66618,7 +71271,7 @@
]
},
"response.code_interpreter_call_code.delta": {
- "$id": "5276",
+ "$id": "5678",
"kind": "model",
"name": "ResponseCodeInterpreterCallCodeDeltaEvent",
"namespace": "OpenAI",
@@ -66628,16 +71281,26 @@
"discriminatorValue": "response.code_interpreter_call_code.delta",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5277",
+ "$id": "5679",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.code_interpreter_call_code.delta`.",
"type": {
- "$ref": "765"
+ "$id": "5680",
+ "kind": "enumvalue",
+ "name": "response_code_interpreter_call_code_delta",
+ "value": "response.code_interpreter_call_code.delta",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66649,12 +71312,12 @@
"isHttpMetadata": false
},
{
- "$id": "5278",
+ "$id": "5681",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the code interpreter call is in progress.",
"type": {
- "$id": "5279",
+ "$id": "5682",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66670,12 +71333,12 @@
"isHttpMetadata": false
},
{
- "$id": "5280",
+ "$id": "5683",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the code interpreter tool call item.",
"type": {
- "$id": "5281",
+ "$id": "5684",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66691,12 +71354,12 @@
"isHttpMetadata": false
},
{
- "$id": "5282",
+ "$id": "5685",
"kind": "property",
"name": "delta",
"doc": "The partial code snippet added by the code interpreter.",
"type": {
- "$id": "5283",
+ "$id": "5686",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66714,7 +71377,7 @@
]
},
"response.code_interpreter_call_code.done": {
- "$id": "5284",
+ "$id": "5687",
"kind": "model",
"name": "ResponseCodeInterpreterCallCodeDoneEvent",
"namespace": "OpenAI",
@@ -66724,16 +71387,26 @@
"discriminatorValue": "response.code_interpreter_call_code.done",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5285",
+ "$id": "5688",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.code_interpreter_call_code.done`.",
"type": {
- "$ref": "766"
+ "$id": "5689",
+ "kind": "enumvalue",
+ "name": "response_code_interpreter_call_code_done",
+ "value": "response.code_interpreter_call_code.done",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66745,12 +71418,12 @@
"isHttpMetadata": false
},
{
- "$id": "5286",
+ "$id": "5690",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the code interpreter call is in progress.",
"type": {
- "$id": "5287",
+ "$id": "5691",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66766,12 +71439,12 @@
"isHttpMetadata": false
},
{
- "$id": "5288",
+ "$id": "5692",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the code interpreter tool call item.",
"type": {
- "$id": "5289",
+ "$id": "5693",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66787,12 +71460,12 @@
"isHttpMetadata": false
},
{
- "$id": "5290",
+ "$id": "5694",
"kind": "property",
"name": "code",
"doc": "The final code snippet output by the code interpreter.",
"type": {
- "$id": "5291",
+ "$id": "5695",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66810,7 +71483,7 @@
]
},
"response.code_interpreter_call.completed": {
- "$id": "5292",
+ "$id": "5696",
"kind": "model",
"name": "ResponseCodeInterpreterCallCompletedEvent",
"namespace": "OpenAI",
@@ -66820,16 +71493,26 @@
"discriminatorValue": "response.code_interpreter_call.completed",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5293",
+ "$id": "5697",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.code_interpreter_call.completed`.",
"type": {
- "$ref": "767"
+ "$id": "5698",
+ "kind": "enumvalue",
+ "name": "response_code_interpreter_call_completed",
+ "value": "response.code_interpreter_call.completed",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66841,12 +71524,12 @@
"isHttpMetadata": false
},
{
- "$id": "5294",
+ "$id": "5699",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the code interpreter call is in progress.",
"type": {
- "$id": "5295",
+ "$id": "5700",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66862,12 +71545,12 @@
"isHttpMetadata": false
},
{
- "$id": "5296",
+ "$id": "5701",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the code interpreter tool call item.",
"type": {
- "$id": "5297",
+ "$id": "5702",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66885,7 +71568,7 @@
]
},
"response.code_interpreter_call.in_progress": {
- "$id": "5298",
+ "$id": "5703",
"kind": "model",
"name": "ResponseCodeInterpreterCallInProgressEvent",
"namespace": "OpenAI",
@@ -66895,16 +71578,26 @@
"discriminatorValue": "response.code_interpreter_call.in_progress",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5299",
+ "$id": "5704",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.code_interpreter_call.in_progress`.",
"type": {
- "$ref": "768"
+ "$id": "5705",
+ "kind": "enumvalue",
+ "name": "response_code_interpreter_call_in_progress",
+ "value": "response.code_interpreter_call.in_progress",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66916,12 +71609,12 @@
"isHttpMetadata": false
},
{
- "$id": "5300",
+ "$id": "5706",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the code interpreter call is in progress.",
"type": {
- "$id": "5301",
+ "$id": "5707",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -66937,12 +71630,12 @@
"isHttpMetadata": false
},
{
- "$id": "5302",
+ "$id": "5708",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the code interpreter tool call item.",
"type": {
- "$id": "5303",
+ "$id": "5709",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -66960,7 +71653,7 @@
]
},
"response.code_interpreter_call.interpreting": {
- "$id": "5304",
+ "$id": "5710",
"kind": "model",
"name": "ResponseCodeInterpreterCallInterpretingEvent",
"namespace": "OpenAI",
@@ -66970,16 +71663,26 @@
"discriminatorValue": "response.code_interpreter_call.interpreting",
"decorators": [],
"baseModel": {
- "$ref": "4954"
+ "$ref": "5257"
},
"properties": [
{
- "$id": "5305",
+ "$id": "5711",
"kind": "property",
"name": "type",
"doc": "The type of the event. Always `response.code_interpreter_call.interpreting`.",
"type": {
- "$ref": "769"
+ "$id": "5712",
+ "kind": "enumvalue",
+ "name": "response_code_interpreter_call_interpreting",
+ "value": "response.code_interpreter_call.interpreting",
+ "valueType": {
+ "$ref": "774"
+ },
+ "enumType": {
+ "$ref": "5264"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -66991,12 +71694,12 @@
"isHttpMetadata": false
},
{
- "$id": "5306",
+ "$id": "5713",
"kind": "property",
"name": "output_index",
"doc": "The index of the output item that the code interpreter call is in progress.",
"type": {
- "$id": "5307",
+ "$id": "5714",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -67012,12 +71715,12 @@
"isHttpMetadata": false
},
{
- "$id": "5308",
+ "$id": "5715",
"kind": "property",
"name": "item_id",
"doc": "The unique identifier of the code interpreter tool call item.",
"type": {
- "$id": "5309",
+ "$id": "5716",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -67037,154 +71740,154 @@
}
},
{
- "$ref": "4958"
+ "$ref": "5261"
},
{
- "$ref": "4961"
+ "$ref": "5320"
},
{
- "$ref": "4970"
+ "$ref": "5330"
},
{
- "$ref": "4979"
+ "$ref": "5340"
},
{
- "$ref": "4982"
+ "$ref": "5344"
},
{
- "$ref": "4992"
+ "$ref": "5355"
},
{
- "$ref": "4998"
+ "$ref": "5362"
},
{
- "$ref": "5004"
+ "$ref": "5369"
},
{
- "$ref": "5010"
+ "$ref": "5376"
},
{
- "$ref": "5018"
+ "$ref": "5385"
},
{
- "$ref": "5026"
+ "$ref": "5394"
},
{
- "$ref": "5029"
+ "$ref": "5398"
},
{
- "$ref": "5032"
+ "$ref": "5402"
},
{
- "$ref": "5035"
+ "$ref": "5406"
},
{
- "$ref": "5040"
+ "$ref": "5412"
},
{
- "$ref": "5045"
+ "$ref": "5418"
},
{
- "$ref": "5055"
+ "$ref": "5429"
},
{
- "$ref": "5065"
+ "$ref": "5440"
},
{
- "$ref": "5075"
+ "$ref": "5451"
},
{
- "$ref": "5085"
+ "$ref": "5462"
},
{
- "$ref": "5094"
+ "$ref": "5472"
},
{
- "$ref": "5103"
+ "$ref": "5482"
},
{
- "$ref": "5113"
+ "$ref": "5493"
},
{
- "$ref": "5123"
+ "$ref": "5504"
},
{
- "$ref": "5129"
+ "$ref": "5511"
},
{
- "$ref": "5135"
+ "$ref": "5518"
},
{
- "$ref": "5141"
+ "$ref": "5525"
},
{
- "$ref": "5147"
+ "$ref": "5532"
},
{
- "$ref": "5153"
+ "$ref": "5539"
},
{
- "$ref": "5159"
+ "$ref": "5546"
},
{
- "$ref": "5169"
+ "$ref": "5557"
},
{
- "$ref": "5177"
+ "$ref": "5566"
},
{
- "$ref": "5185"
+ "$ref": "5575"
},
{
- "$ref": "5191"
+ "$ref": "5582"
},
{
- "$ref": "5197"
+ "$ref": "5589"
},
{
- "$ref": "5203"
+ "$ref": "5596"
},
{
- "$ref": "5209"
+ "$ref": "5603"
},
{
- "$ref": "5215"
+ "$ref": "5610"
},
{
- "$ref": "5221"
+ "$ref": "5617"
},
{
- "$ref": "5233"
+ "$ref": "5630"
},
{
- "$ref": "5236"
+ "$ref": "5634"
},
{
- "$ref": "5246"
+ "$ref": "5645"
},
{
- "$ref": "5256"
+ "$ref": "5656"
},
{
- "$ref": "5266"
+ "$ref": "5667"
},
{
- "$ref": "5276"
+ "$ref": "5678"
},
{
- "$ref": "5284"
+ "$ref": "5687"
},
{
- "$ref": "5292"
+ "$ref": "5696"
},
{
- "$ref": "5298"
+ "$ref": "5703"
},
{
- "$ref": "5304"
+ "$ref": "5710"
},
{
- "$id": "5310",
+ "$id": "5717",
"kind": "model",
"name": "ResponseErrorResponse",
"namespace": "OpenAI",
@@ -67193,12 +71896,12 @@
"decorators": [],
"properties": [
{
- "$id": "5311",
+ "$id": "5718",
"kind": "property",
"name": "error",
"serializedName": "error",
"type": {
- "$ref": "4800"
+ "$ref": "5103"
},
"optional": false,
"readOnly": false,
@@ -67216,7 +71919,7 @@
]
},
{
- "$id": "5312",
+ "$id": "5719",
"kind": "model",
"name": "DeleteResponseResponse",
"namespace": "OpenAI",
@@ -67225,12 +71928,12 @@
"decorators": [],
"properties": [
{
- "$id": "5313",
+ "$id": "5720",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "5314",
+ "$id": "5721",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -67250,12 +71953,12 @@
"isHttpMetadata": false
},
{
- "$id": "5315",
+ "$id": "5722",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1631"
+ "$ref": "1661"
},
"optional": false,
"readOnly": false,
@@ -67271,12 +71974,12 @@
"isHttpMetadata": false
},
{
- "$id": "5316",
+ "$id": "5723",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$ref": "1633"
+ "$ref": "1663"
},
"optional": false,
"readOnly": false,
@@ -67294,7 +71997,7 @@
]
},
{
- "$id": "5317",
+ "$id": "5724",
"kind": "model",
"name": "ResponseItemList",
"namespace": "OpenAI",
@@ -67304,13 +72007,13 @@
"decorators": [],
"properties": [
{
- "$id": "5318",
+ "$id": "5725",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The type of object returned, must be `list`.",
"type": {
- "$ref": "1635"
+ "$ref": "1665"
},
"optional": false,
"readOnly": false,
@@ -67326,13 +72029,13 @@
"isHttpMetadata": false
},
{
- "$id": "5319",
+ "$id": "5726",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "A list of items used to generate this response.",
"type": {
- "$ref": "4809"
+ "$ref": "5112"
},
"optional": false,
"readOnly": false,
@@ -67348,13 +72051,13 @@
"isHttpMetadata": false
},
{
- "$id": "5320",
+ "$id": "5727",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Whether there are more items available.",
"type": {
- "$id": "5321",
+ "$id": "5728",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -67374,13 +72077,13 @@
"isHttpMetadata": false
},
{
- "$id": "5322",
+ "$id": "5729",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"doc": "The ID of the first item in the list.",
"type": {
- "$id": "5323",
+ "$id": "5730",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -67400,13 +72103,13 @@
"isHttpMetadata": false
},
{
- "$id": "5324",
+ "$id": "5731",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"doc": "The ID of the last item in the list.",
"type": {
- "$id": "5325",
+ "$id": "5732",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -67428,7 +72131,7 @@
]
},
{
- "$id": "5326",
+ "$id": "5733",
"kind": "model",
"name": "CreateImageRequest",
"namespace": "OpenAI",
@@ -67437,13 +72140,13 @@
"decorators": [],
"properties": [
{
- "$id": "5327",
+ "$id": "5734",
"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": "5328",
+ "$id": "5735",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -67463,16 +72166,16 @@
"isHttpMetadata": false
},
{
- "$id": "5329",
+ "$id": "5736",
"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": "5330",
+ "$id": "5737",
"kind": "nullable",
"type": {
- "$ref": "814"
+ "$ref": "828"
},
"namespace": "OpenAI"
},
@@ -67490,16 +72193,16 @@
"isHttpMetadata": false
},
{
- "$id": "5331",
+ "$id": "5738",
"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": "5332",
+ "$id": "5739",
"kind": "nullable",
"type": {
- "$id": "5333",
+ "$id": "5740",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -67521,16 +72224,16 @@
"isHttpMetadata": false
},
{
- "$id": "5334",
+ "$id": "5741",
"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": "5335",
+ "$id": "5742",
"kind": "nullable",
"type": {
- "$ref": "819"
+ "$ref": "833"
},
"namespace": "OpenAI"
},
@@ -67548,16 +72251,16 @@
"isHttpMetadata": false
},
{
- "$id": "5336",
+ "$id": "5743",
"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": "5337",
+ "$id": "5744",
"kind": "nullable",
"type": {
- "$ref": "827"
+ "$ref": "841"
},
"namespace": "OpenAI"
},
@@ -67575,16 +72278,16 @@
"isHttpMetadata": false
},
{
- "$id": "5338",
+ "$id": "5745",
"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": "5339",
+ "$id": "5746",
"kind": "nullable",
"type": {
- "$ref": "831"
+ "$ref": "845"
},
"namespace": "OpenAI"
},
@@ -67602,16 +72305,16 @@
"isHttpMetadata": false
},
{
- "$id": "5340",
+ "$id": "5747",
"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": "5341",
+ "$id": "5748",
"kind": "nullable",
"type": {
- "$id": "5342",
+ "$id": "5749",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -67633,16 +72336,16 @@
"isHttpMetadata": false
},
{
- "$id": "5343",
+ "$id": "5750",
"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": "5344",
+ "$id": "5751",
"kind": "nullable",
"type": {
- "$ref": "836"
+ "$ref": "850"
},
"namespace": "OpenAI"
},
@@ -67660,16 +72363,16 @@
"isHttpMetadata": false
},
{
- "$id": "5345",
+ "$id": "5752",
"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": "5346",
+ "$id": "5753",
"kind": "nullable",
"type": {
- "$ref": "846"
+ "$ref": "860"
},
"namespace": "OpenAI"
},
@@ -67687,16 +72390,16 @@
"isHttpMetadata": false
},
{
- "$id": "5347",
+ "$id": "5754",
"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": "5348",
+ "$id": "5755",
"kind": "nullable",
"type": {
- "$ref": "850"
+ "$ref": "864"
},
"namespace": "OpenAI"
},
@@ -67714,16 +72417,16 @@
"isHttpMetadata": false
},
{
- "$id": "5349",
+ "$id": "5756",
"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": "5350",
+ "$id": "5757",
"kind": "nullable",
"type": {
- "$ref": "855"
+ "$ref": "869"
},
"namespace": "OpenAI"
},
@@ -67741,13 +72444,13 @@
"isHttpMetadata": false
},
{
- "$id": "5351",
+ "$id": "5758",
"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": "5352",
+ "$id": "5759",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -67769,7 +72472,7 @@
]
},
{
- "$id": "5353",
+ "$id": "5760",
"kind": "model",
"name": "ImagesResponse",
"namespace": "OpenAI",
@@ -67779,18 +72482,18 @@
"decorators": [],
"properties": [
{
- "$id": "5354",
+ "$id": "5761",
"kind": "property",
"name": "created",
"serializedName": "created",
"doc": "The Unix timestamp (in seconds) of when the image was created.",
"type": {
- "$id": "5355",
+ "$id": "5762",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5356",
+ "$id": "5763",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -67813,17 +72516,17 @@
"isHttpMetadata": false
},
{
- "$id": "5357",
+ "$id": "5764",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "The list of generated images.",
"type": {
- "$id": "5358",
+ "$id": "5765",
"kind": "array",
"name": "ArrayImage",
"valueType": {
- "$id": "5359",
+ "$id": "5766",
"kind": "model",
"name": "Image",
"namespace": "OpenAI",
@@ -67833,13 +72536,13 @@
"decorators": [],
"properties": [
{
- "$id": "5360",
+ "$id": "5767",
"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": "5361",
+ "$id": "5768",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -67860,13 +72563,13 @@
"isHttpMetadata": false
},
{
- "$id": "5362",
+ "$id": "5769",
"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": "5363",
+ "$id": "5770",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -67886,13 +72589,13 @@
"isHttpMetadata": false
},
{
- "$id": "5364",
+ "$id": "5771",
"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": "5365",
+ "$id": "5772",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -67930,13 +72633,13 @@
"isHttpMetadata": false
},
{
- "$id": "5366",
+ "$id": "5773",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"doc": "For `gpt-image-1` only, the token usage information for the image generation.",
"type": {
- "$id": "5367",
+ "$id": "5774",
"kind": "model",
"name": "ImagesResponseUsage",
"namespace": "OpenAI",
@@ -67945,13 +72648,13 @@
"decorators": [],
"properties": [
{
- "$id": "5368",
+ "$id": "5775",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "The total number of tokens (images and text) used for the image generation.",
"type": {
- "$id": "5369",
+ "$id": "5776",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -67971,13 +72674,13 @@
"isHttpMetadata": false
},
{
- "$id": "5370",
+ "$id": "5777",
"kind": "property",
"name": "input_tokens",
"serializedName": "input_tokens",
"doc": "The number of tokens (images and text) in the input prompt.",
"type": {
- "$id": "5371",
+ "$id": "5778",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -67997,13 +72700,13 @@
"isHttpMetadata": false
},
{
- "$id": "5372",
+ "$id": "5779",
"kind": "property",
"name": "output_tokens",
"serializedName": "output_tokens",
"doc": "The number of image tokens in the output image.",
"type": {
- "$id": "5373",
+ "$id": "5780",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -68023,13 +72726,13 @@
"isHttpMetadata": false
},
{
- "$id": "5374",
+ "$id": "5781",
"kind": "property",
"name": "input_tokens_details",
"serializedName": "input_tokens_details",
"doc": "The input tokens detailed information for the image generation.",
"type": {
- "$id": "5375",
+ "$id": "5782",
"kind": "model",
"name": "ImagesResponseUsageInputTokensDetails",
"namespace": "OpenAI",
@@ -68038,13 +72741,13 @@
"decorators": [],
"properties": [
{
- "$id": "5376",
+ "$id": "5783",
"kind": "property",
"name": "text_tokens",
"serializedName": "text_tokens",
"doc": "The number of text tokens in the input prompt.",
"type": {
- "$id": "5377",
+ "$id": "5784",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -68064,13 +72767,13 @@
"isHttpMetadata": false
},
{
- "$id": "5378",
+ "$id": "5785",
"kind": "property",
"name": "image_tokens",
"serializedName": "image_tokens",
"doc": "The number of image tokens in the input prompt.",
"type": {
- "$id": "5379",
+ "$id": "5786",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -68122,16 +72825,16 @@
]
},
{
- "$ref": "5359"
+ "$ref": "5766"
},
{
- "$ref": "5367"
+ "$ref": "5774"
},
{
- "$ref": "5375"
+ "$ref": "5782"
},
{
- "$id": "5380",
+ "$id": "5787",
"kind": "model",
"name": "CreateImageEditRequest",
"namespace": "OpenAI",
@@ -68140,18 +72843,18 @@
"decorators": [],
"properties": [
{
- "$id": "5381",
+ "$id": "5788",
"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": "5382",
+ "$id": "5789",
"kind": "union",
"name": "CreateImageEditRequestImage",
"variantTypes": [
{
- "$id": "5383",
+ "$id": "5790",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -68159,11 +72862,11 @@
"decorators": []
},
{
- "$id": "5384",
+ "$id": "5791",
"kind": "array",
"name": "Array25",
"valueType": {
- "$id": "5385",
+ "$id": "5792",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -68198,13 +72901,13 @@
"isHttpMetadata": false
},
{
- "$id": "5386",
+ "$id": "5793",
"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": "5387",
+ "$id": "5794",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -68230,13 +72933,13 @@
"isHttpMetadata": false
},
{
- "$id": "5388",
+ "$id": "5795",
"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": "5389",
+ "$id": "5796",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -68263,16 +72966,16 @@
"isHttpMetadata": false
},
{
- "$id": "5390",
+ "$id": "5797",
"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": "5391",
+ "$id": "5798",
"kind": "nullable",
"type": {
- "$ref": "859"
+ "$ref": "873"
},
"namespace": "OpenAI"
},
@@ -68296,16 +72999,16 @@
"isHttpMetadata": false
},
{
- "$id": "5392",
+ "$id": "5799",
"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": "5393",
+ "$id": "5800",
"kind": "nullable",
"type": {
- "$ref": "864"
+ "$ref": "878"
},
"namespace": "OpenAI"
},
@@ -68329,21 +73032,21 @@
"isHttpMetadata": false
},
{
- "$id": "5394",
+ "$id": "5801",
"kind": "property",
"name": "n",
"serializedName": "n",
"doc": "The number of images to generate. Must be between 1 and 10.",
"type": {
- "$id": "5395",
+ "$id": "5802",
"kind": "nullable",
"type": {
- "$id": "5396",
+ "$id": "5803",
"kind": "int32",
"name": "OneToTenInt",
"crossLanguageDefinitionId": "OpenAI.OneToTenInt",
"baseType": {
- "$id": "5397",
+ "$id": "5804",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -68373,16 +73076,16 @@
"isHttpMetadata": false
},
{
- "$id": "5398",
+ "$id": "5805",
"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": "5399",
+ "$id": "5806",
"kind": "nullable",
"type": {
- "$ref": "868"
+ "$ref": "882"
},
"namespace": "OpenAI"
},
@@ -68406,16 +73109,16 @@
"isHttpMetadata": false
},
{
- "$id": "5400",
+ "$id": "5807",
"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": "5401",
+ "$id": "5808",
"kind": "nullable",
"type": {
- "$ref": "876"
+ "$ref": "890"
},
"namespace": "OpenAI"
},
@@ -68439,13 +73142,13 @@
"isHttpMetadata": false
},
{
- "$id": "5402",
+ "$id": "5809",
"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": "5403",
+ "$id": "5810",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -68471,16 +73174,16 @@
"isHttpMetadata": false
},
{
- "$id": "5404",
+ "$id": "5811",
"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": "5405",
+ "$id": "5812",
"kind": "nullable",
"type": {
- "$ref": "880"
+ "$ref": "894"
},
"namespace": "OpenAI"
},
@@ -68506,7 +73209,7 @@
]
},
{
- "$id": "5406",
+ "$id": "5813",
"kind": "model",
"name": "CreateImageVariationRequest",
"namespace": "OpenAI",
@@ -68515,13 +73218,13 @@
"decorators": [],
"properties": [
{
- "$id": "5407",
+ "$id": "5814",
"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": "5408",
+ "$id": "5815",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -68548,16 +73251,16 @@
"isHttpMetadata": false
},
{
- "$id": "5409",
+ "$id": "5816",
"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": "5410",
+ "$id": "5817",
"kind": "nullable",
"type": {
- "$ref": "887"
+ "$ref": "901"
},
"namespace": "OpenAI"
},
@@ -68581,21 +73284,21 @@
"isHttpMetadata": false
},
{
- "$id": "5411",
+ "$id": "5818",
"kind": "property",
"name": "n",
"serializedName": "n",
"doc": "The number of images to generate. Must be between 1 and 10.",
"type": {
- "$id": "5412",
+ "$id": "5819",
"kind": "nullable",
"type": {
- "$id": "5413",
+ "$id": "5820",
"kind": "int32",
"name": "OneToTenInt",
"crossLanguageDefinitionId": "OpenAI.OneToTenInt",
"baseType": {
- "$id": "5414",
+ "$id": "5821",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -68625,16 +73328,16 @@
"isHttpMetadata": false
},
{
- "$id": "5415",
+ "$id": "5822",
"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": "5416",
+ "$id": "5823",
"kind": "nullable",
"type": {
- "$ref": "890"
+ "$ref": "904"
},
"namespace": "OpenAI"
},
@@ -68658,16 +73361,16 @@
"isHttpMetadata": false
},
{
- "$id": "5417",
+ "$id": "5824",
"kind": "property",
"name": "size",
"serializedName": "size",
"doc": "The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.",
"type": {
- "$id": "5418",
+ "$id": "5825",
"kind": "nullable",
"type": {
- "$ref": "894"
+ "$ref": "908"
},
"namespace": "OpenAI"
},
@@ -68691,13 +73394,13 @@
"isHttpMetadata": false
},
{
- "$id": "5419",
+ "$id": "5826",
"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": "5420",
+ "$id": "5827",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -68725,7 +73428,7 @@
]
},
{
- "$id": "5421",
+ "$id": "5828",
"kind": "model",
"name": "CreateMessageRequest",
"namespace": "OpenAI",
@@ -68734,13 +73437,13 @@
"decorators": [],
"properties": [
{
- "$id": "5422",
+ "$id": "5829",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The role of the entity that is creating the message. Allowed values include:\n- `user`: Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages.\n- `assistant`: Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation.",
"type": {
- "$ref": "899"
+ "$ref": "913"
},
"optional": false,
"readOnly": false,
@@ -68756,16 +73459,16 @@
"isHttpMetadata": false
},
{
- "$id": "5423",
+ "$id": "5830",
"kind": "property",
"name": "content",
"serializedName": "content",
"type": {
- "$id": "5424",
+ "$id": "5831",
"kind": "array",
"name": "ArrayMessageContent",
"valueType": {
- "$id": "5425",
+ "$id": "5832",
"kind": "model",
"name": "MessageContent",
"namespace": "OpenAI",
@@ -68775,12 +73478,12 @@
"doc": "Represents a single piece of content in an Assistants API message.",
"decorators": [],
"discriminatorProperty": {
- "$id": "5426",
+ "$id": "5833",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "903"
+ "$ref": "917"
},
"optional": false,
"readOnly": false,
@@ -68797,12 +73500,12 @@
},
"properties": [
{
- "$ref": "5426"
+ "$ref": "5833"
}
],
"discriminatedSubtypes": {
"image_file": {
- "$id": "5427",
+ "$id": "5834",
"kind": "model",
"name": "MessageContentImageFileObject",
"namespace": "OpenAI",
@@ -68813,17 +73516,107 @@
"discriminatorValue": "image_file",
"decorators": [],
"baseModel": {
- "$ref": "5425"
+ "$ref": "5832"
},
"properties": [
{
- "$id": "5428",
+ "$id": "5835",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `image_file`.",
"type": {
- "$ref": "906"
+ "$id": "5836",
+ "kind": "enumvalue",
+ "name": "image_file",
+ "value": "image_file",
+ "valueType": {
+ "$ref": "918"
+ },
+ "enumType": {
+ "$id": "5837",
+ "kind": "enum",
+ "decorators": [],
+ "name": "MessageContentType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "5838",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "5839",
+ "kind": "enumvalue",
+ "decorators": [],
+ "doc": "The content is a text message.",
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "5838"
+ },
+ "enumType": {
+ "$ref": "5837"
+ }
+ },
+ {
+ "$id": "5840",
+ "kind": "enumvalue",
+ "decorators": [],
+ "doc": "The content is an image file.",
+ "name": "image_file",
+ "value": "image_file",
+ "valueType": {
+ "$ref": "5838"
+ },
+ "enumType": {
+ "$ref": "5837"
+ }
+ },
+ {
+ "$id": "5841",
+ "kind": "enumvalue",
+ "decorators": [],
+ "doc": "The content is an image URL.",
+ "name": "image_url",
+ "value": "image_url",
+ "valueType": {
+ "$ref": "5838"
+ },
+ "enumType": {
+ "$ref": "5837"
+ }
+ },
+ {
+ "$id": "5842",
+ "kind": "enumvalue",
+ "decorators": [],
+ "doc": "The content is a refusal message.",
+ "name": "refusal",
+ "value": "refusal",
+ "valueType": {
+ "$ref": "5838"
+ },
+ "enumType": {
+ "$ref": "5837"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.MessageContentType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "doc": "The content is an image file.",
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -68839,12 +73632,12 @@
"isHttpMetadata": false
},
{
- "$id": "5429",
+ "$id": "5843",
"kind": "property",
"name": "image_file",
"serializedName": "image_file",
"type": {
- "$id": "5430",
+ "$id": "5844",
"kind": "model",
"name": "MessageContentImageFileObjectImageFile",
"namespace": "OpenAI",
@@ -68853,13 +73646,13 @@
"decorators": [],
"properties": [
{
- "$id": "5431",
+ "$id": "5845",
"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": "5432",
+ "$id": "5846",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -68879,13 +73672,13 @@
"isHttpMetadata": false
},
{
- "$id": "5433",
+ "$id": "5847",
"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": "909"
+ "$ref": "923"
},
"optional": true,
"readOnly": false,
@@ -68918,7 +73711,7 @@
]
},
"text": {
- "$id": "5434",
+ "$id": "5848",
"kind": "model",
"name": "MessageContentTextObject",
"namespace": "OpenAI",
@@ -68929,17 +73722,28 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$ref": "5425"
+ "$ref": "5832"
},
"properties": [
{
- "$id": "5435",
+ "$id": "5849",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `text`.",
"type": {
- "$ref": "905"
+ "$id": "5850",
+ "kind": "enumvalue",
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "918"
+ },
+ "enumType": {
+ "$ref": "5837"
+ },
+ "doc": "The content is a text message.",
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -68955,24 +73759,24 @@
"isHttpMetadata": false
},
{
- "$id": "5436",
+ "$id": "5851",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "5437",
+ "$id": "5852",
"kind": "union",
"name": "MessageContentTextObjectText",
"variantTypes": [
{
- "$id": "5438",
+ "$id": "5853",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$id": "5439",
+ "$id": "5854",
"kind": "model",
"name": "MessageContentTextObjectText1",
"namespace": "OpenAI",
@@ -68981,12 +73785,12 @@
"decorators": [],
"properties": [
{
- "$id": "5440",
+ "$id": "5855",
"kind": "property",
"name": "value",
"serializedName": "value",
"type": {
- "$id": "5441",
+ "$id": "5856",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69006,16 +73810,16 @@
"isHttpMetadata": false
},
{
- "$id": "5442",
+ "$id": "5857",
"kind": "property",
"name": "annotations",
"serializedName": "annotations",
"type": {
- "$id": "5443",
+ "$id": "5858",
"kind": "array",
"name": "ArrayMessageContentTextObjectAnnotation",
"valueType": {
- "$id": "5444",
+ "$id": "5859",
"kind": "model",
"name": "MessageContentTextObjectAnnotation",
"namespace": "OpenAI",
@@ -69024,13 +73828,13 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "5445",
+ "$id": "5860",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The discriminated type identifier for the content item.",
"type": {
- "$ref": "914"
+ "$ref": "928"
},
"optional": false,
"readOnly": false,
@@ -69047,12 +73851,12 @@
},
"properties": [
{
- "$ref": "5445"
+ "$ref": "5860"
}
],
"discriminatedSubtypes": {
"file_citation": {
- "$id": "5446",
+ "$id": "5861",
"kind": "model",
"name": "MessageContentTextAnnotationsFileCitationObject",
"namespace": "OpenAI",
@@ -69063,17 +73867,76 @@
"discriminatorValue": "file_citation",
"decorators": [],
"baseModel": {
- "$ref": "5444"
+ "$ref": "5859"
},
"properties": [
{
- "$id": "5447",
+ "$id": "5862",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `file_citation`.",
"type": {
- "$ref": "916"
+ "$id": "5863",
+ "kind": "enumvalue",
+ "name": "file_citation",
+ "value": "file_citation",
+ "valueType": {
+ "$ref": "929"
+ },
+ "enumType": {
+ "$id": "5864",
+ "kind": "enum",
+ "decorators": [],
+ "name": "MessageContentTextAnnotationType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "5865",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "5866",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_citation",
+ "value": "file_citation",
+ "valueType": {
+ "$ref": "5865"
+ },
+ "enumType": {
+ "$ref": "5864"
+ }
+ },
+ {
+ "$id": "5867",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_path",
+ "value": "file_path",
+ "valueType": {
+ "$ref": "5865"
+ },
+ "enumType": {
+ "$ref": "5864"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.MessageContentTextAnnotationType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -69089,13 +73952,13 @@
"isHttpMetadata": false
},
{
- "$id": "5448",
+ "$id": "5868",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text in the message content that needs to be replaced.",
"type": {
- "$id": "5449",
+ "$id": "5869",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69115,12 +73978,12 @@
"isHttpMetadata": false
},
{
- "$id": "5450",
+ "$id": "5870",
"kind": "property",
"name": "file_citation",
"serializedName": "file_citation",
"type": {
- "$id": "5451",
+ "$id": "5871",
"kind": "model",
"name": "MessageContentTextAnnotationsFileCitationObjectFileCitation",
"namespace": "OpenAI",
@@ -69129,13 +73992,13 @@
"decorators": [],
"properties": [
{
- "$id": "5452",
+ "$id": "5872",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the specific File the citation is from.",
"type": {
- "$id": "5453",
+ "$id": "5873",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69170,12 +74033,12 @@
"isHttpMetadata": false
},
{
- "$id": "5454",
+ "$id": "5874",
"kind": "property",
"name": "start_index",
"serializedName": "start_index",
"type": {
- "$id": "5455",
+ "$id": "5875",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -69195,12 +74058,12 @@
"isHttpMetadata": false
},
{
- "$id": "5456",
+ "$id": "5876",
"kind": "property",
"name": "end_index",
"serializedName": "end_index",
"type": {
- "$id": "5457",
+ "$id": "5877",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -69222,7 +74085,7 @@
]
},
"file_path": {
- "$id": "5458",
+ "$id": "5878",
"kind": "model",
"name": "MessageContentTextAnnotationsFilePathObject",
"namespace": "OpenAI",
@@ -69233,17 +74096,27 @@
"discriminatorValue": "file_path",
"decorators": [],
"baseModel": {
- "$ref": "5444"
+ "$ref": "5859"
},
"properties": [
{
- "$id": "5459",
+ "$id": "5879",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `file_path`.",
"type": {
- "$ref": "917"
+ "$id": "5880",
+ "kind": "enumvalue",
+ "name": "file_path",
+ "value": "file_path",
+ "valueType": {
+ "$ref": "929"
+ },
+ "enumType": {
+ "$ref": "5864"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -69259,13 +74132,13 @@
"isHttpMetadata": false
},
{
- "$id": "5460",
+ "$id": "5881",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text in the message content that needs to be replaced.",
"type": {
- "$id": "5461",
+ "$id": "5882",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69285,12 +74158,12 @@
"isHttpMetadata": false
},
{
- "$id": "5462",
+ "$id": "5883",
"kind": "property",
"name": "file_path",
"serializedName": "file_path",
"type": {
- "$id": "5463",
+ "$id": "5884",
"kind": "model",
"name": "MessageContentTextAnnotationsFilePathObjectFilePath",
"namespace": "OpenAI",
@@ -69299,13 +74172,13 @@
"decorators": [],
"properties": [
{
- "$id": "5464",
+ "$id": "5885",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file that was generated.",
"type": {
- "$id": "5465",
+ "$id": "5886",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69340,12 +74213,12 @@
"isHttpMetadata": false
},
{
- "$id": "5466",
+ "$id": "5887",
"kind": "property",
"name": "start_index",
"serializedName": "start_index",
"type": {
- "$id": "5467",
+ "$id": "5888",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -69365,12 +74238,12 @@
"isHttpMetadata": false
},
{
- "$id": "5468",
+ "$id": "5889",
"kind": "property",
"name": "end_index",
"serializedName": "end_index",
"type": {
- "$id": "5469",
+ "$id": "5890",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -69431,7 +74304,7 @@
]
},
"refusal": {
- "$id": "5470",
+ "$id": "5891",
"kind": "model",
"name": "MessageContentRefusalObject",
"namespace": "OpenAI",
@@ -69442,17 +74315,28 @@
"discriminatorValue": "refusal",
"decorators": [],
"baseModel": {
- "$ref": "5425"
+ "$ref": "5832"
},
"properties": [
{
- "$id": "5471",
+ "$id": "5892",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `refusal`.",
"type": {
- "$ref": "908"
+ "$id": "5893",
+ "kind": "enumvalue",
+ "name": "refusal",
+ "value": "refusal",
+ "valueType": {
+ "$ref": "918"
+ },
+ "enumType": {
+ "$ref": "5837"
+ },
+ "doc": "The content is a refusal message.",
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -69468,12 +74352,12 @@
"isHttpMetadata": false
},
{
- "$id": "5472",
+ "$id": "5894",
"kind": "property",
"name": "refusal",
"serializedName": "refusal",
"type": {
- "$id": "5473",
+ "$id": "5895",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69495,7 +74379,7 @@
]
},
"image_url": {
- "$id": "5474",
+ "$id": "5896",
"kind": "model",
"name": "MessageContentImageUrlObject",
"namespace": "OpenAI",
@@ -69506,17 +74390,28 @@
"discriminatorValue": "image_url",
"decorators": [],
"baseModel": {
- "$ref": "5425"
+ "$ref": "5832"
},
"properties": [
{
- "$id": "5475",
+ "$id": "5897",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the content part.",
"type": {
- "$ref": "907"
+ "$id": "5898",
+ "kind": "enumvalue",
+ "name": "image_url",
+ "value": "image_url",
+ "valueType": {
+ "$ref": "918"
+ },
+ "enumType": {
+ "$ref": "5837"
+ },
+ "doc": "The content is an image URL.",
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -69532,12 +74427,12 @@
"isHttpMetadata": false
},
{
- "$id": "5476",
+ "$id": "5899",
"kind": "property",
"name": "image_url",
"serializedName": "image_url",
"type": {
- "$id": "5477",
+ "$id": "5900",
"kind": "model",
"name": "MessageContentImageUrlObjectImageUrl",
"namespace": "OpenAI",
@@ -69546,13 +74441,13 @@
"decorators": [],
"properties": [
{
- "$id": "5478",
+ "$id": "5901",
"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": "5479",
+ "$id": "5902",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -69572,13 +74467,13 @@
"isHttpMetadata": false
},
{
- "$id": "5480",
+ "$id": "5903",
"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`. Default value is `auto`",
"type": {
- "$ref": "918"
+ "$ref": "932"
},
"optional": true,
"readOnly": false,
@@ -69629,20 +74524,20 @@
"isHttpMetadata": false
},
{
- "$id": "5481",
+ "$id": "5904",
"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": "5482",
+ "$id": "5905",
"kind": "nullable",
"type": {
- "$id": "5483",
+ "$id": "5906",
"kind": "array",
"name": "Array26",
"valueType": {
- "$id": "5484",
+ "$id": "5907",
"kind": "model",
"name": "CreateMessageRequestAttachment",
"namespace": "OpenAI",
@@ -69651,13 +74546,13 @@
"decorators": [],
"properties": [
{
- "$id": "5485",
+ "$id": "5908",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to attach to the message.",
"type": {
- "$id": "5486",
+ "$id": "5909",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69677,25 +74572,25 @@
"isHttpMetadata": false
},
{
- "$id": "5487",
+ "$id": "5910",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "The tools to add this file to.",
"type": {
- "$id": "5488",
+ "$id": "5911",
"kind": "array",
"name": "Array27",
"valueType": {
- "$id": "5489",
+ "$id": "5912",
"kind": "union",
"name": "CreateMessageRequestAttachmentTool",
"variantTypes": [
{
- "$ref": "2313"
+ "$ref": "2333"
},
{
- "$id": "5490",
+ "$id": "5913",
"kind": "model",
"name": "AssistantToolsFileSearchTypeOnly",
"namespace": "OpenAI",
@@ -69704,13 +74599,13 @@
"decorators": [],
"properties": [
{
- "$id": "5491",
+ "$id": "5914",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of tool being defined: `file_search`",
"type": {
- "$ref": "1637"
+ "$ref": "1667"
},
"optional": false,
"readOnly": false,
@@ -69768,13 +74663,13 @@
"isHttpMetadata": false
},
{
- "$id": "5492",
+ "$id": "5915",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -69792,52 +74687,52 @@
]
},
{
- "$ref": "5425"
+ "$ref": "5832"
},
{
- "$ref": "5427"
+ "$ref": "5834"
},
{
- "$ref": "5430"
+ "$ref": "5844"
},
{
- "$ref": "5434"
+ "$ref": "5848"
},
{
- "$ref": "5439"
+ "$ref": "5854"
},
{
- "$ref": "5444"
+ "$ref": "5859"
},
{
- "$ref": "5446"
+ "$ref": "5861"
},
{
- "$ref": "5451"
+ "$ref": "5871"
},
{
- "$ref": "5458"
+ "$ref": "5878"
},
{
- "$ref": "5463"
+ "$ref": "5884"
},
{
- "$ref": "5470"
+ "$ref": "5891"
},
{
- "$ref": "5474"
+ "$ref": "5896"
},
{
- "$ref": "5477"
+ "$ref": "5900"
},
{
- "$ref": "5484"
+ "$ref": "5907"
},
{
- "$ref": "5490"
+ "$ref": "5913"
},
{
- "$id": "5493",
+ "$id": "5916",
"kind": "model",
"name": "MessageObject",
"namespace": "OpenAI",
@@ -69847,13 +74742,13 @@
"decorators": [],
"properties": [
{
- "$id": "5494",
+ "$id": "5917",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "5495",
+ "$id": "5918",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69873,13 +74768,13 @@
"isHttpMetadata": false
},
{
- "$id": "5496",
+ "$id": "5919",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `thread.message`.",
"type": {
- "$ref": "1639"
+ "$ref": "1669"
},
"optional": false,
"readOnly": false,
@@ -69895,18 +74790,18 @@
"isHttpMetadata": false
},
{
- "$id": "5497",
+ "$id": "5920",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the message was created.",
"type": {
- "$id": "5498",
+ "$id": "5921",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5499",
+ "$id": "5922",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -69929,13 +74824,13 @@
"isHttpMetadata": false
},
{
- "$id": "5500",
+ "$id": "5923",
"kind": "property",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The [thread](/docs/api-reference/threads) ID that this message belongs to.",
"type": {
- "$id": "5501",
+ "$id": "5924",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -69955,13 +74850,13 @@
"isHttpMetadata": false
},
{
- "$id": "5502",
+ "$id": "5925",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the message, which can be either `in_progress`, `incomplete`, or `completed`.",
"type": {
- "$ref": "923"
+ "$ref": "937"
},
"optional": false,
"readOnly": false,
@@ -69977,16 +74872,16 @@
"isHttpMetadata": false
},
{
- "$id": "5503",
+ "$id": "5926",
"kind": "property",
"name": "incomplete_details",
"serializedName": "incomplete_details",
"doc": "On an incomplete message, details about why the message is incomplete.",
"type": {
- "$id": "5504",
+ "$id": "5927",
"kind": "nullable",
"type": {
- "$id": "5505",
+ "$id": "5928",
"kind": "model",
"name": "MessageObjectIncompleteDetails1",
"namespace": "OpenAI",
@@ -69995,13 +74890,13 @@
"decorators": [],
"properties": [
{
- "$id": "5506",
+ "$id": "5929",
"kind": "property",
"name": "reason",
"serializedName": "reason",
"doc": "The reason the message is incomplete.",
"type": {
- "$ref": "928"
+ "$ref": "942"
},
"optional": false,
"readOnly": false,
@@ -70034,21 +74929,21 @@
"isHttpMetadata": false
},
{
- "$id": "5507",
+ "$id": "5930",
"kind": "property",
"name": "completed_at",
"serializedName": "completed_at",
"doc": "The Unix timestamp (in seconds) for when the message was completed.",
"type": {
- "$id": "5508",
+ "$id": "5931",
"kind": "nullable",
"type": {
- "$id": "5509",
+ "$id": "5932",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5510",
+ "$id": "5933",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -70073,21 +74968,21 @@
"isHttpMetadata": false
},
{
- "$id": "5511",
+ "$id": "5934",
"kind": "property",
"name": "incomplete_at",
"serializedName": "incomplete_at",
"doc": "The Unix timestamp (in seconds) for when the message was marked as incomplete.",
"type": {
- "$id": "5512",
+ "$id": "5935",
"kind": "nullable",
"type": {
- "$id": "5513",
+ "$id": "5936",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5514",
+ "$id": "5937",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -70112,13 +75007,13 @@
"isHttpMetadata": false
},
{
- "$id": "5515",
+ "$id": "5938",
"kind": "property",
"name": "role",
"serializedName": "role",
"doc": "The entity that produced the message. One of `user` or `assistant`.",
"type": {
- "$ref": "935"
+ "$ref": "949"
},
"optional": false,
"readOnly": false,
@@ -70134,13 +75029,13 @@
"isHttpMetadata": false
},
{
- "$id": "5516",
+ "$id": "5939",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "The content of the message in array of text and/or images.",
"type": {
- "$ref": "5424"
+ "$ref": "5831"
},
"optional": false,
"readOnly": true,
@@ -70156,16 +75051,16 @@
"isHttpMetadata": false
},
{
- "$id": "5517",
+ "$id": "5940",
"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": "5518",
+ "$id": "5941",
"kind": "nullable",
"type": {
- "$id": "5519",
+ "$id": "5942",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70187,16 +75082,16 @@
"isHttpMetadata": false
},
{
- "$id": "5520",
+ "$id": "5943",
"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": "5521",
+ "$id": "5944",
"kind": "nullable",
"type": {
- "$id": "5522",
+ "$id": "5945",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70218,20 +75113,20 @@
"isHttpMetadata": false
},
{
- "$id": "5523",
+ "$id": "5946",
"kind": "property",
"name": "attachments",
"serializedName": "attachments",
"doc": "A list of files attached to the message, and the tools they were added to.",
"type": {
- "$id": "5524",
+ "$id": "5947",
"kind": "nullable",
"type": {
- "$id": "5525",
+ "$id": "5948",
"kind": "array",
"name": "Array28",
"valueType": {
- "$id": "5526",
+ "$id": "5949",
"kind": "model",
"name": "MessageObjectAttachment",
"namespace": "OpenAI",
@@ -70240,13 +75135,13 @@
"decorators": [],
"properties": [
{
- "$id": "5527",
+ "$id": "5950",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to attach to the message.",
"type": {
- "$id": "5528",
+ "$id": "5951",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70266,25 +75161,25 @@
"isHttpMetadata": false
},
{
- "$id": "5529",
+ "$id": "5952",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "The tools to add this file to.",
"type": {
- "$id": "5530",
+ "$id": "5953",
"kind": "array",
"name": "Array29",
"valueType": {
- "$id": "5531",
+ "$id": "5954",
"kind": "union",
"name": "MessageObjectAttachmentTool",
"variantTypes": [
{
- "$ref": "2313"
+ "$ref": "2333"
},
{
- "$ref": "5490"
+ "$ref": "5913"
}
],
"namespace": "OpenAI",
@@ -70327,13 +75222,13 @@
"isHttpMetadata": false
},
{
- "$id": "5532",
+ "$id": "5955",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": true,
@@ -70351,13 +75246,13 @@
]
},
{
- "$ref": "5505"
+ "$ref": "5928"
},
{
- "$ref": "5526"
+ "$ref": "5949"
},
{
- "$id": "5533",
+ "$id": "5956",
"kind": "model",
"name": "ListMessagesResponse",
"namespace": "OpenAI",
@@ -70366,12 +75261,12 @@
"decorators": [],
"properties": [
{
- "$id": "5534",
+ "$id": "5957",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1641"
+ "$ref": "1671"
},
"optional": false,
"readOnly": false,
@@ -70387,16 +75282,16 @@
"isHttpMetadata": false
},
{
- "$id": "5535",
+ "$id": "5958",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "5536",
+ "$id": "5959",
"kind": "array",
"name": "ArrayMessageObject",
"valueType": {
- "$ref": "5493"
+ "$ref": "5916"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -70415,12 +75310,12 @@
"isHttpMetadata": false
},
{
- "$id": "5537",
+ "$id": "5960",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "5538",
+ "$id": "5961",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70440,12 +75335,12 @@
"isHttpMetadata": false
},
{
- "$id": "5539",
+ "$id": "5962",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "5540",
+ "$id": "5963",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70465,12 +75360,12 @@
"isHttpMetadata": false
},
{
- "$id": "5541",
+ "$id": "5964",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "5542",
+ "$id": "5965",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -70492,7 +75387,7 @@
]
},
{
- "$id": "5543",
+ "$id": "5966",
"kind": "model",
"name": "ModifyMessageRequest",
"namespace": "OpenAI",
@@ -70501,13 +75396,13 @@
"decorators": [],
"properties": [
{
- "$id": "5544",
+ "$id": "5967",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -70525,7 +75420,7 @@
]
},
{
- "$id": "5545",
+ "$id": "5968",
"kind": "model",
"name": "DeleteMessageResponse",
"namespace": "OpenAI",
@@ -70534,12 +75429,12 @@
"decorators": [],
"properties": [
{
- "$id": "5546",
+ "$id": "5969",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "5547",
+ "$id": "5970",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70559,12 +75454,12 @@
"isHttpMetadata": false
},
{
- "$id": "5548",
+ "$id": "5971",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "5549",
+ "$id": "5972",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -70584,12 +75479,12 @@
"isHttpMetadata": false
},
{
- "$id": "5550",
+ "$id": "5973",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1643"
+ "$ref": "1673"
},
"optional": false,
"readOnly": false,
@@ -70607,7 +75502,7 @@
]
},
{
- "$id": "5551",
+ "$id": "5974",
"kind": "model",
"name": "CreateModerationRequest",
"namespace": "OpenAI",
@@ -70616,37 +75511,37 @@
"decorators": [],
"properties": [
{
- "$id": "5552",
+ "$id": "5975",
"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": "5553",
+ "$id": "5976",
"kind": "union",
"name": "CreateModerationRequestInput",
"variantTypes": [
{
- "$id": "5554",
+ "$id": "5977",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$ref": "2345"
+ "$ref": "2373"
},
{
- "$id": "5555",
+ "$id": "5978",
"kind": "array",
"name": "Array30",
"valueType": {
- "$id": "5556",
+ "$id": "5979",
"kind": "union",
"name": "CreateModerationRequestInput1",
"variantTypes": [
{
- "$id": "5557",
+ "$id": "5980",
"kind": "model",
"name": "CreateModerationRequestInput2",
"namespace": "OpenAI",
@@ -70655,13 +75550,13 @@
"decorators": [],
"properties": [
{
- "$id": "5558",
+ "$id": "5981",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `image_url`.",
"type": {
- "$ref": "1645"
+ "$ref": "1675"
},
"optional": false,
"readOnly": false,
@@ -70677,13 +75572,13 @@
"isHttpMetadata": false
},
{
- "$id": "5559",
+ "$id": "5982",
"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": "5560",
+ "$id": "5983",
"kind": "model",
"name": "CreateModerationRequestInputImageUrl",
"namespace": "OpenAI",
@@ -70692,13 +75587,13 @@
"decorators": [],
"properties": [
{
- "$id": "5561",
+ "$id": "5984",
"kind": "property",
"name": "url",
"serializedName": "url",
"doc": "Either a URL of the image or the base64 encoded image data.",
"type": {
- "$id": "5562",
+ "$id": "5985",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70735,7 +75630,7 @@
]
},
{
- "$id": "5563",
+ "$id": "5986",
"kind": "model",
"name": "CreateModerationRequestInput3",
"namespace": "OpenAI",
@@ -70744,13 +75639,13 @@
"decorators": [],
"properties": [
{
- "$id": "5564",
+ "$id": "5987",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `text`.",
"type": {
- "$ref": "1647"
+ "$ref": "1677"
},
"optional": false,
"readOnly": false,
@@ -70766,13 +75661,13 @@
"isHttpMetadata": false
},
{
- "$id": "5565",
+ "$id": "5988",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "A string of text to classify.",
"type": {
- "$id": "5566",
+ "$id": "5989",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70818,13 +75713,13 @@
"isHttpMetadata": false
},
{
- "$id": "5567",
+ "$id": "5990",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The content moderation model you would like to use. Learn more in\n[the moderation guide](/docs/guides/moderation), and learn about\navailable models [here](/docs/models#moderation).",
"type": {
- "$ref": "939"
+ "$ref": "953"
},
"optional": true,
"readOnly": false,
@@ -70842,16 +75737,16 @@
]
},
{
- "$ref": "5557"
+ "$ref": "5980"
},
{
- "$ref": "5560"
+ "$ref": "5983"
},
{
- "$ref": "5563"
+ "$ref": "5986"
},
{
- "$id": "5568",
+ "$id": "5991",
"kind": "model",
"name": "CreateModerationResponse",
"namespace": "OpenAI",
@@ -70861,13 +75756,13 @@
"decorators": [],
"properties": [
{
- "$id": "5569",
+ "$id": "5992",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The unique identifier for the moderation request.",
"type": {
- "$id": "5570",
+ "$id": "5993",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70887,13 +75782,13 @@
"isHttpMetadata": false
},
{
- "$id": "5571",
+ "$id": "5994",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model used to generate the moderation results.",
"type": {
- "$id": "5572",
+ "$id": "5995",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -70913,17 +75808,17 @@
"isHttpMetadata": false
},
{
- "$id": "5573",
+ "$id": "5996",
"kind": "property",
"name": "results",
"serializedName": "results",
"doc": "A list of moderation objects.",
"type": {
- "$id": "5574",
+ "$id": "5997",
"kind": "array",
"name": "ArrayCreateModerationResponseResult",
"valueType": {
- "$id": "5575",
+ "$id": "5998",
"kind": "model",
"name": "CreateModerationResponseResult",
"namespace": "OpenAI",
@@ -70932,13 +75827,13 @@
"decorators": [],
"properties": [
{
- "$id": "5576",
+ "$id": "5999",
"kind": "property",
"name": "flagged",
"serializedName": "flagged",
"doc": "Whether any of the below categories are flagged.",
"type": {
- "$id": "5577",
+ "$id": "6000",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -70958,13 +75853,13 @@
"isHttpMetadata": false
},
{
- "$id": "5578",
+ "$id": "6001",
"kind": "property",
"name": "categories",
"serializedName": "categories",
"doc": "A list of the categories, and whether they are flagged or not.",
"type": {
- "$id": "5579",
+ "$id": "6002",
"kind": "model",
"name": "CreateModerationResponseResultCategories",
"namespace": "OpenAI",
@@ -70973,13 +75868,13 @@
"decorators": [],
"properties": [
{
- "$id": "5580",
+ "$id": "6003",
"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": "5581",
+ "$id": "6004",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -70999,13 +75894,13 @@
"isHttpMetadata": false
},
{
- "$id": "5582",
+ "$id": "6005",
"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": "5583",
+ "$id": "6006",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71025,13 +75920,13 @@
"isHttpMetadata": false
},
{
- "$id": "5584",
+ "$id": "6007",
"kind": "property",
"name": "harassment",
"serializedName": "harassment",
"doc": "Content that expresses, incites, or promotes harassing language towards any target.",
"type": {
- "$id": "5585",
+ "$id": "6008",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71051,13 +75946,13 @@
"isHttpMetadata": false
},
{
- "$id": "5586",
+ "$id": "6009",
"kind": "property",
"name": "harassment/threatening",
"serializedName": "harassment/threatening",
"doc": "Harassment content that also includes violence or serious harm towards any target.",
"type": {
- "$id": "5587",
+ "$id": "6010",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71077,13 +75972,13 @@
"isHttpMetadata": false
},
{
- "$id": "5588",
+ "$id": "6011",
"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": "5589",
+ "$id": "6012",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71103,13 +75998,13 @@
"isHttpMetadata": false
},
{
- "$id": "5590",
+ "$id": "6013",
"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": "5591",
+ "$id": "6014",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71129,13 +76024,13 @@
"isHttpMetadata": false
},
{
- "$id": "5592",
+ "$id": "6015",
"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": "5593",
+ "$id": "6016",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71155,13 +76050,13 @@
"isHttpMetadata": false
},
{
- "$id": "5594",
+ "$id": "6017",
"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": "5595",
+ "$id": "6018",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71181,13 +76076,13 @@
"isHttpMetadata": false
},
{
- "$id": "5596",
+ "$id": "6019",
"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": "5597",
+ "$id": "6020",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71207,13 +76102,13 @@
"isHttpMetadata": false
},
{
- "$id": "5598",
+ "$id": "6021",
"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": "5599",
+ "$id": "6022",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71233,13 +76128,13 @@
"isHttpMetadata": false
},
{
- "$id": "5600",
+ "$id": "6023",
"kind": "property",
"name": "sexual/minors",
"serializedName": "sexual/minors",
"doc": "Sexual content that includes an individual who is under 18 years old.",
"type": {
- "$id": "5601",
+ "$id": "6024",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71259,13 +76154,13 @@
"isHttpMetadata": false
},
{
- "$id": "5602",
+ "$id": "6025",
"kind": "property",
"name": "violence",
"serializedName": "violence",
"doc": "Content that depicts death, violence, or physical injury.",
"type": {
- "$id": "5603",
+ "$id": "6026",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71285,13 +76180,13 @@
"isHttpMetadata": false
},
{
- "$id": "5604",
+ "$id": "6027",
"kind": "property",
"name": "violence/graphic",
"serializedName": "violence/graphic",
"doc": "Content that depicts death, violence, or physical injury in graphic detail.",
"type": {
- "$id": "5605",
+ "$id": "6028",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -71326,13 +76221,13 @@
"isHttpMetadata": false
},
{
- "$id": "5606",
+ "$id": "6029",
"kind": "property",
"name": "category_scores",
"serializedName": "category_scores",
"doc": "A list of the categories along with their scores as predicted by model.",
"type": {
- "$id": "5607",
+ "$id": "6030",
"kind": "model",
"name": "CreateModerationResponseResultCategoryScores",
"namespace": "OpenAI",
@@ -71341,13 +76236,13 @@
"decorators": [],
"properties": [
{
- "$id": "5608",
+ "$id": "6031",
"kind": "property",
"name": "hate",
"serializedName": "hate",
"doc": "The score for the category 'hate'.",
"type": {
- "$id": "5609",
+ "$id": "6032",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71367,13 +76262,13 @@
"isHttpMetadata": false
},
{
- "$id": "5610",
+ "$id": "6033",
"kind": "property",
"name": "hate/threatening",
"serializedName": "hate/threatening",
"doc": "The score for the category 'hate/threatening'.",
"type": {
- "$id": "5611",
+ "$id": "6034",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71393,13 +76288,13 @@
"isHttpMetadata": false
},
{
- "$id": "5612",
+ "$id": "6035",
"kind": "property",
"name": "harassment",
"serializedName": "harassment",
"doc": "The score for the category 'harassment'.",
"type": {
- "$id": "5613",
+ "$id": "6036",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71419,13 +76314,13 @@
"isHttpMetadata": false
},
{
- "$id": "5614",
+ "$id": "6037",
"kind": "property",
"name": "harassment/threatening",
"serializedName": "harassment/threatening",
"doc": "The score for the category 'harassment/threatening'.",
"type": {
- "$id": "5615",
+ "$id": "6038",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71445,13 +76340,13 @@
"isHttpMetadata": false
},
{
- "$id": "5616",
+ "$id": "6039",
"kind": "property",
"name": "illicit",
"serializedName": "illicit",
"doc": "The score for the category 'illicit'.",
"type": {
- "$id": "5617",
+ "$id": "6040",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71471,13 +76366,13 @@
"isHttpMetadata": false
},
{
- "$id": "5618",
+ "$id": "6041",
"kind": "property",
"name": "illicit/violent",
"serializedName": "illicit/violent",
"doc": "The score for the category 'illicit/violent'.",
"type": {
- "$id": "5619",
+ "$id": "6042",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71497,13 +76392,13 @@
"isHttpMetadata": false
},
{
- "$id": "5620",
+ "$id": "6043",
"kind": "property",
"name": "self-harm",
"serializedName": "self-harm",
"doc": "The score for the category 'self-harm'.",
"type": {
- "$id": "5621",
+ "$id": "6044",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71523,13 +76418,13 @@
"isHttpMetadata": false
},
{
- "$id": "5622",
+ "$id": "6045",
"kind": "property",
"name": "self-harm/intent",
"serializedName": "self-harm/intent",
"doc": "The score for the category 'self-harm/intent'.",
"type": {
- "$id": "5623",
+ "$id": "6046",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71549,13 +76444,13 @@
"isHttpMetadata": false
},
{
- "$id": "5624",
+ "$id": "6047",
"kind": "property",
"name": "self-harm/instructions",
"serializedName": "self-harm/instructions",
"doc": "The score for the category 'self-harm/instructions'.",
"type": {
- "$id": "5625",
+ "$id": "6048",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71575,13 +76470,13 @@
"isHttpMetadata": false
},
{
- "$id": "5626",
+ "$id": "6049",
"kind": "property",
"name": "sexual",
"serializedName": "sexual",
"doc": "The score for the category 'sexual'.",
"type": {
- "$id": "5627",
+ "$id": "6050",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71601,13 +76496,13 @@
"isHttpMetadata": false
},
{
- "$id": "5628",
+ "$id": "6051",
"kind": "property",
"name": "sexual/minors",
"serializedName": "sexual/minors",
"doc": "The score for the category 'sexual/minors'.",
"type": {
- "$id": "5629",
+ "$id": "6052",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71627,13 +76522,13 @@
"isHttpMetadata": false
},
{
- "$id": "5630",
+ "$id": "6053",
"kind": "property",
"name": "violence",
"serializedName": "violence",
"doc": "The score for the category 'violence'.",
"type": {
- "$id": "5631",
+ "$id": "6054",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71653,13 +76548,13 @@
"isHttpMetadata": false
},
{
- "$id": "5632",
+ "$id": "6055",
"kind": "property",
"name": "violence/graphic",
"serializedName": "violence/graphic",
"doc": "The score for the category 'violence/graphic'.",
"type": {
- "$id": "5633",
+ "$id": "6056",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -71694,13 +76589,13 @@
"isHttpMetadata": false
},
{
- "$id": "5634",
+ "$id": "6057",
"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": "5635",
+ "$id": "6058",
"kind": "model",
"name": "CreateModerationResponseResultCategoryAppliedInputTypes",
"namespace": "OpenAI",
@@ -71709,25 +76604,74 @@
"decorators": [],
"properties": [
{
- "$id": "5636",
+ "$id": "6059",
"kind": "property",
"name": "hate",
"serializedName": "hate",
"doc": "The applied input type(s) for the category 'hate'.",
"type": {
- "$id": "5637",
+ "$id": "6060",
"kind": "array",
"name": "Array31",
"valueType": {
- "$id": "5638",
+ "$id": "6061",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "946"
+ "$ref": "1440"
},
"enumType": {
- "$ref": "945"
+ "$id": "6062",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ModerationAppliedInputType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6063",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6064",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "6063"
+ },
+ "enumType": {
+ "$ref": "6062"
+ }
+ },
+ {
+ "$id": "6065",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "image",
+ "value": "image",
+ "valueType": {
+ "$ref": "6063"
+ },
+ "enumType": {
+ "$ref": "6062"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ModerationAppliedInputType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
},
"decorators": []
},
@@ -71748,13 +76692,13 @@
"isHttpMetadata": false
},
{
- "$id": "5639",
+ "$id": "6066",
"kind": "property",
"name": "hate/threatening",
"serializedName": "hate/threatening",
"doc": "The applied input type(s) for the category 'hate/threatening'.",
"type": {
- "$ref": "5637"
+ "$ref": "6060"
},
"optional": false,
"readOnly": false,
@@ -71770,13 +76714,13 @@
"isHttpMetadata": false
},
{
- "$id": "5640",
+ "$id": "6067",
"kind": "property",
"name": "harassment",
"serializedName": "harassment",
"doc": "The applied input type(s) for the category 'harassment'.",
"type": {
- "$ref": "5637"
+ "$ref": "6060"
},
"optional": false,
"readOnly": false,
@@ -71792,13 +76736,13 @@
"isHttpMetadata": false
},
{
- "$id": "5641",
+ "$id": "6068",
"kind": "property",
"name": "harassment/threatening",
"serializedName": "harassment/threatening",
"doc": "The applied input type(s) for the category 'harassment/threatening'.",
"type": {
- "$ref": "5637"
+ "$ref": "6060"
},
"optional": false,
"readOnly": false,
@@ -71814,13 +76758,13 @@
"isHttpMetadata": false
},
{
- "$id": "5642",
+ "$id": "6069",
"kind": "property",
"name": "illicit",
"serializedName": "illicit",
"doc": "The applied input type(s) for the category 'illicit'.",
"type": {
- "$ref": "5637"
+ "$ref": "6060"
},
"optional": false,
"readOnly": false,
@@ -71836,13 +76780,13 @@
"isHttpMetadata": false
},
{
- "$id": "5643",
+ "$id": "6070",
"kind": "property",
"name": "illicit/violent",
"serializedName": "illicit/violent",
"doc": "The applied input type(s) for the category 'illicit/violent'.",
"type": {
- "$ref": "5637"
+ "$ref": "6060"
},
"optional": false,
"readOnly": false,
@@ -71858,25 +76802,35 @@
"isHttpMetadata": false
},
{
- "$id": "5644",
+ "$id": "6071",
"kind": "property",
"name": "self-harm",
"serializedName": "self-harm",
"doc": "The applied input type(s) for the category 'self-harm'.",
"type": {
- "$id": "5645",
+ "$id": "6072",
"kind": "array",
"name": "Array32",
"valueType": {
- "$id": "5646",
+ "$id": "6073",
"kind": "union",
"name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarm",
"variantTypes": [
{
- "$ref": "5638"
+ "$ref": "6061"
},
{
- "$ref": "948"
+ "$id": "6074",
+ "kind": "enumvalue",
+ "name": "image",
+ "value": "image",
+ "valueType": {
+ "$ref": "1440"
+ },
+ "enumType": {
+ "$ref": "6062"
+ },
+ "decorators": []
}
],
"namespace": "OpenAI",
@@ -71899,25 +76853,25 @@
"isHttpMetadata": false
},
{
- "$id": "5647",
+ "$id": "6075",
"kind": "property",
"name": "self-harm/intent",
"serializedName": "self-harm/intent",
"doc": "The applied input type(s) for the category 'self-harm/intent'.",
"type": {
- "$id": "5648",
+ "$id": "6076",
"kind": "array",
"name": "Array33",
"valueType": {
- "$id": "5649",
+ "$id": "6077",
"kind": "union",
"name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntent",
"variantTypes": [
{
- "$ref": "5638"
+ "$ref": "6061"
},
{
- "$ref": "948"
+ "$ref": "6074"
}
],
"namespace": "OpenAI",
@@ -71940,25 +76894,25 @@
"isHttpMetadata": false
},
{
- "$id": "5650",
+ "$id": "6078",
"kind": "property",
"name": "self-harm/instructions",
"serializedName": "self-harm/instructions",
"doc": "The applied input type(s) for the category 'self-harm/instructions'.",
"type": {
- "$id": "5651",
+ "$id": "6079",
"kind": "array",
"name": "Array34",
"valueType": {
- "$id": "5652",
+ "$id": "6080",
"kind": "union",
"name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction",
"variantTypes": [
{
- "$ref": "5638"
+ "$ref": "6061"
},
{
- "$ref": "948"
+ "$ref": "6074"
}
],
"namespace": "OpenAI",
@@ -71981,25 +76935,25 @@
"isHttpMetadata": false
},
{
- "$id": "5653",
+ "$id": "6081",
"kind": "property",
"name": "sexual",
"serializedName": "sexual",
"doc": "The applied input type(s) for the category 'sexual'.",
"type": {
- "$id": "5654",
+ "$id": "6082",
"kind": "array",
"name": "Array35",
"valueType": {
- "$id": "5655",
+ "$id": "6083",
"kind": "union",
"name": "CreateModerationResponseResultCategoryAppliedInputTypesSexual",
"variantTypes": [
{
- "$ref": "5638"
+ "$ref": "6061"
},
{
- "$ref": "948"
+ "$ref": "6074"
}
],
"namespace": "OpenAI",
@@ -72022,13 +76976,13 @@
"isHttpMetadata": false
},
{
- "$id": "5656",
+ "$id": "6084",
"kind": "property",
"name": "sexual/minors",
"serializedName": "sexual/minors",
"doc": "The applied input type(s) for the category 'sexual/minors'.",
"type": {
- "$ref": "5637"
+ "$ref": "6060"
},
"optional": false,
"readOnly": false,
@@ -72044,25 +76998,25 @@
"isHttpMetadata": false
},
{
- "$id": "5657",
+ "$id": "6085",
"kind": "property",
"name": "violence",
"serializedName": "violence",
"doc": "The applied input type(s) for the category 'violence'.",
"type": {
- "$id": "5658",
+ "$id": "6086",
"kind": "array",
"name": "Array36",
"valueType": {
- "$id": "5659",
+ "$id": "6087",
"kind": "union",
"name": "CreateModerationResponseResultCategoryAppliedInputTypesViolence",
"variantTypes": [
{
- "$ref": "5638"
+ "$ref": "6061"
},
{
- "$ref": "948"
+ "$ref": "6074"
}
],
"namespace": "OpenAI",
@@ -72085,25 +77039,25 @@
"isHttpMetadata": false
},
{
- "$id": "5660",
+ "$id": "6088",
"kind": "property",
"name": "violence/graphic",
"serializedName": "violence/graphic",
"doc": "The applied input type(s) for the category 'violence/graphic'.",
"type": {
- "$id": "5661",
+ "$id": "6089",
"kind": "array",
"name": "Array37",
"valueType": {
- "$id": "5662",
+ "$id": "6090",
"kind": "union",
"name": "CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphic",
"variantTypes": [
{
- "$ref": "5638"
+ "$ref": "6061"
},
{
- "$ref": "948"
+ "$ref": "6074"
}
],
"namespace": "OpenAI",
@@ -72161,19 +77115,19 @@
]
},
{
- "$ref": "5575"
+ "$ref": "5998"
},
{
- "$ref": "5579"
+ "$ref": "6002"
},
{
- "$ref": "5607"
+ "$ref": "6030"
},
{
- "$ref": "5635"
+ "$ref": "6058"
},
{
- "$id": "5663",
+ "$id": "6091",
"kind": "model",
"name": "CreateThreadAndRunRequest",
"namespace": "OpenAI",
@@ -72182,13 +77136,13 @@
"decorators": [],
"properties": [
{
- "$id": "5664",
+ "$id": "6092",
"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": "5665",
+ "$id": "6093",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -72208,12 +77162,12 @@
"isHttpMetadata": false
},
{
- "$id": "5666",
+ "$id": "6094",
"kind": "property",
"name": "thread",
"serializedName": "thread",
"type": {
- "$id": "5667",
+ "$id": "6095",
"kind": "model",
"name": "CreateThreadRequest",
"namespace": "OpenAI",
@@ -72223,17 +77177,17 @@
"decorators": [],
"properties": [
{
- "$id": "5668",
+ "$id": "6096",
"kind": "property",
"name": "messages",
"serializedName": "messages",
"doc": "A list of [messages](/docs/api-reference/messages) to start the thread with.",
"type": {
- "$id": "5669",
+ "$id": "6097",
"kind": "array",
"name": "ArrayCreateMessageRequest",
"valueType": {
- "$ref": "5421"
+ "$ref": "5828"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -72252,16 +77206,16 @@
"isHttpMetadata": false
},
{
- "$id": "5670",
+ "$id": "6098",
"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": "5671",
+ "$id": "6099",
"kind": "nullable",
"type": {
- "$id": "5672",
+ "$id": "6100",
"kind": "model",
"name": "CreateThreadRequestToolResources1",
"namespace": "OpenAI",
@@ -72270,12 +77224,12 @@
"decorators": [],
"properties": [
{
- "$id": "5673",
+ "$id": "6101",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"type": {
- "$id": "5674",
+ "$id": "6102",
"kind": "model",
"name": "CreateThreadRequestToolResourcesCodeInterpreter",
"namespace": "OpenAI",
@@ -72284,13 +77238,13 @@
"decorators": [],
"properties": [
{
- "$id": "5675",
+ "$id": "6103",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -72321,12 +77275,12 @@
"isHttpMetadata": false
},
{
- "$id": "5676",
+ "$id": "6104",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"type": {
- "$ref": "2425"
+ "$ref": "2460"
},
"optional": true,
"readOnly": false,
@@ -72359,13 +77313,13 @@
"isHttpMetadata": false
},
{
- "$id": "5677",
+ "$id": "6105",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -72396,16 +77350,16 @@
"isHttpMetadata": false
},
{
- "$id": "5678",
+ "$id": "6106",
"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": "5679",
+ "$id": "6107",
"kind": "nullable",
"type": {
- "$ref": "949"
+ "$ref": "959"
},
"namespace": "OpenAI"
},
@@ -72423,16 +77377,16 @@
"isHttpMetadata": false
},
{
- "$id": "5680",
+ "$id": "6108",
"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": "5681",
+ "$id": "6109",
"kind": "nullable",
"type": {
- "$id": "5682",
+ "$id": "6110",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -72454,16 +77408,16 @@
"isHttpMetadata": false
},
{
- "$id": "5683",
+ "$id": "6111",
"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": "5684",
+ "$id": "6112",
"kind": "nullable",
"type": {
- "$ref": "2310"
+ "$ref": "2330"
},
"namespace": "OpenAI"
},
@@ -72481,16 +77435,16 @@
"isHttpMetadata": false
},
{
- "$id": "5685",
+ "$id": "6113",
"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": "5686",
+ "$id": "6114",
"kind": "nullable",
"type": {
- "$id": "5687",
+ "$id": "6115",
"kind": "model",
"name": "CreateThreadAndRunRequestToolResources1",
"namespace": "OpenAI",
@@ -72499,12 +77453,12 @@
"decorators": [],
"properties": [
{
- "$id": "5688",
+ "$id": "6116",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"type": {
- "$id": "5689",
+ "$id": "6117",
"kind": "model",
"name": "CreateThreadAndRunRequestToolResourcesCodeInterpreter",
"namespace": "OpenAI",
@@ -72513,13 +77467,13 @@
"decorators": [],
"properties": [
{
- "$id": "5690",
+ "$id": "6118",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -72550,12 +77504,12 @@
"isHttpMetadata": false
},
{
- "$id": "5691",
+ "$id": "6119",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"type": {
- "$ref": "2348"
+ "$ref": "2376"
},
"optional": true,
"readOnly": false,
@@ -72588,13 +77542,13 @@
"isHttpMetadata": false
},
{
- "$id": "5692",
+ "$id": "6120",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -72610,16 +77564,16 @@
"isHttpMetadata": false
},
{
- "$id": "5693",
+ "$id": "6121",
"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": "5694",
+ "$id": "6122",
"kind": "nullable",
"type": {
- "$id": "5695",
+ "$id": "6123",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -72641,16 +77595,16 @@
"isHttpMetadata": false
},
{
- "$id": "5696",
+ "$id": "6124",
"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": "5697",
+ "$id": "6125",
"kind": "nullable",
"type": {
- "$id": "5698",
+ "$id": "6126",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -72672,16 +77626,16 @@
"isHttpMetadata": false
},
{
- "$id": "5699",
+ "$id": "6127",
"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": "5700",
+ "$id": "6128",
"kind": "nullable",
"type": {
- "$id": "5701",
+ "$id": "6129",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -72703,16 +77657,16 @@
"isHttpMetadata": false
},
{
- "$id": "5702",
+ "$id": "6130",
"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": "5703",
+ "$id": "6131",
"kind": "nullable",
"type": {
- "$id": "5704",
+ "$id": "6132",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -72734,16 +77688,16 @@
"isHttpMetadata": false
},
{
- "$id": "5705",
+ "$id": "6133",
"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": "5706",
+ "$id": "6134",
"kind": "nullable",
"type": {
- "$id": "5707",
+ "$id": "6135",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -72765,15 +77719,15 @@
"isHttpMetadata": false
},
{
- "$id": "5708",
+ "$id": "6136",
"kind": "property",
"name": "truncation_strategy",
"serializedName": "truncation_strategy",
"type": {
- "$id": "5709",
+ "$id": "6137",
"kind": "nullable",
"type": {
- "$id": "5710",
+ "$id": "6138",
"kind": "model",
"name": "TruncationObject",
"namespace": "OpenAI",
@@ -72783,13 +77737,13 @@
"decorators": [],
"properties": [
{
- "$id": "5711",
+ "$id": "6139",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The truncation strategy to use for the thread. The default is `auto`. If set to `last_messages`, the thread will be truncated to the n most recent messages in the thread. When set to `auto`, messages in the middle of the thread will be dropped to fit the context length of the model, `max_prompt_tokens`.",
"type": {
- "$ref": "983"
+ "$ref": "993"
},
"optional": false,
"readOnly": false,
@@ -72805,16 +77759,16 @@
"isHttpMetadata": false
},
{
- "$id": "5712",
+ "$id": "6140",
"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": "5713",
+ "$id": "6141",
"kind": "nullable",
"type": {
- "$id": "5714",
+ "$id": "6142",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -72853,23 +77807,23 @@
"isHttpMetadata": false
},
{
- "$id": "5715",
+ "$id": "6143",
"kind": "property",
"name": "tool_choice",
"serializedName": "tool_choice",
"type": {
- "$id": "5716",
+ "$id": "6144",
"kind": "nullable",
"type": {
- "$id": "5717",
+ "$id": "6145",
"kind": "union",
"name": "AssistantsApiToolChoiceOption",
"variantTypes": [
{
- "$ref": "987"
+ "$ref": "997"
},
{
- "$id": "5718",
+ "$id": "6146",
"kind": "model",
"name": "AssistantsNamedToolChoice",
"namespace": "OpenAI",
@@ -72879,13 +77833,13 @@
"decorators": [],
"properties": [
{
- "$id": "5719",
+ "$id": "6147",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the tool. If type is `function`, the function name must be set",
"type": {
- "$ref": "992"
+ "$ref": "1002"
},
"optional": false,
"readOnly": false,
@@ -72901,12 +77855,12 @@
"isHttpMetadata": false
},
{
- "$id": "5720",
+ "$id": "6148",
"kind": "property",
"name": "function",
"serializedName": "function",
"type": {
- "$id": "5721",
+ "$id": "6149",
"kind": "model",
"name": "AssistantsNamedToolChoiceFunction",
"namespace": "OpenAI",
@@ -72915,13 +77869,13 @@
"decorators": [],
"properties": [
{
- "$id": "5722",
+ "$id": "6150",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function to call.",
"type": {
- "$id": "5723",
+ "$id": "6151",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -72977,17 +77931,17 @@
"isHttpMetadata": false
},
{
- "$id": "5724",
+ "$id": "6152",
"kind": "property",
"name": "parallel_tool_calls",
"serializedName": "parallel_tool_calls",
"type": {
- "$id": "5725",
+ "$id": "6153",
"kind": "boolean",
"name": "ParallelToolCalls",
"crossLanguageDefinitionId": "OpenAI.ParallelToolCalls",
"baseType": {
- "$id": "5726",
+ "$id": "6154",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -73009,15 +77963,15 @@
"isHttpMetadata": false
},
{
- "$id": "5727",
+ "$id": "6155",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
"type": {
- "$id": "5728",
+ "$id": "6156",
"kind": "nullable",
"type": {
- "$ref": "2363"
+ "$ref": "2391"
},
"namespace": "OpenAI"
},
@@ -73037,31 +77991,31 @@
]
},
{
- "$ref": "5667"
+ "$ref": "6095"
},
{
- "$ref": "5672"
+ "$ref": "6100"
},
{
- "$ref": "5674"
+ "$ref": "6102"
},
{
- "$ref": "5687"
+ "$ref": "6115"
},
{
- "$ref": "5689"
+ "$ref": "6117"
},
{
- "$ref": "5710"
+ "$ref": "6138"
},
{
- "$ref": "5718"
+ "$ref": "6146"
},
{
- "$ref": "5721"
+ "$ref": "6149"
},
{
- "$id": "5729",
+ "$id": "6157",
"kind": "model",
"name": "RunObject",
"namespace": "OpenAI",
@@ -73071,13 +78025,13 @@
"decorators": [],
"properties": [
{
- "$id": "5730",
+ "$id": "6158",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "5731",
+ "$id": "6159",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73097,13 +78051,13 @@
"isHttpMetadata": false
},
{
- "$id": "5732",
+ "$id": "6160",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `thread.run`.",
"type": {
- "$ref": "1649"
+ "$ref": "1679"
},
"optional": false,
"readOnly": false,
@@ -73119,18 +78073,18 @@
"isHttpMetadata": false
},
{
- "$id": "5733",
+ "$id": "6161",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the run was created.",
"type": {
- "$id": "5734",
+ "$id": "6162",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5735",
+ "$id": "6163",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73153,13 +78107,13 @@
"isHttpMetadata": false
},
{
- "$id": "5736",
+ "$id": "6164",
"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": "5737",
+ "$id": "6165",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73179,13 +78133,13 @@
"isHttpMetadata": false
},
{
- "$id": "5738",
+ "$id": "6166",
"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": "5739",
+ "$id": "6167",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73205,13 +78159,13 @@
"isHttpMetadata": false
},
{
- "$id": "5740",
+ "$id": "6168",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the run, which can be either `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, `incomplete`, or `expired`.",
"type": {
- "$ref": "997"
+ "$ref": "1007"
},
"optional": false,
"readOnly": false,
@@ -73227,16 +78181,16 @@
"isHttpMetadata": false
},
{
- "$id": "5741",
+ "$id": "6169",
"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": "5742",
+ "$id": "6170",
"kind": "nullable",
"type": {
- "$id": "5743",
+ "$id": "6171",
"kind": "model",
"name": "RunObjectRequiredAction1",
"namespace": "OpenAI",
@@ -73245,13 +78199,13 @@
"decorators": [],
"properties": [
{
- "$id": "5744",
+ "$id": "6172",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "For now, this is always `submit_tool_outputs`.",
"type": {
- "$ref": "1651"
+ "$ref": "1681"
},
"optional": false,
"readOnly": false,
@@ -73267,13 +78221,13 @@
"isHttpMetadata": false
},
{
- "$id": "5745",
+ "$id": "6173",
"kind": "property",
"name": "submit_tool_outputs",
"serializedName": "submit_tool_outputs",
"doc": "Details on the tool outputs needed for this run to continue.",
"type": {
- "$id": "5746",
+ "$id": "6174",
"kind": "model",
"name": "RunObjectRequiredActionSubmitToolOutputs",
"namespace": "OpenAI",
@@ -73282,17 +78236,17 @@
"decorators": [],
"properties": [
{
- "$id": "5747",
+ "$id": "6175",
"kind": "property",
"name": "tool_calls",
"serializedName": "tool_calls",
"doc": "A list of the relevant tool calls.",
"type": {
- "$id": "5748",
+ "$id": "6176",
"kind": "array",
"name": "ArrayRunToolCallObject",
"valueType": {
- "$id": "5749",
+ "$id": "6177",
"kind": "model",
"name": "RunToolCallObject",
"namespace": "OpenAI",
@@ -73302,13 +78256,13 @@
"decorators": [],
"properties": [
{
- "$id": "5750",
+ "$id": "6178",
"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": "5751",
+ "$id": "6179",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73328,13 +78282,13 @@
"isHttpMetadata": false
},
{
- "$id": "5752",
+ "$id": "6180",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of tool call the output is required for. For now, this is always `function`.",
"type": {
- "$ref": "1653"
+ "$ref": "1683"
},
"optional": false,
"readOnly": false,
@@ -73350,13 +78304,13 @@
"isHttpMetadata": false
},
{
- "$id": "5753",
+ "$id": "6181",
"kind": "property",
"name": "function",
"serializedName": "function",
"doc": "The function definition.",
"type": {
- "$id": "5754",
+ "$id": "6182",
"kind": "model",
"name": "RunToolCallObjectFunction",
"namespace": "OpenAI",
@@ -73365,13 +78319,13 @@
"decorators": [],
"properties": [
{
- "$id": "5755",
+ "$id": "6183",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function.",
"type": {
- "$id": "5756",
+ "$id": "6184",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73391,13 +78345,13 @@
"isHttpMetadata": false
},
{
- "$id": "5757",
+ "$id": "6185",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"doc": "The arguments that the model expects you to pass to the function.",
"type": {
- "$id": "5758",
+ "$id": "6186",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73482,16 +78436,16 @@
"isHttpMetadata": false
},
{
- "$id": "5759",
+ "$id": "6187",
"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": "5760",
+ "$id": "6188",
"kind": "nullable",
"type": {
- "$id": "5761",
+ "$id": "6189",
"kind": "model",
"name": "RunObjectLastError1",
"namespace": "OpenAI",
@@ -73500,13 +78454,13 @@
"decorators": [],
"properties": [
{
- "$id": "5762",
+ "$id": "6190",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "One of `server_error`, `rate_limit_exceeded`, or `invalid_prompt`.",
"type": {
- "$ref": "1008"
+ "$ref": "1018"
},
"optional": false,
"readOnly": false,
@@ -73522,13 +78476,13 @@
"isHttpMetadata": false
},
{
- "$id": "5763",
+ "$id": "6191",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable description of the error.",
"type": {
- "$id": "5764",
+ "$id": "6192",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73565,21 +78519,21 @@
"isHttpMetadata": false
},
{
- "$id": "5765",
+ "$id": "6193",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "The Unix timestamp (in seconds) for when the run will expire.",
"type": {
- "$id": "5766",
+ "$id": "6194",
"kind": "nullable",
"type": {
- "$id": "5767",
+ "$id": "6195",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5768",
+ "$id": "6196",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73604,21 +78558,21 @@
"isHttpMetadata": false
},
{
- "$id": "5769",
+ "$id": "6197",
"kind": "property",
"name": "started_at",
"serializedName": "started_at",
"doc": "The Unix timestamp (in seconds) for when the run was started.",
"type": {
- "$id": "5770",
+ "$id": "6198",
"kind": "nullable",
"type": {
- "$id": "5771",
+ "$id": "6199",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5772",
+ "$id": "6200",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73643,21 +78597,21 @@
"isHttpMetadata": false
},
{
- "$id": "5773",
+ "$id": "6201",
"kind": "property",
"name": "cancelled_at",
"serializedName": "cancelled_at",
"doc": "The Unix timestamp (in seconds) for when the run was cancelled.",
"type": {
- "$id": "5774",
+ "$id": "6202",
"kind": "nullable",
"type": {
- "$id": "5775",
+ "$id": "6203",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5776",
+ "$id": "6204",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73682,21 +78636,21 @@
"isHttpMetadata": false
},
{
- "$id": "5777",
+ "$id": "6205",
"kind": "property",
"name": "failed_at",
"serializedName": "failed_at",
"doc": "The Unix timestamp (in seconds) for when the run failed.",
"type": {
- "$id": "5778",
+ "$id": "6206",
"kind": "nullable",
"type": {
- "$id": "5779",
+ "$id": "6207",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5780",
+ "$id": "6208",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73721,21 +78675,21 @@
"isHttpMetadata": false
},
{
- "$id": "5781",
+ "$id": "6209",
"kind": "property",
"name": "completed_at",
"serializedName": "completed_at",
"doc": "The Unix timestamp (in seconds) for when the run was completed.",
"type": {
- "$id": "5782",
+ "$id": "6210",
"kind": "nullable",
"type": {
- "$id": "5783",
+ "$id": "6211",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5784",
+ "$id": "6212",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73760,16 +78714,16 @@
"isHttpMetadata": false
},
{
- "$id": "5785",
+ "$id": "6213",
"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": "5786",
+ "$id": "6214",
"kind": "nullable",
"type": {
- "$id": "5787",
+ "$id": "6215",
"kind": "model",
"name": "RunObjectIncompleteDetails1",
"namespace": "OpenAI",
@@ -73778,13 +78732,13 @@
"decorators": [],
"properties": [
{
- "$id": "5788",
+ "$id": "6216",
"kind": "property",
"name": "reason",
"serializedName": "reason",
"doc": "The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run.",
"type": {
- "$ref": "1013"
+ "$ref": "1023"
},
"optional": true,
"readOnly": false,
@@ -73817,13 +78771,13 @@
"isHttpMetadata": false
},
{
- "$id": "5789",
+ "$id": "6217",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model that the [assistant](/docs/api-reference/assistants) used for this run.",
"type": {
- "$id": "5790",
+ "$id": "6218",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73843,13 +78797,13 @@
"isHttpMetadata": false
},
{
- "$id": "5791",
+ "$id": "6219",
"kind": "property",
"name": "instructions",
"serializedName": "instructions",
"doc": "The instructions that the [assistant](/docs/api-reference/assistants) used for this run.",
"type": {
- "$id": "5792",
+ "$id": "6220",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -73869,13 +78823,13 @@
"isHttpMetadata": false
},
{
- "$id": "5793",
+ "$id": "6221",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.",
"type": {
- "$ref": "2310"
+ "$ref": "2330"
},
"optional": false,
"readOnly": true,
@@ -73891,13 +78845,13 @@
"isHttpMetadata": false
},
{
- "$id": "5794",
+ "$id": "6222",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": true,
@@ -73913,15 +78867,15 @@
"isHttpMetadata": false
},
{
- "$id": "5795",
+ "$id": "6223",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"type": {
- "$id": "5796",
+ "$id": "6224",
"kind": "nullable",
"type": {
- "$id": "5797",
+ "$id": "6225",
"kind": "model",
"name": "RunCompletionUsage",
"namespace": "OpenAI",
@@ -73931,13 +78885,13 @@
"decorators": [],
"properties": [
{
- "$id": "5798",
+ "$id": "6226",
"kind": "property",
"name": "completion_tokens",
"serializedName": "completion_tokens",
"doc": "Number of completion tokens used over the course of the run.",
"type": {
- "$id": "5799",
+ "$id": "6227",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73957,13 +78911,13 @@
"isHttpMetadata": false
},
{
- "$id": "5800",
+ "$id": "6228",
"kind": "property",
"name": "prompt_tokens",
"serializedName": "prompt_tokens",
"doc": "Number of prompt tokens used over the course of the run.",
"type": {
- "$id": "5801",
+ "$id": "6229",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -73983,13 +78937,13 @@
"isHttpMetadata": false
},
{
- "$id": "5802",
+ "$id": "6230",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "Total number of tokens used (prompt + completion).",
"type": {
- "$id": "5803",
+ "$id": "6231",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -74026,16 +78980,16 @@
"isHttpMetadata": false
},
{
- "$id": "5804",
+ "$id": "6232",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "The sampling temperature used for this run. If not set, defaults to 1.",
"type": {
- "$id": "5805",
+ "$id": "6233",
"kind": "nullable",
"type": {
- "$id": "5806",
+ "$id": "6234",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -74057,16 +79011,16 @@
"isHttpMetadata": false
},
{
- "$id": "5807",
+ "$id": "6235",
"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": "5808",
+ "$id": "6236",
"kind": "nullable",
"type": {
- "$id": "5809",
+ "$id": "6237",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -74088,16 +79042,16 @@
"isHttpMetadata": false
},
{
- "$id": "5810",
+ "$id": "6238",
"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": "5811",
+ "$id": "6239",
"kind": "nullable",
"type": {
- "$id": "5812",
+ "$id": "6240",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -74119,16 +79073,16 @@
"isHttpMetadata": false
},
{
- "$id": "5813",
+ "$id": "6241",
"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": "5814",
+ "$id": "6242",
"kind": "nullable",
"type": {
- "$id": "5815",
+ "$id": "6243",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -74150,15 +79104,15 @@
"isHttpMetadata": false
},
{
- "$id": "5816",
+ "$id": "6244",
"kind": "property",
"name": "truncation_strategy",
"serializedName": "truncation_strategy",
"type": {
- "$id": "5817",
+ "$id": "6245",
"kind": "nullable",
"type": {
- "$ref": "5710"
+ "$ref": "6138"
},
"namespace": "OpenAI"
},
@@ -74176,15 +79130,15 @@
"isHttpMetadata": false
},
{
- "$id": "5818",
+ "$id": "6246",
"kind": "property",
"name": "tool_choice",
"serializedName": "tool_choice",
"type": {
- "$id": "5819",
+ "$id": "6247",
"kind": "nullable",
"type": {
- "$ref": "5717"
+ "$ref": "6145"
},
"namespace": "OpenAI"
},
@@ -74202,17 +79156,17 @@
"isHttpMetadata": false
},
{
- "$id": "5820",
+ "$id": "6248",
"kind": "property",
"name": "parallel_tool_calls",
"serializedName": "parallel_tool_calls",
"type": {
- "$id": "5821",
+ "$id": "6249",
"kind": "boolean",
"name": "ParallelToolCalls",
"crossLanguageDefinitionId": "OpenAI.ParallelToolCalls",
"baseType": {
- "$id": "5822",
+ "$id": "6250",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -74234,15 +79188,15 @@
"isHttpMetadata": false
},
{
- "$id": "5823",
+ "$id": "6251",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
"type": {
- "$id": "5824",
+ "$id": "6252",
"kind": "nullable",
"type": {
- "$ref": "2363"
+ "$ref": "2391"
},
"namespace": "OpenAI"
},
@@ -74262,28 +79216,28 @@
]
},
{
- "$ref": "5743"
+ "$ref": "6171"
},
{
- "$ref": "5746"
+ "$ref": "6174"
},
{
- "$ref": "5749"
+ "$ref": "6177"
},
{
- "$ref": "5754"
+ "$ref": "6182"
},
{
- "$ref": "5761"
+ "$ref": "6189"
},
{
- "$ref": "5787"
+ "$ref": "6215"
},
{
- "$ref": "5797"
+ "$ref": "6225"
},
{
- "$id": "5825",
+ "$id": "6253",
"kind": "model",
"name": "CreateRunRequest",
"namespace": "OpenAI",
@@ -74292,13 +79246,13 @@
"decorators": [],
"properties": [
{
- "$id": "5826",
+ "$id": "6254",
"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": "5827",
+ "$id": "6255",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -74318,13 +79272,13 @@
"isHttpMetadata": false
},
{
- "$id": "5828",
+ "$id": "6256",
"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": "5829",
+ "$id": "6257",
"kind": "nullable",
"type": {
"$ref": "15"
@@ -74345,12 +79299,12 @@
"isHttpMetadata": false
},
{
- "$id": "5830",
+ "$id": "6258",
"kind": "property",
"name": "reasoning_effort",
"serializedName": "reasoning_effort",
"type": {
- "$id": "5831",
+ "$id": "6259",
"kind": "nullable",
"type": {
"$ref": "53"
@@ -74371,16 +79325,16 @@
"isHttpMetadata": false
},
{
- "$id": "5832",
+ "$id": "6260",
"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": "5833",
+ "$id": "6261",
"kind": "nullable",
"type": {
- "$id": "5834",
+ "$id": "6262",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -74402,16 +79356,16 @@
"isHttpMetadata": false
},
{
- "$id": "5835",
+ "$id": "6263",
"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": "5836",
+ "$id": "6264",
"kind": "nullable",
"type": {
- "$id": "5837",
+ "$id": "6265",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -74433,16 +79387,16 @@
"isHttpMetadata": false
},
{
- "$id": "5838",
+ "$id": "6266",
"kind": "property",
"name": "additional_messages",
"serializedName": "additional_messages",
"doc": "Adds additional messages to the thread before creating the run.",
"type": {
- "$id": "5839",
+ "$id": "6267",
"kind": "nullable",
"type": {
- "$ref": "5669"
+ "$ref": "6097"
},
"namespace": "OpenAI"
},
@@ -74460,16 +79414,16 @@
"isHttpMetadata": false
},
{
- "$id": "5840",
+ "$id": "6268",
"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": "5841",
+ "$id": "6269",
"kind": "nullable",
"type": {
- "$ref": "2310"
+ "$ref": "2330"
},
"namespace": "OpenAI"
},
@@ -74487,13 +79441,13 @@
"isHttpMetadata": false
},
{
- "$id": "5842",
+ "$id": "6270",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -74509,16 +79463,16 @@
"isHttpMetadata": false
},
{
- "$id": "5843",
+ "$id": "6271",
"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": "5844",
+ "$id": "6272",
"kind": "nullable",
"type": {
- "$id": "5845",
+ "$id": "6273",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -74540,16 +79494,16 @@
"isHttpMetadata": false
},
{
- "$id": "5846",
+ "$id": "6274",
"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": "5847",
+ "$id": "6275",
"kind": "nullable",
"type": {
- "$id": "5848",
+ "$id": "6276",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -74571,16 +79525,16 @@
"isHttpMetadata": false
},
{
- "$id": "5849",
+ "$id": "6277",
"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": "5850",
+ "$id": "6278",
"kind": "nullable",
"type": {
- "$id": "5851",
+ "$id": "6279",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -74602,16 +79556,16 @@
"isHttpMetadata": false
},
{
- "$id": "5852",
+ "$id": "6280",
"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": "5853",
+ "$id": "6281",
"kind": "nullable",
"type": {
- "$id": "5854",
+ "$id": "6282",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -74633,16 +79587,16 @@
"isHttpMetadata": false
},
{
- "$id": "5855",
+ "$id": "6283",
"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": "5856",
+ "$id": "6284",
"kind": "nullable",
"type": {
- "$id": "5857",
+ "$id": "6285",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -74664,15 +79618,15 @@
"isHttpMetadata": false
},
{
- "$id": "5858",
+ "$id": "6286",
"kind": "property",
"name": "truncation_strategy",
"serializedName": "truncation_strategy",
"type": {
- "$id": "5859",
+ "$id": "6287",
"kind": "nullable",
"type": {
- "$ref": "5710"
+ "$ref": "6138"
},
"namespace": "OpenAI"
},
@@ -74690,15 +79644,15 @@
"isHttpMetadata": false
},
{
- "$id": "5860",
+ "$id": "6288",
"kind": "property",
"name": "tool_choice",
"serializedName": "tool_choice",
"type": {
- "$id": "5861",
+ "$id": "6289",
"kind": "nullable",
"type": {
- "$ref": "5717"
+ "$ref": "6145"
},
"namespace": "OpenAI"
},
@@ -74716,17 +79670,17 @@
"isHttpMetadata": false
},
{
- "$id": "5862",
+ "$id": "6290",
"kind": "property",
"name": "parallel_tool_calls",
"serializedName": "parallel_tool_calls",
"type": {
- "$id": "5863",
+ "$id": "6291",
"kind": "boolean",
"name": "ParallelToolCalls",
"crossLanguageDefinitionId": "OpenAI.ParallelToolCalls",
"baseType": {
- "$id": "5864",
+ "$id": "6292",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -74748,15 +79702,15 @@
"isHttpMetadata": false
},
{
- "$id": "5865",
+ "$id": "6293",
"kind": "property",
"name": "response_format",
"serializedName": "response_format",
"type": {
- "$id": "5866",
+ "$id": "6294",
"kind": "nullable",
"type": {
- "$ref": "2363"
+ "$ref": "2391"
},
"namespace": "OpenAI"
},
@@ -74776,7 +79730,7 @@
]
},
{
- "$id": "5867",
+ "$id": "6295",
"kind": "model",
"name": "ListRunsResponse",
"namespace": "OpenAI",
@@ -74785,12 +79739,12 @@
"decorators": [],
"properties": [
{
- "$id": "5868",
+ "$id": "6296",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1655"
+ "$ref": "1685"
},
"optional": false,
"readOnly": false,
@@ -74806,16 +79760,16 @@
"isHttpMetadata": false
},
{
- "$id": "5869",
+ "$id": "6297",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "5870",
+ "$id": "6298",
"kind": "array",
"name": "ArrayRunObject",
"valueType": {
- "$ref": "5729"
+ "$ref": "6157"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -74834,12 +79788,12 @@
"isHttpMetadata": false
},
{
- "$id": "5871",
+ "$id": "6299",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "5872",
+ "$id": "6300",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -74859,12 +79813,12 @@
"isHttpMetadata": false
},
{
- "$id": "5873",
+ "$id": "6301",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "5874",
+ "$id": "6302",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -74884,12 +79838,12 @@
"isHttpMetadata": false
},
{
- "$id": "5875",
+ "$id": "6303",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "5876",
+ "$id": "6304",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -74911,7 +79865,7 @@
]
},
{
- "$id": "5877",
+ "$id": "6305",
"kind": "model",
"name": "ModifyRunRequest",
"namespace": "OpenAI",
@@ -74920,13 +79874,13 @@
"decorators": [],
"properties": [
{
- "$id": "5878",
+ "$id": "6306",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -74944,7 +79898,7 @@
]
},
{
- "$id": "5879",
+ "$id": "6307",
"kind": "model",
"name": "SubmitToolOutputsRunRequest",
"namespace": "OpenAI",
@@ -74953,17 +79907,17 @@
"decorators": [],
"properties": [
{
- "$id": "5880",
+ "$id": "6308",
"kind": "property",
"name": "tool_outputs",
"serializedName": "tool_outputs",
"doc": "A list of tools for which the outputs are being submitted.",
"type": {
- "$id": "5881",
+ "$id": "6309",
"kind": "array",
"name": "Array38",
"valueType": {
- "$id": "5882",
+ "$id": "6310",
"kind": "model",
"name": "SubmitToolOutputsRunRequestToolOutput",
"namespace": "OpenAI",
@@ -74972,13 +79926,13 @@
"decorators": [],
"properties": [
{
- "$id": "5883",
+ "$id": "6311",
"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": "5884",
+ "$id": "6312",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -74998,13 +79952,13 @@
"isHttpMetadata": false
},
{
- "$id": "5885",
+ "$id": "6313",
"kind": "property",
"name": "output",
"serializedName": "output",
"doc": "The output of the tool call to be submitted to continue the run.",
"type": {
- "$id": "5886",
+ "$id": "6314",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75042,16 +79996,16 @@
"isHttpMetadata": false
},
{
- "$id": "5887",
+ "$id": "6315",
"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": "5888",
+ "$id": "6316",
"kind": "nullable",
"type": {
- "$id": "5889",
+ "$id": "6317",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -75075,10 +80029,10 @@
]
},
{
- "$ref": "5882"
+ "$ref": "6310"
},
{
- "$id": "5890",
+ "$id": "6318",
"kind": "model",
"name": "ListRunStepsResponse",
"namespace": "OpenAI",
@@ -75087,12 +80041,12 @@
"decorators": [],
"properties": [
{
- "$id": "5891",
+ "$id": "6319",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1657"
+ "$ref": "1687"
},
"optional": false,
"readOnly": false,
@@ -75108,16 +80062,16 @@
"isHttpMetadata": false
},
{
- "$id": "5892",
+ "$id": "6320",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "5893",
+ "$id": "6321",
"kind": "array",
"name": "ArrayRunStepObject",
"valueType": {
- "$id": "5894",
+ "$id": "6322",
"kind": "model",
"name": "RunStepObject",
"namespace": "OpenAI",
@@ -75127,13 +80081,13 @@
"decorators": [],
"properties": [
{
- "$id": "5895",
+ "$id": "6323",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier of the run step, which can be referenced in API endpoints.",
"type": {
- "$id": "5896",
+ "$id": "6324",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75153,13 +80107,13 @@
"isHttpMetadata": false
},
{
- "$id": "5897",
+ "$id": "6325",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `thread.run.step`.",
"type": {
- "$ref": "1659"
+ "$ref": "1689"
},
"optional": false,
"readOnly": false,
@@ -75175,18 +80129,18 @@
"isHttpMetadata": false
},
{
- "$id": "5898",
+ "$id": "6326",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the run step was created.",
"type": {
- "$id": "5899",
+ "$id": "6327",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5900",
+ "$id": "6328",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -75209,13 +80163,13 @@
"isHttpMetadata": false
},
{
- "$id": "5901",
+ "$id": "6329",
"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": "5902",
+ "$id": "6330",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75235,13 +80189,13 @@
"isHttpMetadata": false
},
{
- "$id": "5903",
+ "$id": "6331",
"kind": "property",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) that was run.",
"type": {
- "$id": "5904",
+ "$id": "6332",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75261,13 +80215,13 @@
"isHttpMetadata": false
},
{
- "$id": "5905",
+ "$id": "6333",
"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": "5906",
+ "$id": "6334",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75287,13 +80241,13 @@
"isHttpMetadata": false
},
{
- "$id": "5907",
+ "$id": "6335",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of run step, which can be either `message_creation` or `tool_calls`.",
"type": {
- "$ref": "1017"
+ "$ref": "1027"
},
"optional": false,
"readOnly": false,
@@ -75309,13 +80263,13 @@
"isHttpMetadata": false
},
{
- "$id": "5908",
+ "$id": "6336",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the run step, which can be either `in_progress`, `cancelled`, `failed`, `completed`, or `expired`.",
"type": {
- "$ref": "1021"
+ "$ref": "1031"
},
"optional": false,
"readOnly": false,
@@ -75331,13 +80285,13 @@
"isHttpMetadata": false
},
{
- "$id": "5909",
+ "$id": "6337",
"kind": "property",
"name": "step_details",
"serializedName": "step_details",
"doc": "The details of the run step.",
"type": {
- "$id": "5910",
+ "$id": "6338",
"kind": "model",
"name": "RunStepObjectStepDetails",
"namespace": "OpenAI",
@@ -75346,13 +80300,13 @@
"doc": "Abstractly represents a run step details object.",
"decorators": [],
"discriminatorProperty": {
- "$id": "5911",
+ "$id": "6339",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The discriminated type identifier for the details object.",
"type": {
- "$ref": "1028"
+ "$ref": "1038"
},
"optional": false,
"readOnly": false,
@@ -75369,12 +80323,12 @@
},
"properties": [
{
- "$ref": "5911"
+ "$ref": "6339"
}
],
"discriminatedSubtypes": {
"message_creation": {
- "$id": "5912",
+ "$id": "6340",
"kind": "model",
"name": "RunStepDetailsMessageCreationObject",
"namespace": "OpenAI",
@@ -75384,17 +80338,76 @@
"discriminatorValue": "message_creation",
"decorators": [],
"baseModel": {
- "$ref": "5910"
+ "$ref": "6338"
},
"properties": [
{
- "$id": "5913",
+ "$id": "6341",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `message_creation`.",
"type": {
- "$ref": "1030"
+ "$id": "6342",
+ "kind": "enumvalue",
+ "name": "message_creation",
+ "value": "message_creation",
+ "valueType": {
+ "$ref": "1039"
+ },
+ "enumType": {
+ "$id": "6343",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RunStepDetailsType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6344",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6345",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "message_creation",
+ "value": "message_creation",
+ "valueType": {
+ "$ref": "6344"
+ },
+ "enumType": {
+ "$ref": "6343"
+ }
+ },
+ {
+ "$id": "6346",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "tool_calls",
+ "value": "tool_calls",
+ "valueType": {
+ "$ref": "6344"
+ },
+ "enumType": {
+ "$ref": "6343"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RunStepDetailsType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -75410,12 +80423,12 @@
"isHttpMetadata": false
},
{
- "$id": "5914",
+ "$id": "6347",
"kind": "property",
"name": "message_creation",
"serializedName": "message_creation",
"type": {
- "$id": "5915",
+ "$id": "6348",
"kind": "model",
"name": "RunStepDetailsMessageCreationObjectMessageCreation",
"namespace": "OpenAI",
@@ -75424,13 +80437,13 @@
"decorators": [],
"properties": [
{
- "$id": "5916",
+ "$id": "6349",
"kind": "property",
"name": "message_id",
"serializedName": "message_id",
"doc": "The ID of the message that was created by this run step.",
"type": {
- "$id": "5917",
+ "$id": "6350",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75467,7 +80480,7 @@
]
},
"tool_calls": {
- "$id": "5918",
+ "$id": "6351",
"kind": "model",
"name": "RunStepDetailsToolCallsObject",
"namespace": "OpenAI",
@@ -75477,17 +80490,27 @@
"discriminatorValue": "tool_calls",
"decorators": [],
"baseModel": {
- "$ref": "5910"
+ "$ref": "6338"
},
"properties": [
{
- "$id": "5919",
+ "$id": "6352",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `tool_calls`.",
"type": {
- "$ref": "1031"
+ "$id": "6353",
+ "kind": "enumvalue",
+ "name": "tool_calls",
+ "value": "tool_calls",
+ "valueType": {
+ "$ref": "1039"
+ },
+ "enumType": {
+ "$ref": "6343"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -75503,17 +80526,17 @@
"isHttpMetadata": false
},
{
- "$id": "5920",
+ "$id": "6354",
"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": "5921",
+ "$id": "6355",
"kind": "array",
"name": "ArrayRunStepDetailsToolCallsObjectToolCallsObject",
"valueType": {
- "$id": "5922",
+ "$id": "6356",
"kind": "model",
"name": "RunStepDetailsToolCallsObjectToolCallsObject",
"namespace": "OpenAI",
@@ -75522,13 +80545,13 @@
"doc": "Abstractly represents a run step tool call details inner object.",
"decorators": [],
"discriminatorProperty": {
- "$id": "5923",
+ "$id": "6357",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The discriminated type identifier for the details object.",
"type": {
- "$ref": "1032"
+ "$ref": "1042"
},
"optional": false,
"readOnly": false,
@@ -75545,16 +80568,16 @@
},
"properties": [
{
- "$ref": "5923"
+ "$ref": "6357"
},
{
- "$id": "5924",
+ "$id": "6358",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The ID of the tool call object.",
"type": {
- "$id": "5925",
+ "$id": "6359",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75576,7 +80599,7 @@
],
"discriminatedSubtypes": {
"code_interpreter": {
- "$id": "5926",
+ "$id": "6360",
"kind": "model",
"name": "RunStepDetailsToolCallsCodeObject",
"namespace": "OpenAI",
@@ -75586,17 +80609,89 @@
"discriminatorValue": "code_interpreter",
"decorators": [],
"baseModel": {
- "$ref": "5922"
+ "$ref": "6356"
},
"properties": [
{
- "$id": "5927",
+ "$id": "6361",
"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": "1034"
+ "$id": "6362",
+ "kind": "enumvalue",
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "1043"
+ },
+ "enumType": {
+ "$id": "6363",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RunStepDetailsToolCallType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6364",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6365",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "code_interpreter",
+ "value": "code_interpreter",
+ "valueType": {
+ "$ref": "6364"
+ },
+ "enumType": {
+ "$ref": "6363"
+ }
+ },
+ {
+ "$id": "6366",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "6364"
+ },
+ "enumType": {
+ "$ref": "6363"
+ }
+ },
+ {
+ "$id": "6367",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "6364"
+ },
+ "enumType": {
+ "$ref": "6363"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -75612,13 +80707,13 @@
"isHttpMetadata": false
},
{
- "$id": "5928",
+ "$id": "6368",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"doc": "The Code Interpreter tool call definition.",
"type": {
- "$id": "5929",
+ "$id": "6369",
"kind": "model",
"name": "RunStepDetailsToolCallsCodeObjectCodeInterpreter",
"namespace": "OpenAI",
@@ -75627,13 +80722,13 @@
"decorators": [],
"properties": [
{
- "$id": "5930",
+ "$id": "6370",
"kind": "property",
"name": "input",
"serializedName": "input",
"doc": "The input to the Code Interpreter tool call.",
"type": {
- "$id": "5931",
+ "$id": "6371",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75653,17 +80748,17 @@
"isHttpMetadata": false
},
{
- "$id": "5932",
+ "$id": "6372",
"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": "5933",
+ "$id": "6373",
"kind": "array",
"name": "ArrayRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject",
"valueType": {
- "$id": "5934",
+ "$id": "6374",
"kind": "model",
"name": "RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject",
"namespace": "OpenAI",
@@ -75672,13 +80767,13 @@
"doc": "Abstractly represents a run step tool call details code interpreter output.",
"decorators": [],
"discriminatorProperty": {
- "$id": "5935",
+ "$id": "6375",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The discriminated type identifier for the details object.",
"type": {
- "$ref": "1037"
+ "$ref": "1047"
},
"optional": false,
"readOnly": false,
@@ -75695,12 +80790,12 @@
},
"properties": [
{
- "$ref": "5935"
+ "$ref": "6375"
}
],
"discriminatedSubtypes": {
"logs": {
- "$id": "5936",
+ "$id": "6376",
"kind": "model",
"name": "RunStepDetailsToolCallsCodeOutputLogsObject",
"namespace": "OpenAI",
@@ -75710,17 +80805,76 @@
"discriminatorValue": "logs",
"decorators": [],
"baseModel": {
- "$ref": "5934"
+ "$ref": "6374"
},
"properties": [
{
- "$id": "5937",
+ "$id": "6377",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `logs`.",
"type": {
- "$ref": "1039"
+ "$id": "6378",
+ "kind": "enumvalue",
+ "name": "logs",
+ "value": "logs",
+ "valueType": {
+ "$ref": "1048"
+ },
+ "enumType": {
+ "$id": "6379",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RunStepDetailsCodeInterpreterOutputType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6380",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6381",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "logs",
+ "value": "logs",
+ "valueType": {
+ "$ref": "6380"
+ },
+ "enumType": {
+ "$ref": "6379"
+ }
+ },
+ {
+ "$id": "6382",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "image",
+ "value": "image",
+ "valueType": {
+ "$ref": "6380"
+ },
+ "enumType": {
+ "$ref": "6379"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RunStepDetailsCodeInterpreterOutputType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -75736,13 +80890,13 @@
"isHttpMetadata": false
},
{
- "$id": "5938",
+ "$id": "6383",
"kind": "property",
"name": "logs",
"serializedName": "logs",
"doc": "The text output from the Code Interpreter tool call.",
"type": {
- "$id": "5939",
+ "$id": "6384",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75764,7 +80918,7 @@
]
},
"image": {
- "$id": "5940",
+ "$id": "6385",
"kind": "model",
"name": "RunStepDetailsToolCallsCodeOutputImageObject",
"namespace": "OpenAI",
@@ -75773,17 +80927,27 @@
"discriminatorValue": "image",
"decorators": [],
"baseModel": {
- "$ref": "5934"
+ "$ref": "6374"
},
"properties": [
{
- "$id": "5941",
+ "$id": "6386",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `image`.",
"type": {
- "$ref": "1040"
+ "$id": "6387",
+ "kind": "enumvalue",
+ "name": "image",
+ "value": "image",
+ "valueType": {
+ "$ref": "1048"
+ },
+ "enumType": {
+ "$ref": "6379"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -75799,12 +80963,12 @@
"isHttpMetadata": false
},
{
- "$id": "5942",
+ "$id": "6388",
"kind": "property",
"name": "image",
"serializedName": "image",
"type": {
- "$id": "5943",
+ "$id": "6389",
"kind": "model",
"name": "RunStepDetailsToolCallsCodeOutputImageObjectImage",
"namespace": "OpenAI",
@@ -75813,13 +80977,13 @@
"decorators": [],
"properties": [
{
- "$id": "5944",
+ "$id": "6390",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The [file](/docs/api-reference/files) ID of the image.",
"type": {
- "$id": "5945",
+ "$id": "6391",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -75891,7 +81055,7 @@
]
},
"file_search": {
- "$id": "5946",
+ "$id": "6392",
"kind": "model",
"name": "RunStepDetailsToolCallsFileSearchObject",
"namespace": "OpenAI",
@@ -75900,17 +81064,27 @@
"discriminatorValue": "file_search",
"decorators": [],
"baseModel": {
- "$ref": "5922"
+ "$ref": "6356"
},
"properties": [
{
- "$id": "5947",
+ "$id": "6393",
"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": "1035"
+ "$id": "6394",
+ "kind": "enumvalue",
+ "name": "file_search",
+ "value": "file_search",
+ "valueType": {
+ "$ref": "1043"
+ },
+ "enumType": {
+ "$ref": "6363"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -75926,13 +81100,13 @@
"isHttpMetadata": false
},
{
- "$id": "5948",
+ "$id": "6395",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"doc": "For now, this is always going to be an empty object.",
"type": {
- "$id": "5949",
+ "$id": "6396",
"kind": "model",
"name": "RunStepDetailsToolCallsFileSearchObjectFileSearch",
"namespace": "OpenAI",
@@ -75941,12 +81115,12 @@
"decorators": [],
"properties": [
{
- "$id": "5950",
+ "$id": "6397",
"kind": "property",
"name": "ranking_options",
"serializedName": "ranking_options",
"type": {
- "$id": "5951",
+ "$id": "6398",
"kind": "model",
"name": "RunStepDetailsToolCallsFileSearchRankingOptionsObject",
"namespace": "OpenAI",
@@ -75956,7 +81130,7 @@
"decorators": [],
"properties": [
{
- "$id": "5952",
+ "$id": "6399",
"kind": "property",
"name": "ranker",
"serializedName": "ranker",
@@ -75977,13 +81151,13 @@
"isHttpMetadata": false
},
{
- "$id": "5953",
+ "$id": "6400",
"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": "5954",
+ "$id": "6401",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -76018,17 +81192,17 @@
"isHttpMetadata": false
},
{
- "$id": "5955",
+ "$id": "6402",
"kind": "property",
"name": "results",
"serializedName": "results",
"doc": "The results of the file search.",
"type": {
- "$id": "5956",
+ "$id": "6403",
"kind": "array",
"name": "ArrayRunStepDetailsToolCallsFileSearchResultObject",
"valueType": {
- "$id": "5957",
+ "$id": "6404",
"kind": "model",
"name": "RunStepDetailsToolCallsFileSearchResultObject",
"namespace": "OpenAI",
@@ -76038,13 +81212,13 @@
"decorators": [],
"properties": [
{
- "$id": "5958",
+ "$id": "6405",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file that result was found in.",
"type": {
- "$id": "5959",
+ "$id": "6406",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76064,13 +81238,13 @@
"isHttpMetadata": false
},
{
- "$id": "5960",
+ "$id": "6407",
"kind": "property",
"name": "file_name",
"serializedName": "file_name",
"doc": "The name of the file that result was found in.",
"type": {
- "$id": "5961",
+ "$id": "6408",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76090,13 +81264,13 @@
"isHttpMetadata": false
},
{
- "$id": "5962",
+ "$id": "6409",
"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": "5963",
+ "$id": "6410",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -76116,17 +81290,17 @@
"isHttpMetadata": false
},
{
- "$id": "5964",
+ "$id": "6411",
"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": "5965",
+ "$id": "6412",
"kind": "array",
"name": "Array39",
"valueType": {
- "$id": "5966",
+ "$id": "6413",
"kind": "model",
"name": "RunStepDetailsToolCallsFileSearchResultObjectContent",
"namespace": "OpenAI",
@@ -76135,21 +81309,57 @@
"decorators": [],
"properties": [
{
- "$id": "5967",
+ "$id": "6414",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of the content.",
"type": {
- "$id": "5968",
+ "$id": "6415",
"kind": "enumvalue",
"name": "text",
"value": "text",
"valueType": {
- "$ref": "1042"
+ "$ref": "1447"
},
"enumType": {
- "$ref": "1041"
+ "$id": "6416",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6417",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6418",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "text",
+ "value": "text",
+ "enumType": {
+ "$ref": "6416"
+ },
+ "valueType": {
+ "$ref": "6417"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentType",
+ "apiVersions": [],
+ "isUnionAsEnum": false,
+ "__accessSet": true
},
"decorators": []
},
@@ -76167,13 +81377,13 @@
"isHttpMetadata": false
},
{
- "$id": "5969",
+ "$id": "6419",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text content of the file.",
"type": {
- "$id": "5970",
+ "$id": "6420",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76246,7 +81456,7 @@
]
},
"function": {
- "$id": "5971",
+ "$id": "6421",
"kind": "model",
"name": "RunStepDetailsToolCallsFunctionObject",
"namespace": "OpenAI",
@@ -76255,17 +81465,27 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "5922"
+ "$ref": "6356"
},
"properties": [
{
- "$id": "5972",
+ "$id": "6422",
"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": "1036"
+ "$id": "6423",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "1043"
+ },
+ "enumType": {
+ "$ref": "6363"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -76281,13 +81501,13 @@
"isHttpMetadata": false
},
{
- "$id": "5973",
+ "$id": "6424",
"kind": "property",
"name": "function",
"serializedName": "function",
"doc": "The definition of the function that was called.",
"type": {
- "$id": "5974",
+ "$id": "6425",
"kind": "model",
"name": "RunStepDetailsToolCallsFunctionObjectFunction",
"namespace": "OpenAI",
@@ -76296,13 +81516,13 @@
"decorators": [],
"properties": [
{
- "$id": "5975",
+ "$id": "6426",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the function.",
"type": {
- "$id": "5976",
+ "$id": "6427",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76322,13 +81542,13 @@
"isHttpMetadata": false
},
{
- "$id": "5977",
+ "$id": "6428",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"doc": "The arguments passed to the function.",
"type": {
- "$id": "5978",
+ "$id": "6429",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76348,16 +81568,16 @@
"isHttpMetadata": false
},
{
- "$id": "5979",
+ "$id": "6430",
"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": "5980",
+ "$id": "6431",
"kind": "nullable",
"type": {
- "$id": "5981",
+ "$id": "6432",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76431,16 +81651,16 @@
"isHttpMetadata": false
},
{
- "$id": "5982",
+ "$id": "6433",
"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": "5983",
+ "$id": "6434",
"kind": "nullable",
"type": {
- "$id": "5984",
+ "$id": "6435",
"kind": "model",
"name": "RunStepObjectLastError1",
"namespace": "OpenAI",
@@ -76449,13 +81669,13 @@
"decorators": [],
"properties": [
{
- "$id": "5985",
+ "$id": "6436",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "One of `server_error` or `rate_limit_exceeded`.",
"type": {
- "$ref": "1044"
+ "$ref": "1051"
},
"optional": false,
"readOnly": false,
@@ -76471,13 +81691,13 @@
"isHttpMetadata": false
},
{
- "$id": "5986",
+ "$id": "6437",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable description of the error.",
"type": {
- "$id": "5987",
+ "$id": "6438",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76514,21 +81734,21 @@
"isHttpMetadata": false
},
{
- "$id": "5988",
+ "$id": "6439",
"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": "5989",
+ "$id": "6440",
"kind": "nullable",
"type": {
- "$id": "5990",
+ "$id": "6441",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5991",
+ "$id": "6442",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -76553,21 +81773,21 @@
"isHttpMetadata": false
},
{
- "$id": "5992",
+ "$id": "6443",
"kind": "property",
"name": "cancelled_at",
"serializedName": "cancelled_at",
"doc": "The Unix timestamp (in seconds) for when the run step was cancelled.",
"type": {
- "$id": "5993",
+ "$id": "6444",
"kind": "nullable",
"type": {
- "$id": "5994",
+ "$id": "6445",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5995",
+ "$id": "6446",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -76592,21 +81812,21 @@
"isHttpMetadata": false
},
{
- "$id": "5996",
+ "$id": "6447",
"kind": "property",
"name": "failed_at",
"serializedName": "failed_at",
"doc": "The Unix timestamp (in seconds) for when the run step failed.",
"type": {
- "$id": "5997",
+ "$id": "6448",
"kind": "nullable",
"type": {
- "$id": "5998",
+ "$id": "6449",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "5999",
+ "$id": "6450",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -76631,21 +81851,21 @@
"isHttpMetadata": false
},
{
- "$id": "6000",
+ "$id": "6451",
"kind": "property",
"name": "completed_at",
"serializedName": "completed_at",
"doc": "The Unix timestamp (in seconds) for when the run step completed.",
"type": {
- "$id": "6001",
+ "$id": "6452",
"kind": "nullable",
"type": {
- "$id": "6002",
+ "$id": "6453",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6003",
+ "$id": "6454",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -76670,13 +81890,13 @@
"isHttpMetadata": false
},
{
- "$id": "6004",
+ "$id": "6455",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": true,
@@ -76692,15 +81912,15 @@
"isHttpMetadata": false
},
{
- "$id": "6005",
+ "$id": "6456",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"type": {
- "$id": "6006",
+ "$id": "6457",
"kind": "nullable",
"type": {
- "$id": "6007",
+ "$id": "6458",
"kind": "model",
"name": "RunStepCompletionUsage",
"namespace": "OpenAI",
@@ -76710,13 +81930,13 @@
"decorators": [],
"properties": [
{
- "$id": "6008",
+ "$id": "6459",
"kind": "property",
"name": "completion_tokens",
"serializedName": "completion_tokens",
"doc": "Number of completion tokens used over the course of the run step.",
"type": {
- "$id": "6009",
+ "$id": "6460",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -76736,13 +81956,13 @@
"isHttpMetadata": false
},
{
- "$id": "6010",
+ "$id": "6461",
"kind": "property",
"name": "prompt_tokens",
"serializedName": "prompt_tokens",
"doc": "Number of prompt tokens used over the course of the run step.",
"type": {
- "$id": "6011",
+ "$id": "6462",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -76762,13 +81982,13 @@
"isHttpMetadata": false
},
{
- "$id": "6012",
+ "$id": "6463",
"kind": "property",
"name": "total_tokens",
"serializedName": "total_tokens",
"doc": "Total number of tokens used (prompt + completion).",
"type": {
- "$id": "6013",
+ "$id": "6464",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -76823,12 +82043,12 @@
"isHttpMetadata": false
},
{
- "$id": "6014",
+ "$id": "6465",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "6015",
+ "$id": "6466",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76848,12 +82068,12 @@
"isHttpMetadata": false
},
{
- "$id": "6016",
+ "$id": "6467",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "6017",
+ "$id": "6468",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76873,12 +82093,12 @@
"isHttpMetadata": false
},
{
- "$id": "6018",
+ "$id": "6469",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "6019",
+ "$id": "6470",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -76900,70 +82120,70 @@
]
},
{
- "$ref": "5894"
+ "$ref": "6322"
},
{
- "$ref": "5910"
+ "$ref": "6338"
},
{
- "$ref": "5912"
+ "$ref": "6340"
},
{
- "$ref": "5915"
+ "$ref": "6348"
},
{
- "$ref": "5918"
+ "$ref": "6351"
},
{
- "$ref": "5922"
+ "$ref": "6356"
},
{
- "$ref": "5926"
+ "$ref": "6360"
},
{
- "$ref": "5929"
+ "$ref": "6369"
},
{
- "$ref": "5934"
+ "$ref": "6374"
},
{
- "$ref": "5936"
+ "$ref": "6376"
},
{
- "$ref": "5940"
+ "$ref": "6385"
},
{
- "$ref": "5943"
+ "$ref": "6389"
},
{
- "$ref": "5946"
+ "$ref": "6392"
},
{
- "$ref": "5949"
+ "$ref": "6396"
},
{
- "$ref": "5951"
+ "$ref": "6398"
},
{
- "$ref": "5957"
+ "$ref": "6404"
},
{
- "$ref": "5966"
+ "$ref": "6413"
},
{
- "$ref": "5971"
+ "$ref": "6421"
},
{
- "$ref": "5974"
+ "$ref": "6425"
},
{
- "$ref": "5984"
+ "$ref": "6435"
},
{
- "$ref": "6007"
+ "$ref": "6458"
},
{
- "$id": "6020",
+ "$id": "6471",
"kind": "model",
"name": "ThreadObject",
"namespace": "OpenAI",
@@ -76973,13 +82193,13 @@
"decorators": [],
"properties": [
{
- "$id": "6021",
+ "$id": "6472",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "6022",
+ "$id": "6473",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -76999,13 +82219,13 @@
"isHttpMetadata": false
},
{
- "$id": "6023",
+ "$id": "6474",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `thread`.",
"type": {
- "$ref": "1661"
+ "$ref": "1691"
},
"optional": false,
"readOnly": false,
@@ -77021,18 +82241,18 @@
"isHttpMetadata": false
},
{
- "$id": "6024",
+ "$id": "6475",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the thread was created.",
"type": {
- "$id": "6025",
+ "$id": "6476",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6026",
+ "$id": "6477",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77055,16 +82275,16 @@
"isHttpMetadata": false
},
{
- "$id": "6027",
+ "$id": "6478",
"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": "6028",
+ "$id": "6479",
"kind": "nullable",
"type": {
- "$id": "6029",
+ "$id": "6480",
"kind": "model",
"name": "ThreadObjectToolResources1",
"namespace": "OpenAI",
@@ -77073,12 +82293,12 @@
"decorators": [],
"properties": [
{
- "$id": "6030",
+ "$id": "6481",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"type": {
- "$id": "6031",
+ "$id": "6482",
"kind": "model",
"name": "ThreadObjectToolResourcesCodeInterpreter",
"namespace": "OpenAI",
@@ -77087,13 +82307,13 @@
"decorators": [],
"properties": [
{
- "$id": "6032",
+ "$id": "6483",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -77124,12 +82344,12 @@
"isHttpMetadata": false
},
{
- "$id": "6033",
+ "$id": "6484",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"type": {
- "$id": "6034",
+ "$id": "6485",
"kind": "model",
"name": "ThreadObjectToolResourcesFileSearch",
"namespace": "OpenAI",
@@ -77138,13 +82358,13 @@
"decorators": [],
"properties": [
{
- "$id": "6035",
+ "$id": "6486",
"kind": "property",
"name": "vector_store_ids",
"serializedName": "vector_store_ids",
"doc": "The [vector store](/docs/api-reference/vector-stores/object) attached to this thread. There can be a maximum of 1 vector store attached to the thread.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -77192,13 +82412,13 @@
"isHttpMetadata": false
},
{
- "$id": "6036",
+ "$id": "6487",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": true,
@@ -77216,16 +82436,16 @@
]
},
{
- "$ref": "6029"
+ "$ref": "6480"
},
{
- "$ref": "6031"
+ "$ref": "6482"
},
{
- "$ref": "6034"
+ "$ref": "6485"
},
{
- "$id": "6037",
+ "$id": "6488",
"kind": "model",
"name": "ModifyThreadRequest",
"namespace": "OpenAI",
@@ -77234,16 +82454,16 @@
"decorators": [],
"properties": [
{
- "$id": "6038",
+ "$id": "6489",
"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": "6039",
+ "$id": "6490",
"kind": "nullable",
"type": {
- "$id": "6040",
+ "$id": "6491",
"kind": "model",
"name": "ModifyThreadRequestToolResources1",
"namespace": "OpenAI",
@@ -77252,12 +82472,12 @@
"decorators": [],
"properties": [
{
- "$id": "6041",
+ "$id": "6492",
"kind": "property",
"name": "code_interpreter",
"serializedName": "code_interpreter",
"type": {
- "$id": "6042",
+ "$id": "6493",
"kind": "model",
"name": "ModifyThreadRequestToolResourcesCodeInterpreter",
"namespace": "OpenAI",
@@ -77266,13 +82486,13 @@
"decorators": [],
"properties": [
{
- "$id": "6043",
+ "$id": "6494",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [file](/docs/api-reference/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -77303,12 +82523,12 @@
"isHttpMetadata": false
},
{
- "$id": "6044",
+ "$id": "6495",
"kind": "property",
"name": "file_search",
"serializedName": "file_search",
"type": {
- "$ref": "2348"
+ "$ref": "2376"
},
"optional": true,
"readOnly": false,
@@ -77341,13 +82561,13 @@
"isHttpMetadata": false
},
{
- "$id": "6045",
+ "$id": "6496",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -77365,13 +82585,13 @@
]
},
{
- "$ref": "6040"
+ "$ref": "6491"
},
{
- "$ref": "6042"
+ "$ref": "6493"
},
{
- "$id": "6046",
+ "$id": "6497",
"kind": "model",
"name": "DeleteThreadResponse",
"namespace": "OpenAI",
@@ -77380,12 +82600,12 @@
"decorators": [],
"properties": [
{
- "$id": "6047",
+ "$id": "6498",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "6048",
+ "$id": "6499",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -77405,12 +82625,12 @@
"isHttpMetadata": false
},
{
- "$id": "6049",
+ "$id": "6500",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "6050",
+ "$id": "6501",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -77430,12 +82650,12 @@
"isHttpMetadata": false
},
{
- "$id": "6051",
+ "$id": "6502",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1663"
+ "$ref": "1693"
},
"optional": false,
"readOnly": false,
@@ -77453,7 +82673,7 @@
]
},
{
- "$id": "6052",
+ "$id": "6503",
"kind": "model",
"name": "ListVectorStoresResponse",
"namespace": "OpenAI",
@@ -77462,12 +82682,12 @@
"decorators": [],
"properties": [
{
- "$id": "6053",
+ "$id": "6504",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1665"
+ "$ref": "1695"
},
"optional": false,
"readOnly": false,
@@ -77483,16 +82703,16 @@
"isHttpMetadata": false
},
{
- "$id": "6054",
+ "$id": "6505",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "6055",
+ "$id": "6506",
"kind": "array",
"name": "ArrayVectorStoreObject",
"valueType": {
- "$id": "6056",
+ "$id": "6507",
"kind": "model",
"name": "VectorStoreObject",
"namespace": "OpenAI",
@@ -77502,13 +82722,13 @@
"decorators": [],
"properties": [
{
- "$id": "6057",
+ "$id": "6508",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "6058",
+ "$id": "6509",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -77528,13 +82748,13 @@
"isHttpMetadata": false
},
{
- "$id": "6059",
+ "$id": "6510",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `vector_store`.",
"type": {
- "$ref": "1667"
+ "$ref": "1697"
},
"optional": false,
"readOnly": false,
@@ -77550,18 +82770,18 @@
"isHttpMetadata": false
},
{
- "$id": "6060",
+ "$id": "6511",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the vector store was created.",
"type": {
- "$id": "6061",
+ "$id": "6512",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6062",
+ "$id": "6513",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77584,13 +82804,13 @@
"isHttpMetadata": false
},
{
- "$id": "6063",
+ "$id": "6514",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the vector store.",
"type": {
- "$id": "6064",
+ "$id": "6515",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -77610,13 +82830,13 @@
"isHttpMetadata": false
},
{
- "$id": "6065",
+ "$id": "6516",
"kind": "property",
"name": "usage_bytes",
"serializedName": "usage_bytes",
"doc": "The total number of bytes used by the files in the vector store.",
"type": {
- "$id": "6066",
+ "$id": "6517",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77636,12 +82856,12 @@
"isHttpMetadata": false
},
{
- "$id": "6067",
+ "$id": "6518",
"kind": "property",
"name": "file_counts",
"serializedName": "file_counts",
"type": {
- "$id": "6068",
+ "$id": "6519",
"kind": "model",
"name": "VectorStoreObjectFileCounts",
"namespace": "OpenAI",
@@ -77650,13 +82870,13 @@
"decorators": [],
"properties": [
{
- "$id": "6069",
+ "$id": "6520",
"kind": "property",
"name": "in_progress",
"serializedName": "in_progress",
"doc": "The number of files that are currently being processed.",
"type": {
- "$id": "6070",
+ "$id": "6521",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77676,13 +82896,13 @@
"isHttpMetadata": false
},
{
- "$id": "6071",
+ "$id": "6522",
"kind": "property",
"name": "completed",
"serializedName": "completed",
"doc": "The number of files that have been successfully processed.",
"type": {
- "$id": "6072",
+ "$id": "6523",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77702,13 +82922,13 @@
"isHttpMetadata": false
},
{
- "$id": "6073",
+ "$id": "6524",
"kind": "property",
"name": "failed",
"serializedName": "failed",
"doc": "The number of files that have failed to process.",
"type": {
- "$id": "6074",
+ "$id": "6525",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77728,13 +82948,13 @@
"isHttpMetadata": false
},
{
- "$id": "6075",
+ "$id": "6526",
"kind": "property",
"name": "cancelled",
"serializedName": "cancelled",
"doc": "The number of files that were cancelled.",
"type": {
- "$id": "6076",
+ "$id": "6527",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77754,13 +82974,13 @@
"isHttpMetadata": false
},
{
- "$id": "6077",
+ "$id": "6528",
"kind": "property",
"name": "total",
"serializedName": "total",
"doc": "The total number of files.",
"type": {
- "$id": "6078",
+ "$id": "6529",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77795,13 +83015,13 @@
"isHttpMetadata": false
},
{
- "$id": "6079",
+ "$id": "6530",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the vector store, which can be either `expired`, `in_progress`, or `completed`. A status of `completed` indicates that the vector store is ready for use.",
"type": {
- "$ref": "1048"
+ "$ref": "1055"
},
"optional": false,
"readOnly": false,
@@ -77817,12 +83037,12 @@
"isHttpMetadata": false
},
{
- "$id": "6080",
+ "$id": "6531",
"kind": "property",
"name": "expires_after",
"serializedName": "expires_after",
"type": {
- "$id": "6081",
+ "$id": "6532",
"kind": "model",
"name": "VectorStoreExpirationAfter",
"namespace": "OpenAI",
@@ -77832,21 +83052,57 @@
"decorators": [],
"properties": [
{
- "$id": "6082",
+ "$id": "6533",
"kind": "property",
"name": "anchor",
"serializedName": "anchor",
"doc": "Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`.",
"type": {
- "$id": "6083",
+ "$id": "6534",
"kind": "enumvalue",
"name": "last_active_at",
"value": "last_active_at",
"valueType": {
- "$ref": "1054"
+ "$ref": "1450"
},
"enumType": {
- "$ref": "1053"
+ "$id": "6535",
+ "kind": "enum",
+ "decorators": [],
+ "name": "VectorStoreExpirationAnchor",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6536",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6537",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "last_active_at",
+ "value": "last_active_at",
+ "enumType": {
+ "$ref": "6535"
+ },
+ "valueType": {
+ "$ref": "6536"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.VectorStoreExpirationAnchor",
+ "apiVersions": [],
+ "isUnionAsEnum": false,
+ "__accessSet": true
},
"decorators": []
},
@@ -77864,13 +83120,13 @@
"isHttpMetadata": false
},
{
- "$id": "6084",
+ "$id": "6538",
"kind": "property",
"name": "days",
"serializedName": "days",
"doc": "The number of days after the anchor time that the vector store will expire.",
"type": {
- "$id": "6085",
+ "$id": "6539",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77905,21 +83161,21 @@
"isHttpMetadata": false
},
{
- "$id": "6086",
+ "$id": "6540",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "The Unix timestamp (in seconds) for when the vector store will expire.",
"type": {
- "$id": "6087",
+ "$id": "6541",
"kind": "nullable",
"type": {
- "$id": "6088",
+ "$id": "6542",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6089",
+ "$id": "6543",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77944,21 +83200,21 @@
"isHttpMetadata": false
},
{
- "$id": "6090",
+ "$id": "6544",
"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": "6091",
+ "$id": "6545",
"kind": "nullable",
"type": {
- "$id": "6092",
+ "$id": "6546",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6093",
+ "$id": "6547",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -77983,13 +83239,13 @@
"isHttpMetadata": false
},
{
- "$id": "6094",
+ "$id": "6548",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": true,
@@ -78023,12 +83279,12 @@
"isHttpMetadata": false
},
{
- "$id": "6095",
+ "$id": "6549",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "6096",
+ "$id": "6550",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78048,12 +83304,12 @@
"isHttpMetadata": false
},
{
- "$id": "6097",
+ "$id": "6551",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "6098",
+ "$id": "6552",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78073,12 +83329,12 @@
"isHttpMetadata": false
},
{
- "$id": "6099",
+ "$id": "6553",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "6100",
+ "$id": "6554",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -78100,16 +83356,16 @@
]
},
{
- "$ref": "6056"
+ "$ref": "6507"
},
{
- "$ref": "6068"
+ "$ref": "6519"
},
{
- "$ref": "6081"
+ "$ref": "6532"
},
{
- "$id": "6101",
+ "$id": "6555",
"kind": "model",
"name": "CreateVectorStoreRequest",
"namespace": "OpenAI",
@@ -78118,13 +83374,13 @@
"decorators": [],
"properties": [
{
- "$id": "6102",
+ "$id": "6556",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -78140,13 +83396,13 @@
"isHttpMetadata": false
},
{
- "$id": "6103",
+ "$id": "6557",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the vector store.",
"type": {
- "$id": "6104",
+ "$id": "6558",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78166,12 +83422,12 @@
"isHttpMetadata": false
},
{
- "$id": "6105",
+ "$id": "6559",
"kind": "property",
"name": "expires_after",
"serializedName": "expires_after",
"type": {
- "$ref": "6081"
+ "$ref": "6532"
},
"optional": true,
"readOnly": false,
@@ -78187,21 +83443,21 @@
"isHttpMetadata": false
},
{
- "$id": "6106",
+ "$id": "6560",
"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": "6107",
+ "$id": "6561",
"kind": "union",
"name": "CreateVectorStoreRequestChunkingStrategy",
"variantTypes": [
{
- "$ref": "2434"
+ "$ref": "2469"
},
{
- "$ref": "2436"
+ "$ref": "2476"
}
],
"namespace": "OpenAI",
@@ -78221,13 +83477,13 @@
"isHttpMetadata": false
},
{
- "$id": "6108",
+ "$id": "6562",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -78245,7 +83501,7 @@
]
},
{
- "$id": "6109",
+ "$id": "6563",
"kind": "model",
"name": "UpdateVectorStoreRequest",
"namespace": "OpenAI",
@@ -78254,16 +83510,16 @@
"decorators": [],
"properties": [
{
- "$id": "6110",
+ "$id": "6564",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The name of the vector store.",
"type": {
- "$id": "6111",
+ "$id": "6565",
"kind": "nullable",
"type": {
- "$id": "6112",
+ "$id": "6566",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78285,15 +83541,15 @@
"isHttpMetadata": false
},
{
- "$id": "6113",
+ "$id": "6567",
"kind": "property",
"name": "expires_after",
"serializedName": "expires_after",
"type": {
- "$id": "6114",
+ "$id": "6568",
"kind": "nullable",
"type": {
- "$ref": "6081"
+ "$ref": "6532"
},
"namespace": "OpenAI"
},
@@ -78311,13 +83567,13 @@
"isHttpMetadata": false
},
{
- "$id": "6115",
+ "$id": "6569",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -78335,7 +83591,7 @@
]
},
{
- "$id": "6116",
+ "$id": "6570",
"kind": "model",
"name": "DeleteVectorStoreResponse",
"namespace": "OpenAI",
@@ -78344,12 +83600,12 @@
"decorators": [],
"properties": [
{
- "$id": "6117",
+ "$id": "6571",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "6118",
+ "$id": "6572",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78369,12 +83625,12 @@
"isHttpMetadata": false
},
{
- "$id": "6119",
+ "$id": "6573",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "6120",
+ "$id": "6574",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -78394,12 +83650,12 @@
"isHttpMetadata": false
},
{
- "$id": "6121",
+ "$id": "6575",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1669"
+ "$ref": "1699"
},
"optional": false,
"readOnly": false,
@@ -78417,7 +83673,7 @@
]
},
{
- "$id": "6122",
+ "$id": "6576",
"kind": "model",
"name": "CreateVectorStoreFileBatchRequest",
"namespace": "OpenAI",
@@ -78426,13 +83682,13 @@
"decorators": [],
"properties": [
{
- "$id": "6123",
+ "$id": "6577",
"kind": "property",
"name": "file_ids",
"serializedName": "file_ids",
"doc": "A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -78448,12 +83704,12 @@
"isHttpMetadata": false
},
{
- "$id": "6124",
+ "$id": "6578",
"kind": "property",
"name": "chunking_strategy",
"serializedName": "chunking_strategy",
"type": {
- "$ref": "2432"
+ "$ref": "2467"
},
"optional": true,
"readOnly": false,
@@ -78469,15 +83725,15 @@
"isHttpMetadata": false
},
{
- "$id": "6125",
+ "$id": "6579",
"kind": "property",
"name": "attributes",
"serializedName": "attributes",
"type": {
- "$id": "6126",
+ "$id": "6580",
"kind": "nullable",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"namespace": "OpenAI"
},
@@ -78497,7 +83753,7 @@
]
},
{
- "$id": "6127",
+ "$id": "6581",
"kind": "model",
"name": "VectorStoreFileBatchObject",
"namespace": "OpenAI",
@@ -78507,13 +83763,13 @@
"decorators": [],
"properties": [
{
- "$id": "6128",
+ "$id": "6582",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "6129",
+ "$id": "6583",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78533,13 +83789,13 @@
"isHttpMetadata": false
},
{
- "$id": "6130",
+ "$id": "6584",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `vector_store.file_batch`.",
"type": {
- "$ref": "1671"
+ "$ref": "1701"
},
"optional": false,
"readOnly": false,
@@ -78555,18 +83811,18 @@
"isHttpMetadata": false
},
{
- "$id": "6131",
+ "$id": "6585",
"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": "6132",
+ "$id": "6586",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6133",
+ "$id": "6587",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78589,13 +83845,13 @@
"isHttpMetadata": false
},
{
- "$id": "6134",
+ "$id": "6588",
"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": "6135",
+ "$id": "6589",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78615,13 +83871,13 @@
"isHttpMetadata": false
},
{
- "$id": "6136",
+ "$id": "6590",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.",
"type": {
- "$ref": "1056"
+ "$ref": "1060"
},
"optional": false,
"readOnly": false,
@@ -78637,12 +83893,12 @@
"isHttpMetadata": false
},
{
- "$id": "6137",
+ "$id": "6591",
"kind": "property",
"name": "file_counts",
"serializedName": "file_counts",
"type": {
- "$id": "6138",
+ "$id": "6592",
"kind": "model",
"name": "VectorStoreFileBatchObjectFileCounts",
"namespace": "OpenAI",
@@ -78651,13 +83907,13 @@
"decorators": [],
"properties": [
{
- "$id": "6139",
+ "$id": "6593",
"kind": "property",
"name": "in_progress",
"serializedName": "in_progress",
"doc": "The number of files that are currently being processed.",
"type": {
- "$id": "6140",
+ "$id": "6594",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78677,13 +83933,13 @@
"isHttpMetadata": false
},
{
- "$id": "6141",
+ "$id": "6595",
"kind": "property",
"name": "completed",
"serializedName": "completed",
"doc": "The number of files that have been processed.",
"type": {
- "$id": "6142",
+ "$id": "6596",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78703,13 +83959,13 @@
"isHttpMetadata": false
},
{
- "$id": "6143",
+ "$id": "6597",
"kind": "property",
"name": "failed",
"serializedName": "failed",
"doc": "The number of files that have failed to process.",
"type": {
- "$id": "6144",
+ "$id": "6598",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78729,13 +83985,13 @@
"isHttpMetadata": false
},
{
- "$id": "6145",
+ "$id": "6599",
"kind": "property",
"name": "cancelled",
"serializedName": "cancelled",
"doc": "The number of files that where cancelled.",
"type": {
- "$id": "6146",
+ "$id": "6600",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78755,13 +84011,13 @@
"isHttpMetadata": false
},
{
- "$id": "6147",
+ "$id": "6601",
"kind": "property",
"name": "total",
"serializedName": "total",
"doc": "The total number of files.",
"type": {
- "$id": "6148",
+ "$id": "6602",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78798,10 +84054,10 @@
]
},
{
- "$ref": "6138"
+ "$ref": "6592"
},
{
- "$id": "6149",
+ "$id": "6603",
"kind": "model",
"name": "ListVectorStoreFilesResponse",
"namespace": "OpenAI",
@@ -78810,12 +84066,12 @@
"decorators": [],
"properties": [
{
- "$id": "6150",
+ "$id": "6604",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1673"
+ "$ref": "1703"
},
"optional": false,
"readOnly": false,
@@ -78831,16 +84087,16 @@
"isHttpMetadata": false
},
{
- "$id": "6151",
+ "$id": "6605",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "6152",
+ "$id": "6606",
"kind": "array",
"name": "ArrayVectorStoreFileObject",
"valueType": {
- "$id": "6153",
+ "$id": "6607",
"kind": "model",
"name": "VectorStoreFileObject",
"namespace": "OpenAI",
@@ -78850,13 +84106,13 @@
"decorators": [],
"properties": [
{
- "$id": "6154",
+ "$id": "6608",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "6155",
+ "$id": "6609",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78876,13 +84132,13 @@
"isHttpMetadata": false
},
{
- "$id": "6156",
+ "$id": "6610",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `vector_store.file`.",
"type": {
- "$ref": "1675"
+ "$ref": "1705"
},
"optional": false,
"readOnly": false,
@@ -78898,13 +84154,13 @@
"isHttpMetadata": false
},
{
- "$id": "6157",
+ "$id": "6611",
"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": "6158",
+ "$id": "6612",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78924,18 +84180,18 @@
"isHttpMetadata": false
},
{
- "$id": "6159",
+ "$id": "6613",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the vector store file was created.",
"type": {
- "$id": "6160",
+ "$id": "6614",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6161",
+ "$id": "6615",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -78958,13 +84214,13 @@
"isHttpMetadata": false
},
{
- "$id": "6162",
+ "$id": "6616",
"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": "6163",
+ "$id": "6617",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -78984,13 +84240,13 @@
"isHttpMetadata": false
},
{
- "$id": "6164",
+ "$id": "6618",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the vector store file, which can be either `in_progress`, `completed`, `cancelled`, or `failed`. The status `completed` indicates that the vector store file is ready for use.",
"type": {
- "$ref": "1062"
+ "$ref": "1066"
},
"optional": false,
"readOnly": false,
@@ -79006,16 +84262,16 @@
"isHttpMetadata": false
},
{
- "$id": "6165",
+ "$id": "6619",
"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": "6166",
+ "$id": "6620",
"kind": "nullable",
"type": {
- "$id": "6167",
+ "$id": "6621",
"kind": "model",
"name": "VectorStoreFileObjectLastError1",
"namespace": "OpenAI",
@@ -79024,13 +84280,13 @@
"decorators": [],
"properties": [
{
- "$id": "6168",
+ "$id": "6622",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "One of `server_error` or `rate_limit_exceeded`.",
"type": {
- "$ref": "1068"
+ "$ref": "1072"
},
"optional": false,
"readOnly": false,
@@ -79046,13 +84302,13 @@
"isHttpMetadata": false
},
{
- "$id": "6169",
+ "$id": "6623",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable description of the error.",
"type": {
- "$id": "6170",
+ "$id": "6624",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79089,13 +84345,13 @@
"isHttpMetadata": false
},
{
- "$id": "6171",
+ "$id": "6625",
"kind": "property",
"name": "chunking_strategy",
"serializedName": "chunking_strategy",
"doc": "The strategy used to chunk the file.",
"type": {
- "$id": "6172",
+ "$id": "6626",
"kind": "model",
"name": "ChunkingStrategyResponseParam",
"namespace": "OpenAI",
@@ -79103,12 +84359,12 @@
"usage": "Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "6173",
+ "$id": "6627",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1073"
+ "$ref": "1077"
},
"optional": false,
"readOnly": false,
@@ -79125,12 +84381,12 @@
},
"properties": [
{
- "$ref": "6173"
+ "$ref": "6627"
}
],
"discriminatedSubtypes": {
"other": {
- "$id": "6174",
+ "$id": "6628",
"kind": "model",
"name": "OtherChunkingStrategyResponseParam",
"namespace": "OpenAI",
@@ -79140,17 +84396,76 @@
"discriminatorValue": "other",
"decorators": [],
"baseModel": {
- "$ref": "6172"
+ "$ref": "6626"
},
"properties": [
{
- "$id": "6175",
+ "$id": "6629",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `other`.",
"type": {
- "$ref": "1076"
+ "$id": "6630",
+ "kind": "enumvalue",
+ "name": "other",
+ "value": "other",
+ "valueType": {
+ "$ref": "1078"
+ },
+ "enumType": {
+ "$id": "6631",
+ "kind": "enum",
+ "decorators": [],
+ "name": "ChunkingStrategyResponseParamType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6632",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6633",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "static",
+ "value": "static",
+ "valueType": {
+ "$ref": "6632"
+ },
+ "enumType": {
+ "$ref": "6631"
+ }
+ },
+ {
+ "$id": "6634",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "other",
+ "value": "other",
+ "valueType": {
+ "$ref": "6632"
+ },
+ "enumType": {
+ "$ref": "6631"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.ChunkingStrategyResponseParam.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -79168,7 +84483,7 @@
]
},
"static": {
- "$id": "6176",
+ "$id": "6635",
"kind": "model",
"name": "StaticChunkingStrategyResponseParam",
"namespace": "OpenAI",
@@ -79177,17 +84492,27 @@
"discriminatorValue": "static",
"decorators": [],
"baseModel": {
- "$ref": "6172"
+ "$ref": "6626"
},
"properties": [
{
- "$id": "6177",
+ "$id": "6636",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Always `static`.",
"type": {
- "$ref": "1075"
+ "$id": "6637",
+ "kind": "enumvalue",
+ "name": "static",
+ "value": "static",
+ "valueType": {
+ "$ref": "1078"
+ },
+ "enumType": {
+ "$ref": "6631"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -79203,12 +84528,12 @@
"isHttpMetadata": false
},
{
- "$id": "6178",
+ "$id": "6638",
"kind": "property",
"name": "static",
"serializedName": "static",
"type": {
- "$ref": "2439"
+ "$ref": "2480"
},
"optional": false,
"readOnly": false,
@@ -79241,15 +84566,15 @@
"isHttpMetadata": false
},
{
- "$id": "6179",
+ "$id": "6639",
"kind": "property",
"name": "attributes",
"serializedName": "attributes",
"type": {
- "$id": "6180",
+ "$id": "6640",
"kind": "nullable",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"namespace": "OpenAI"
},
@@ -79285,12 +84610,12 @@
"isHttpMetadata": false
},
{
- "$id": "6181",
+ "$id": "6641",
"kind": "property",
"name": "first_id",
"serializedName": "first_id",
"type": {
- "$id": "6182",
+ "$id": "6642",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79310,12 +84635,12 @@
"isHttpMetadata": false
},
{
- "$id": "6183",
+ "$id": "6643",
"kind": "property",
"name": "last_id",
"serializedName": "last_id",
"type": {
- "$id": "6184",
+ "$id": "6644",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79335,12 +84660,12 @@
"isHttpMetadata": false
},
{
- "$id": "6185",
+ "$id": "6645",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"type": {
- "$id": "6186",
+ "$id": "6646",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -79362,22 +84687,22 @@
]
},
{
- "$ref": "6153"
+ "$ref": "6607"
},
{
- "$ref": "6167"
+ "$ref": "6621"
},
{
- "$ref": "6172"
+ "$ref": "6626"
},
{
- "$ref": "6174"
+ "$ref": "6628"
},
{
- "$ref": "6176"
+ "$ref": "6635"
},
{
- "$id": "6187",
+ "$id": "6647",
"kind": "model",
"name": "CreateVectorStoreFileRequest",
"namespace": "OpenAI",
@@ -79386,13 +84711,13 @@
"decorators": [],
"properties": [
{
- "$id": "6188",
+ "$id": "6648",
"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": "6189",
+ "$id": "6649",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79412,12 +84737,12 @@
"isHttpMetadata": false
},
{
- "$id": "6190",
+ "$id": "6650",
"kind": "property",
"name": "chunking_strategy",
"serializedName": "chunking_strategy",
"type": {
- "$ref": "2432"
+ "$ref": "2467"
},
"optional": true,
"readOnly": false,
@@ -79433,15 +84758,15 @@
"isHttpMetadata": false
},
{
- "$id": "6191",
+ "$id": "6651",
"kind": "property",
"name": "attributes",
"serializedName": "attributes",
"type": {
- "$id": "6192",
+ "$id": "6652",
"kind": "nullable",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"namespace": "OpenAI"
},
@@ -79461,7 +84786,7 @@
]
},
{
- "$id": "6193",
+ "$id": "6653",
"kind": "model",
"name": "DeleteVectorStoreFileResponse",
"namespace": "OpenAI",
@@ -79470,12 +84795,12 @@
"decorators": [],
"properties": [
{
- "$id": "6194",
+ "$id": "6654",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "6195",
+ "$id": "6655",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79495,12 +84820,12 @@
"isHttpMetadata": false
},
{
- "$id": "6196",
+ "$id": "6656",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "6197",
+ "$id": "6657",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -79520,12 +84845,12 @@
"isHttpMetadata": false
},
{
- "$id": "6198",
+ "$id": "6658",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1677"
+ "$ref": "1707"
},
"optional": false,
"readOnly": false,
@@ -79543,7 +84868,7 @@
]
},
{
- "$id": "6199",
+ "$id": "6659",
"kind": "model",
"name": "UpdateVectorStoreFileAttributesRequest",
"namespace": "OpenAI",
@@ -79552,15 +84877,15 @@
"decorators": [],
"properties": [
{
- "$id": "6200",
+ "$id": "6660",
"kind": "property",
"name": "attributes",
"serializedName": "attributes",
"type": {
- "$id": "6201",
+ "$id": "6661",
"kind": "nullable",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"namespace": "OpenAI"
},
@@ -79580,7 +84905,7 @@
]
},
{
- "$id": "6202",
+ "$id": "6662",
"kind": "model",
"name": "VectorStoreFileContentResponse",
"namespace": "OpenAI",
@@ -79590,13 +84915,13 @@
"decorators": [],
"properties": [
{
- "$id": "6203",
+ "$id": "6663",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `vector_store.file_content.page`",
"type": {
- "$ref": "1679"
+ "$ref": "1709"
},
"optional": false,
"readOnly": false,
@@ -79612,17 +84937,17 @@
"isHttpMetadata": false
},
{
- "$id": "6204",
+ "$id": "6664",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "Parsed content of the file.",
"type": {
- "$id": "6205",
+ "$id": "6665",
"kind": "array",
"name": "Array40",
"valueType": {
- "$id": "6206",
+ "$id": "6666",
"kind": "model",
"name": "VectorStoreFileContentResponseDatum",
"namespace": "OpenAI",
@@ -79631,13 +84956,13 @@
"decorators": [],
"properties": [
{
- "$id": "6207",
+ "$id": "6667",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The content type (currently only `\"text\"`)",
"type": {
- "$id": "6208",
+ "$id": "6668",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79657,13 +84982,13 @@
"isHttpMetadata": false
},
{
- "$id": "6209",
+ "$id": "6669",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text content",
"type": {
- "$id": "6210",
+ "$id": "6670",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79701,13 +85026,13 @@
"isHttpMetadata": false
},
{
- "$id": "6211",
+ "$id": "6671",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Indicates if there are more content pages to fetch.",
"type": {
- "$id": "6212",
+ "$id": "6672",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -79727,16 +85052,16 @@
"isHttpMetadata": false
},
{
- "$id": "6213",
+ "$id": "6673",
"kind": "property",
"name": "next_page",
"serializedName": "next_page",
"doc": "The token for the next page, if any.",
"type": {
- "$id": "6214",
+ "$id": "6674",
"kind": "nullable",
"type": {
- "$id": "6215",
+ "$id": "6675",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -79760,10 +85085,10 @@
]
},
{
- "$ref": "6206"
+ "$ref": "6666"
},
{
- "$id": "6216",
+ "$id": "6676",
"kind": "model",
"name": "VectorStoreSearchRequestRankingOptions",
"namespace": "OpenAI",
@@ -79772,12 +85097,12 @@
"decorators": [],
"properties": [
{
- "$id": "6217",
+ "$id": "6677",
"kind": "property",
"name": "ranker",
"serializedName": "ranker",
"type": {
- "$ref": "1077"
+ "$ref": "1081"
},
"optional": true,
"readOnly": false,
@@ -79793,12 +85118,12 @@
"isHttpMetadata": false
},
{
- "$id": "6218",
+ "$id": "6678",
"kind": "property",
"name": "score_threshold",
"serializedName": "score_threshold",
"type": {
- "$id": "6219",
+ "$id": "6679",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -79820,7 +85145,7 @@
]
},
{
- "$id": "6220",
+ "$id": "6680",
"kind": "model",
"name": "VectorStoreSearchRequest",
"namespace": "OpenAI",
@@ -79829,25 +85154,25 @@
"decorators": [],
"properties": [
{
- "$id": "6221",
+ "$id": "6681",
"kind": "property",
"name": "query",
"serializedName": "query",
"doc": "A query string for a search",
"type": {
- "$id": "6222",
+ "$id": "6682",
"kind": "union",
"name": "VectorStoreSearchRequestQuery",
"variantTypes": [
{
- "$id": "6223",
+ "$id": "6683",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$ref": "2345"
+ "$ref": "2373"
}
],
"namespace": "OpenAI",
@@ -79867,13 +85192,13 @@
"isHttpMetadata": false
},
{
- "$id": "6224",
+ "$id": "6684",
"kind": "property",
"name": "rewrite_query",
"serializedName": "rewrite_query",
"doc": "Whether to rewrite the natural language query for vector search.",
"type": {
- "$id": "6225",
+ "$id": "6685",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -79893,13 +85218,13 @@
"isHttpMetadata": false
},
{
- "$id": "6226",
+ "$id": "6686",
"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": "6227",
+ "$id": "6687",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -79919,21 +85244,21 @@
"isHttpMetadata": false
},
{
- "$id": "6228",
+ "$id": "6688",
"kind": "property",
"name": "filters",
"serializedName": "filters",
"doc": "A filter to apply based on file attributes.",
"type": {
- "$id": "6229",
+ "$id": "6689",
"kind": "union",
"name": "VectorStoreSearchRequestFilters",
"variantTypes": [
{
- "$ref": "4171"
+ "$ref": "4320"
},
{
- "$ref": "4192"
+ "$ref": "4355"
}
],
"namespace": "OpenAI",
@@ -79953,13 +85278,13 @@
"isHttpMetadata": false
},
{
- "$id": "6230",
+ "$id": "6690",
"kind": "property",
"name": "ranking_options",
"serializedName": "ranking_options",
"doc": "Ranking options for search.",
"type": {
- "$ref": "6216"
+ "$ref": "6676"
},
"optional": true,
"readOnly": false,
@@ -79977,7 +85302,7 @@
]
},
{
- "$id": "6231",
+ "$id": "6691",
"kind": "model",
"name": "VectorStoreSearchResultsPage",
"namespace": "OpenAI",
@@ -79986,13 +85311,13 @@
"decorators": [],
"properties": [
{
- "$id": "6232",
+ "$id": "6692",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `vector_store.search_results.page`",
"type": {
- "$ref": "1681"
+ "$ref": "1711"
},
"optional": false,
"readOnly": false,
@@ -80008,12 +85333,12 @@
"isHttpMetadata": false
},
{
- "$id": "6233",
+ "$id": "6693",
"kind": "property",
"name": "search_query",
"serializedName": "search_query",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -80029,17 +85354,17 @@
"isHttpMetadata": false
},
{
- "$id": "6234",
+ "$id": "6694",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "The list of search result items.",
"type": {
- "$id": "6235",
+ "$id": "6695",
"kind": "array",
"name": "ArrayVectorStoreSearchResultItem",
"valueType": {
- "$id": "6236",
+ "$id": "6696",
"kind": "model",
"name": "VectorStoreSearchResultItem",
"namespace": "OpenAI",
@@ -80048,13 +85373,13 @@
"decorators": [],
"properties": [
{
- "$id": "6237",
+ "$id": "6697",
"kind": "property",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the vector store file.",
"type": {
- "$id": "6238",
+ "$id": "6698",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -80074,13 +85399,13 @@
"isHttpMetadata": false
},
{
- "$id": "6239",
+ "$id": "6699",
"kind": "property",
"name": "filename",
"serializedName": "filename",
"doc": "The name of the vector store file.",
"type": {
- "$id": "6240",
+ "$id": "6700",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -80100,13 +85425,13 @@
"isHttpMetadata": false
},
{
- "$id": "6241",
+ "$id": "6701",
"kind": "property",
"name": "score",
"serializedName": "score",
"doc": "The similarity score for the result.",
"type": {
- "$id": "6242",
+ "$id": "6702",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -80126,15 +85451,15 @@
"isHttpMetadata": false
},
{
- "$id": "6243",
+ "$id": "6703",
"kind": "property",
"name": "attributes",
"serializedName": "attributes",
"type": {
- "$id": "6244",
+ "$id": "6704",
"kind": "nullable",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"namespace": "OpenAI"
},
@@ -80152,17 +85477,17 @@
"isHttpMetadata": false
},
{
- "$id": "6245",
+ "$id": "6705",
"kind": "property",
"name": "content",
"serializedName": "content",
"doc": "Content chunks from the file.",
"type": {
- "$id": "6246",
+ "$id": "6706",
"kind": "array",
"name": "ArrayVectorStoreSearchResultContentObject",
"valueType": {
- "$id": "6247",
+ "$id": "6707",
"kind": "model",
"name": "VectorStoreSearchResultContentObject",
"namespace": "OpenAI",
@@ -80171,13 +85496,13 @@
"decorators": [],
"properties": [
{
- "$id": "6248",
+ "$id": "6708",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of content.",
"type": {
- "$ref": "1683"
+ "$ref": "1713"
},
"optional": false,
"readOnly": false,
@@ -80193,13 +85518,13 @@
"isHttpMetadata": false
},
{
- "$id": "6249",
+ "$id": "6709",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The text content returned from search.",
"type": {
- "$id": "6250",
+ "$id": "6710",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -80255,13 +85580,13 @@
"isHttpMetadata": false
},
{
- "$id": "6251",
+ "$id": "6711",
"kind": "property",
"name": "has_more",
"serializedName": "has_more",
"doc": "Indicates if there are more results to fetch.",
"type": {
- "$id": "6252",
+ "$id": "6712",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -80281,16 +85606,16 @@
"isHttpMetadata": false
},
{
- "$id": "6253",
+ "$id": "6713",
"kind": "property",
"name": "next_page",
"serializedName": "next_page",
"doc": "The token for the next page, if any.",
"type": {
- "$id": "6254",
+ "$id": "6714",
"kind": "nullable",
"type": {
- "$id": "6255",
+ "$id": "6715",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -80314,13 +85639,13 @@
]
},
{
- "$ref": "6236"
+ "$ref": "6696"
},
{
- "$ref": "6247"
+ "$ref": "6707"
},
{
- "$id": "6256",
+ "$id": "6716",
"kind": "model",
"name": "CreateCompletionRequest",
"namespace": "OpenAI",
@@ -80329,13 +85654,13 @@
"decorators": [],
"properties": [
{
- "$id": "6257",
+ "$id": "6717",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them.",
"type": {
- "$ref": "1081"
+ "$ref": "1085"
},
"optional": false,
"readOnly": false,
@@ -80351,34 +85676,34 @@
"isHttpMetadata": false
},
{
- "$id": "6258",
+ "$id": "6718",
"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": "6259",
+ "$id": "6719",
"kind": "nullable",
"type": {
- "$id": "6260",
+ "$id": "6720",
"kind": "union",
"name": "CreateCompletionRequestPrompt",
"variantTypes": [
{
- "$id": "6261",
+ "$id": "6721",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
{
- "$ref": "2345"
+ "$ref": "2373"
},
{
- "$ref": "2565"
+ "$ref": "2606"
},
{
- "$ref": "3270"
+ "$ref": "3347"
}
],
"namespace": "OpenAI",
@@ -80400,16 +85725,16 @@
"isHttpMetadata": false
},
{
- "$id": "6262",
+ "$id": "6722",
"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": "6263",
+ "$id": "6723",
"kind": "nullable",
"type": {
- "$id": "6264",
+ "$id": "6724",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -80431,16 +85756,16 @@
"isHttpMetadata": false
},
{
- "$id": "6265",
+ "$id": "6725",
"kind": "property",
"name": "echo",
"serializedName": "echo",
"doc": "Echo back the prompt in addition to the completion",
"type": {
- "$id": "6266",
+ "$id": "6726",
"kind": "nullable",
"type": {
- "$id": "6267",
+ "$id": "6727",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -80462,16 +85787,16 @@
"isHttpMetadata": false
},
{
- "$id": "6268",
+ "$id": "6728",
"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": "6269",
+ "$id": "6729",
"kind": "nullable",
"type": {
- "$id": "6270",
+ "$id": "6730",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -80493,16 +85818,16 @@
"isHttpMetadata": false
},
{
- "$id": "6271",
+ "$id": "6731",
"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": "6272",
+ "$id": "6732",
"kind": "nullable",
"type": {
- "$ref": "3032"
+ "$ref": "3102"
},
"namespace": "OpenAI"
},
@@ -80520,16 +85845,16 @@
"isHttpMetadata": false
},
{
- "$id": "6273",
+ "$id": "6733",
"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": "6274",
+ "$id": "6734",
"kind": "nullable",
"type": {
- "$id": "6275",
+ "$id": "6735",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -80551,16 +85876,16 @@
"isHttpMetadata": false
},
{
- "$id": "6276",
+ "$id": "6736",
"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": "6277",
+ "$id": "6737",
"kind": "nullable",
"type": {
- "$id": "6278",
+ "$id": "6738",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -80582,16 +85907,16 @@
"isHttpMetadata": false
},
{
- "$id": "6279",
+ "$id": "6739",
"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": "6280",
+ "$id": "6740",
"kind": "nullable",
"type": {
- "$id": "6281",
+ "$id": "6741",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -80613,16 +85938,16 @@
"isHttpMetadata": false
},
{
- "$id": "6282",
+ "$id": "6742",
"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": "6283",
+ "$id": "6743",
"kind": "nullable",
"type": {
- "$id": "6284",
+ "$id": "6744",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -80644,16 +85969,16 @@
"isHttpMetadata": false
},
{
- "$id": "6285",
+ "$id": "6745",
"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": "6286",
+ "$id": "6746",
"kind": "nullable",
"type": {
- "$id": "6287",
+ "$id": "6747",
"kind": "int64",
"name": "int64",
"crossLanguageDefinitionId": "TypeSpec.int64",
@@ -80675,15 +86000,15 @@
"isHttpMetadata": false
},
{
- "$id": "6288",
+ "$id": "6748",
"kind": "property",
"name": "stop",
"serializedName": "stop",
"type": {
- "$id": "6289",
+ "$id": "6749",
"kind": "nullable",
"type": {
- "$ref": "3028"
+ "$ref": "3098"
},
"namespace": "OpenAI"
},
@@ -80701,16 +86026,16 @@
"isHttpMetadata": false
},
{
- "$id": "6290",
+ "$id": "6750",
"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": "6291",
+ "$id": "6751",
"kind": "nullable",
"type": {
- "$id": "6292",
+ "$id": "6752",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -80732,15 +86057,15 @@
"isHttpMetadata": false
},
{
- "$id": "6293",
+ "$id": "6753",
"kind": "property",
"name": "stream_options",
"serializedName": "stream_options",
"type": {
- "$id": "6294",
+ "$id": "6754",
"kind": "nullable",
"type": {
- "$ref": "3058"
+ "$ref": "3132"
},
"namespace": "OpenAI"
},
@@ -80758,16 +86083,16 @@
"isHttpMetadata": false
},
{
- "$id": "6295",
+ "$id": "6755",
"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": "6296",
+ "$id": "6756",
"kind": "nullable",
"type": {
- "$id": "6297",
+ "$id": "6757",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -80789,16 +86114,16 @@
"isHttpMetadata": false
},
{
- "$id": "6298",
+ "$id": "6758",
"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": "6299",
+ "$id": "6759",
"kind": "nullable",
"type": {
- "$id": "6300",
+ "$id": "6760",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -80820,16 +86145,16 @@
"isHttpMetadata": false
},
{
- "$id": "6301",
+ "$id": "6761",
"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": "6302",
+ "$id": "6762",
"kind": "nullable",
"type": {
- "$id": "6303",
+ "$id": "6763",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -80851,13 +86176,13 @@
"isHttpMetadata": false
},
{
- "$id": "6304",
+ "$id": "6764",
"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": "6305",
+ "$id": "6765",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -80879,7 +86204,7 @@
]
},
{
- "$id": "6306",
+ "$id": "6766",
"kind": "model",
"name": "CreateCompletionResponse",
"namespace": "OpenAI",
@@ -80889,13 +86214,13 @@
"decorators": [],
"properties": [
{
- "$id": "6307",
+ "$id": "6767",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "A unique identifier for the completion.",
"type": {
- "$id": "6308",
+ "$id": "6768",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -80915,17 +86240,17 @@
"isHttpMetadata": false
},
{
- "$id": "6309",
+ "$id": "6769",
"kind": "property",
"name": "choices",
"serializedName": "choices",
"doc": "The list of completion choices the model generated for the input prompt.",
"type": {
- "$id": "6310",
+ "$id": "6770",
"kind": "array",
"name": "Array41",
"valueType": {
- "$id": "6311",
+ "$id": "6771",
"kind": "model",
"name": "CreateCompletionResponseChoice",
"namespace": "OpenAI",
@@ -80934,13 +86259,13 @@
"decorators": [],
"properties": [
{
- "$id": "6312",
+ "$id": "6772",
"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,\nor `content_filter` if content was omitted due to a flag from our content filters.",
"type": {
- "$ref": "1086"
+ "$ref": "1090"
},
"optional": false,
"readOnly": false,
@@ -80956,12 +86281,12 @@
"isHttpMetadata": false
},
{
- "$id": "6313",
+ "$id": "6773",
"kind": "property",
"name": "index",
"serializedName": "index",
"type": {
- "$id": "6314",
+ "$id": "6774",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -80981,15 +86306,15 @@
"isHttpMetadata": false
},
{
- "$id": "6315",
+ "$id": "6775",
"kind": "property",
"name": "logprobs",
"serializedName": "logprobs",
"type": {
- "$id": "6316",
+ "$id": "6776",
"kind": "nullable",
"type": {
- "$id": "6317",
+ "$id": "6777",
"kind": "model",
"name": "CreateCompletionResponseChoiceLogprobs1",
"namespace": "OpenAI",
@@ -80998,12 +86323,12 @@
"decorators": [],
"properties": [
{
- "$id": "6318",
+ "$id": "6778",
"kind": "property",
"name": "text_offset",
"serializedName": "text_offset",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": true,
"readOnly": false,
@@ -81019,12 +86344,12 @@
"isHttpMetadata": false
},
{
- "$id": "6319",
+ "$id": "6779",
"kind": "property",
"name": "token_logprobs",
"serializedName": "token_logprobs",
"type": {
- "$ref": "2586"
+ "$ref": "2627"
},
"optional": true,
"readOnly": false,
@@ -81040,12 +86365,12 @@
"isHttpMetadata": false
},
{
- "$id": "6320",
+ "$id": "6780",
"kind": "property",
"name": "tokens",
"serializedName": "tokens",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -81061,26 +86386,26 @@
"isHttpMetadata": false
},
{
- "$id": "6321",
+ "$id": "6781",
"kind": "property",
"name": "top_logprobs",
"serializedName": "top_logprobs",
"type": {
- "$id": "6322",
+ "$id": "6782",
"kind": "array",
"name": "ArrayRecord1",
"valueType": {
- "$id": "6323",
+ "$id": "6783",
"kind": "dict",
"keyType": {
- "$id": "6324",
+ "$id": "6784",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
"valueType": {
- "$id": "6325",
+ "$id": "6785",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -81122,12 +86447,12 @@
"isHttpMetadata": false
},
{
- "$id": "6326",
+ "$id": "6786",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "6327",
+ "$id": "6787",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81165,18 +86490,18 @@
"isHttpMetadata": false
},
{
- "$id": "6328",
+ "$id": "6788",
"kind": "property",
"name": "created",
"serializedName": "created",
"doc": "The Unix timestamp (in seconds) of when the completion was created.",
"type": {
- "$id": "6329",
+ "$id": "6789",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6330",
+ "$id": "6790",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -81199,13 +86524,13 @@
"isHttpMetadata": false
},
{
- "$id": "6331",
+ "$id": "6791",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model used for completion.",
"type": {
- "$id": "6332",
+ "$id": "6792",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81225,13 +86550,13 @@
"isHttpMetadata": false
},
{
- "$id": "6333",
+ "$id": "6793",
"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": "6334",
+ "$id": "6794",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81251,13 +86576,13 @@
"isHttpMetadata": false
},
{
- "$id": "6335",
+ "$id": "6795",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"text_completion\"",
"type": {
- "$ref": "1685"
+ "$ref": "1715"
},
"optional": false,
"readOnly": false,
@@ -81273,12 +86598,12 @@
"isHttpMetadata": false
},
{
- "$id": "6336",
+ "$id": "6796",
"kind": "property",
"name": "usage",
"serializedName": "usage",
"type": {
- "$ref": "2822"
+ "$ref": "2880"
},
"optional": true,
"readOnly": false,
@@ -81296,13 +86621,13 @@
]
},
{
- "$ref": "6311"
+ "$ref": "6771"
},
{
- "$ref": "6317"
+ "$ref": "6777"
},
{
- "$id": "6337",
+ "$id": "6797",
"kind": "model",
"name": "ListModelsResponse",
"namespace": "OpenAI",
@@ -81311,12 +86636,12 @@
"decorators": [],
"properties": [
{
- "$id": "6338",
+ "$id": "6798",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1687"
+ "$ref": "1717"
},
"optional": false,
"readOnly": false,
@@ -81332,16 +86657,16 @@
"isHttpMetadata": false
},
{
- "$id": "6339",
+ "$id": "6799",
"kind": "property",
"name": "data",
"serializedName": "data",
"type": {
- "$id": "6340",
+ "$id": "6800",
"kind": "array",
"name": "ArrayModel",
"valueType": {
- "$id": "6341",
+ "$id": "6801",
"kind": "model",
"name": "Model",
"namespace": "OpenAI",
@@ -81351,13 +86676,13 @@
"decorators": [],
"properties": [
{
- "$id": "6342",
+ "$id": "6802",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The model identifier, which can be referenced in the API endpoints.",
"type": {
- "$id": "6343",
+ "$id": "6803",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81377,18 +86702,18 @@
"isHttpMetadata": false
},
{
- "$id": "6344",
+ "$id": "6804",
"kind": "property",
"name": "created",
"serializedName": "created",
"doc": "The Unix timestamp (in seconds) when the model was created.",
"type": {
- "$id": "6345",
+ "$id": "6805",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6346",
+ "$id": "6806",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -81411,13 +86736,13 @@
"isHttpMetadata": false
},
{
- "$id": "6347",
+ "$id": "6807",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"model\".",
"type": {
- "$ref": "1689"
+ "$ref": "1719"
},
"optional": false,
"readOnly": false,
@@ -81433,13 +86758,13 @@
"isHttpMetadata": false
},
{
- "$id": "6348",
+ "$id": "6808",
"kind": "property",
"name": "owned_by",
"serializedName": "owned_by",
"doc": "The organization that owns the model.",
"type": {
- "$id": "6349",
+ "$id": "6809",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81479,10 +86804,10 @@
]
},
{
- "$ref": "6341"
+ "$ref": "6801"
},
{
- "$id": "6350",
+ "$id": "6810",
"kind": "model",
"name": "DeleteModelResponse",
"namespace": "OpenAI",
@@ -81491,12 +86816,12 @@
"decorators": [],
"properties": [
{
- "$id": "6351",
+ "$id": "6811",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "6352",
+ "$id": "6812",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81516,12 +86841,12 @@
"isHttpMetadata": false
},
{
- "$id": "6353",
+ "$id": "6813",
"kind": "property",
"name": "deleted",
"serializedName": "deleted",
"type": {
- "$id": "6354",
+ "$id": "6814",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -81541,12 +86866,12 @@
"isHttpMetadata": false
},
{
- "$id": "6355",
+ "$id": "6815",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1691"
+ "$ref": "1721"
},
"optional": false,
"readOnly": false,
@@ -81564,7 +86889,7 @@
]
},
{
- "$id": "6356",
+ "$id": "6816",
"kind": "model",
"name": "RealtimeClientEvent",
"namespace": "OpenAI",
@@ -81573,13 +86898,13 @@
"doc": "A realtime client event.",
"decorators": [],
"discriminatorProperty": {
- "$id": "6357",
+ "$id": "6817",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of event.",
"type": {
- "$ref": "1091"
+ "$ref": "1095"
},
"optional": false,
"readOnly": false,
@@ -81596,15 +86921,15 @@
},
"properties": [
{
- "$ref": "6357"
+ "$ref": "6817"
},
{
- "$id": "6358",
+ "$id": "6818",
"kind": "property",
"name": "event_id",
"serializedName": "event_id",
"type": {
- "$id": "6359",
+ "$id": "6819",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81626,7 +86951,7 @@
],
"discriminatedSubtypes": {
"session.update": {
- "$id": "6360",
+ "$id": "6820",
"kind": "model",
"name": "RealtimeClientEventSessionUpdate",
"namespace": "OpenAI",
@@ -81636,17 +86961,206 @@
"discriminatorValue": "session.update",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6361",
+ "$id": "6821",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `session.update`.",
"type": {
- "$ref": "1093"
+ "$id": "6822",
+ "kind": "enumvalue",
+ "name": "session_update",
+ "value": "session.update",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$id": "6823",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RealtimeClientEventType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6824",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6825",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "session_update",
+ "value": "session.update",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6826",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio_buffer_append",
+ "value": "input_audio_buffer.append",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6827",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio_buffer_commit",
+ "value": "input_audio_buffer.commit",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6828",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio_buffer_clear",
+ "value": "input_audio_buffer.clear",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6829",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "output_audio_buffer_clear",
+ "value": "output_audio_buffer.clear",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6830",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_create",
+ "value": "conversation.item.create",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6831",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_retrieve",
+ "value": "conversation.item.retrieve",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6832",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_truncate",
+ "value": "conversation.item.truncate",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6833",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_delete",
+ "value": "conversation.item.delete",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6834",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_create",
+ "value": "response.create",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6835",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_cancel",
+ "value": "response.cancel",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ },
+ {
+ "$id": "6836",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "transcription_session_update",
+ "value": "transcription_session.update",
+ "valueType": {
+ "$ref": "6824"
+ },
+ "enumType": {
+ "$ref": "6823"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeClientEventType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -81662,12 +87176,12 @@
"isHttpMetadata": false
},
{
- "$id": "6362",
+ "$id": "6837",
"kind": "property",
"name": "session",
"serializedName": "session",
"type": {
- "$id": "6363",
+ "$id": "6838",
"kind": "model",
"name": "RealtimeRequestSession",
"namespace": "OpenAI",
@@ -81676,16 +87190,16 @@
"decorators": [],
"properties": [
{
- "$id": "6364",
+ "$id": "6839",
"kind": "property",
"name": "modalities",
"serializedName": "modalities",
"type": {
- "$id": "6365",
+ "$id": "6840",
"kind": "array",
"name": "ArrayRealtimeModality",
"valueType": {
- "$ref": "1105"
+ "$ref": "1109"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -81704,12 +87218,12 @@
"isHttpMetadata": false
},
{
- "$id": "6366",
+ "$id": "6841",
"kind": "property",
"name": "instructions",
"serializedName": "instructions",
"type": {
- "$id": "6367",
+ "$id": "6842",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81729,12 +87243,12 @@
"isHttpMetadata": false
},
{
- "$id": "6368",
+ "$id": "6843",
"kind": "property",
"name": "model",
"serializedName": "model",
"type": {
- "$ref": "1109"
+ "$ref": "1113"
},
"optional": true,
"readOnly": false,
@@ -81750,7 +87264,7 @@
"isHttpMetadata": false
},
{
- "$id": "6369",
+ "$id": "6844",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -81771,12 +87285,12 @@
"isHttpMetadata": false
},
{
- "$id": "6370",
+ "$id": "6845",
"kind": "property",
"name": "input_audio_format",
"serializedName": "input_audio_format",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": true,
"readOnly": false,
@@ -81792,12 +87306,12 @@
"isHttpMetadata": false
},
{
- "$id": "6371",
+ "$id": "6846",
"kind": "property",
"name": "output_audio_format",
"serializedName": "output_audio_format",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": true,
"readOnly": false,
@@ -81813,15 +87327,15 @@
"isHttpMetadata": false
},
{
- "$id": "6372",
+ "$id": "6847",
"kind": "property",
"name": "input_audio_transcription",
"serializedName": "input_audio_transcription",
"type": {
- "$id": "6373",
+ "$id": "6848",
"kind": "nullable",
"type": {
- "$id": "6374",
+ "$id": "6849",
"kind": "model",
"name": "RealtimeAudioInputTranscriptionSettings",
"namespace": "OpenAI",
@@ -81830,12 +87344,12 @@
"decorators": [],
"properties": [
{
- "$id": "6375",
+ "$id": "6850",
"kind": "property",
"name": "model",
"serializedName": "model",
"type": {
- "$ref": "1121"
+ "$ref": "1125"
},
"optional": true,
"readOnly": false,
@@ -81851,12 +87365,12 @@
"isHttpMetadata": false
},
{
- "$id": "6376",
+ "$id": "6851",
"kind": "property",
"name": "language",
"serializedName": "language",
"type": {
- "$id": "6377",
+ "$id": "6852",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81876,12 +87390,12 @@
"isHttpMetadata": false
},
{
- "$id": "6378",
+ "$id": "6853",
"kind": "property",
"name": "prompt",
"serializedName": "prompt",
"type": {
- "$id": "6379",
+ "$id": "6854",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -81918,15 +87432,15 @@
"isHttpMetadata": false
},
{
- "$id": "6380",
+ "$id": "6855",
"kind": "property",
"name": "turn_detection",
"serializedName": "turn_detection",
"type": {
- "$id": "6381",
+ "$id": "6856",
"kind": "nullable",
"type": {
- "$id": "6382",
+ "$id": "6857",
"kind": "model",
"name": "RealtimeTurnDetection",
"namespace": "OpenAI",
@@ -81934,12 +87448,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "6383",
+ "$id": "6858",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1124"
+ "$ref": "1128"
},
"optional": false,
"readOnly": false,
@@ -81956,16 +87470,16 @@
},
"properties": [
{
- "$ref": "6383"
+ "$ref": "6858"
},
{
- "$id": "6384",
+ "$id": "6859",
"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": "6385",
+ "$id": "6860",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -81985,13 +87499,13 @@
"isHttpMetadata": false
},
{
- "$id": "6386",
+ "$id": "6861",
"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": "6387",
+ "$id": "6862",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -82013,7 +87527,7 @@
],
"discriminatedSubtypes": {
"server_vad": {
- "$id": "6388",
+ "$id": "6863",
"kind": "model",
"name": "RealtimeServerVadTurnDetection",
"namespace": "OpenAI",
@@ -82022,16 +87536,77 @@
"discriminatorValue": "server_vad",
"decorators": [],
"baseModel": {
- "$ref": "6382"
+ "$ref": "6857"
},
"properties": [
{
- "$id": "6389",
+ "$id": "6864",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1126"
+ "$id": "6865",
+ "kind": "enumvalue",
+ "name": "server_vad",
+ "value": "server_vad",
+ "valueType": {
+ "$ref": "1129"
+ },
+ "enumType": {
+ "$id": "6866",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RealtimeTurnDetectionType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6867",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6868",
+ "kind": "enumvalue",
+ "decorators": [],
+ "doc": "Indicates that server-side voice activity detection (VAD) should be enabled, allowing the server to determine when\nadd_user_audio commands present ends of speech and should be automatically committed.\n\nThe API will also detect when the user begins talking, sending a generation_canceled command.",
+ "name": "server_vad",
+ "value": "server_vad",
+ "valueType": {
+ "$ref": "6867"
+ },
+ "enumType": {
+ "$ref": "6866"
+ }
+ },
+ {
+ "$id": "6869",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "semantic_vad",
+ "value": "semantic_vad",
+ "valueType": {
+ "$ref": "6867"
+ },
+ "enumType": {
+ "$ref": "6866"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeTurnDetectionType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "doc": "Indicates that server-side voice activity detection (VAD) should be enabled, allowing the server to determine when\nadd_user_audio commands present ends of speech and should be automatically committed.\n\nThe API will also detect when the user begins talking, sending a generation_canceled command.",
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82047,13 +87622,13 @@
"isHttpMetadata": false
},
{
- "$id": "6390",
+ "$id": "6870",
"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": "6391",
+ "$id": "6871",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -82073,18 +87648,18 @@
"isHttpMetadata": false
},
{
- "$id": "6392",
+ "$id": "6872",
"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": "6393",
+ "$id": "6873",
"kind": "duration",
"name": "duration",
"encode": "ISO8601",
"wireType": {
- "$id": "6394",
+ "$id": "6874",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -82107,18 +87682,18 @@
"isHttpMetadata": false
},
{
- "$id": "6395",
+ "$id": "6875",
"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": "6396",
+ "$id": "6876",
"kind": "duration",
"name": "duration",
"encode": "ISO8601",
"wireType": {
- "$id": "6397",
+ "$id": "6877",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -82143,7 +87718,7 @@
]
},
"semantic_vad": {
- "$id": "6398",
+ "$id": "6878",
"kind": "model",
"name": "RealtimeSemanticVadTurnDetection",
"namespace": "OpenAI",
@@ -82152,16 +87727,26 @@
"discriminatorValue": "semantic_vad",
"decorators": [],
"baseModel": {
- "$ref": "6382"
+ "$ref": "6857"
},
"properties": [
{
- "$id": "6399",
+ "$id": "6879",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1127"
+ "$id": "6880",
+ "kind": "enumvalue",
+ "name": "semantic_vad",
+ "value": "semantic_vad",
+ "valueType": {
+ "$ref": "1129"
+ },
+ "enumType": {
+ "$ref": "6866"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82177,13 +87762,13 @@
"isHttpMetadata": false
},
{
- "$id": "6400",
+ "$id": "6881",
"kind": "property",
"name": "eagerness",
"serializedName": "eagerness",
"doc": "Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`.",
"type": {
- "$ref": "1128"
+ "$ref": "1132"
},
"optional": true,
"readOnly": false,
@@ -82218,12 +87803,12 @@
"isHttpMetadata": false
},
{
- "$id": "6401",
+ "$id": "6882",
"kind": "property",
"name": "input_audio_noise_reduction",
"serializedName": "input_audio_noise_reduction",
"type": {
- "$id": "6402",
+ "$id": "6883",
"kind": "model",
"name": "RealtimeAudioNoiseReduction",
"namespace": "OpenAI",
@@ -82231,12 +87816,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "6403",
+ "$id": "6884",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1134"
+ "$ref": "1138"
},
"optional": false,
"readOnly": false,
@@ -82253,12 +87838,12 @@
},
"properties": [
{
- "$ref": "6403"
+ "$ref": "6884"
}
],
"discriminatedSubtypes": {
"near_field": {
- "$id": "6404",
+ "$id": "6885",
"kind": "model",
"name": "RealtimeAudioNearFieldNoiseReduction",
"namespace": "OpenAI",
@@ -82267,16 +87852,75 @@
"discriminatorValue": "near_field",
"decorators": [],
"baseModel": {
- "$ref": "6402"
+ "$ref": "6883"
},
"properties": [
{
- "$id": "6405",
+ "$id": "6886",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1136"
+ "$id": "6887",
+ "kind": "enumvalue",
+ "name": "near_field",
+ "value": "near_field",
+ "valueType": {
+ "$ref": "1139"
+ },
+ "enumType": {
+ "$id": "6888",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RealtimeAudioNoiseReductionType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6889",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6890",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "near_field",
+ "value": "near_field",
+ "valueType": {
+ "$ref": "6889"
+ },
+ "enumType": {
+ "$ref": "6888"
+ }
+ },
+ {
+ "$id": "6891",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "far_field",
+ "value": "far_field",
+ "valueType": {
+ "$ref": "6889"
+ },
+ "enumType": {
+ "$ref": "6888"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeAudioNoiseReductionType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82294,7 +87938,7 @@
]
},
"far_field": {
- "$id": "6406",
+ "$id": "6892",
"kind": "model",
"name": "RealtimeAudioFarFieldNoiseReduction",
"namespace": "OpenAI",
@@ -82303,16 +87947,26 @@
"discriminatorValue": "far_field",
"decorators": [],
"baseModel": {
- "$ref": "6402"
+ "$ref": "6883"
},
"properties": [
{
- "$id": "6407",
+ "$id": "6893",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1137"
+ "$id": "6894",
+ "kind": "enumvalue",
+ "name": "far_field",
+ "value": "far_field",
+ "valueType": {
+ "$ref": "1139"
+ },
+ "enumType": {
+ "$ref": "6888"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82345,16 +87999,16 @@
"isHttpMetadata": false
},
{
- "$id": "6408",
+ "$id": "6895",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"type": {
- "$id": "6409",
+ "$id": "6896",
"kind": "array",
"name": "ArrayRealtimeTool",
"valueType": {
- "$id": "6410",
+ "$id": "6897",
"kind": "model",
"name": "RealtimeTool",
"namespace": "OpenAI",
@@ -82363,12 +88017,12 @@
"doc": "The base representation of a realtime tool definition.",
"decorators": [],
"discriminatorProperty": {
- "$id": "6411",
+ "$id": "6898",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1138"
+ "$ref": "1142"
},
"optional": false,
"readOnly": false,
@@ -82385,12 +88039,12 @@
},
"properties": [
{
- "$ref": "6411"
+ "$ref": "6898"
}
],
"discriminatedSubtypes": {
"function": {
- "$id": "6412",
+ "$id": "6899",
"kind": "model",
"name": "RealtimeFunctionTool",
"namespace": "OpenAI",
@@ -82400,16 +88054,63 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "6410"
+ "$ref": "6897"
},
"properties": [
{
- "$id": "6413",
+ "$id": "6900",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1140"
+ "$id": "6901",
+ "kind": "enumvalue",
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "1143"
+ },
+ "enumType": {
+ "$id": "6902",
+ "kind": "enum",
+ "decorators": [],
+ "doc": "The supported tool type discriminators for realtime tools.\nCurrently, only 'function' tools are supported.",
+ "name": "RealtimeToolType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6903",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6904",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function",
+ "value": "function",
+ "valueType": {
+ "$ref": "6903"
+ },
+ "enumType": {
+ "$ref": "6902"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeToolType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82425,12 +88126,12 @@
"isHttpMetadata": false
},
{
- "$id": "6414",
+ "$id": "6905",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "6415",
+ "$id": "6906",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -82450,12 +88151,12 @@
"isHttpMetadata": false
},
{
- "$id": "6416",
+ "$id": "6907",
"kind": "property",
"name": "description",
"serializedName": "description",
"type": {
- "$id": "6417",
+ "$id": "6908",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -82475,12 +88176,12 @@
"isHttpMetadata": false
},
{
- "$id": "6418",
+ "$id": "6909",
"kind": "property",
"name": "parameters",
"serializedName": "parameters",
"type": {
- "$id": "6419",
+ "$id": "6910",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -82520,20 +88221,20 @@
"isHttpMetadata": false
},
{
- "$id": "6420",
+ "$id": "6911",
"kind": "property",
"name": "tool_choice",
"serializedName": "tool_choice",
"type": {
- "$id": "6421",
+ "$id": "6912",
"kind": "union",
"name": "RealtimeToolChoice",
"variantTypes": [
{
- "$ref": "1141"
+ "$ref": "1145"
},
{
- "$id": "6422",
+ "$id": "6913",
"kind": "model",
"name": "RealtimeToolChoiceObject",
"namespace": "OpenAI",
@@ -82542,12 +88243,12 @@
"doc": "A base representation for a realtime tool_choice selecting a named tool.",
"decorators": [],
"discriminatorProperty": {
- "$id": "6423",
+ "$id": "6914",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1138"
+ "$ref": "1142"
},
"optional": false,
"readOnly": false,
@@ -82564,12 +88265,12 @@
},
"properties": [
{
- "$ref": "6423"
+ "$ref": "6914"
}
],
"discriminatedSubtypes": {
"function": {
- "$id": "6424",
+ "$id": "6915",
"kind": "model",
"name": "RealtimeToolChoiceFunctionObject",
"namespace": "OpenAI",
@@ -82579,16 +88280,16 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "6422"
+ "$ref": "6913"
},
"properties": [
{
- "$id": "6425",
+ "$id": "6916",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1140"
+ "$ref": "6901"
},
"optional": false,
"readOnly": false,
@@ -82604,12 +88305,12 @@
"isHttpMetadata": false
},
{
- "$id": "6426",
+ "$id": "6917",
"kind": "property",
"name": "function",
"serializedName": "function",
"type": {
- "$id": "6427",
+ "$id": "6918",
"kind": "model",
"name": "RealtimeToolChoiceFunctionObjectFunction",
"namespace": "OpenAI",
@@ -82618,12 +88319,12 @@
"decorators": [],
"properties": [
{
- "$id": "6428",
+ "$id": "6919",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "6429",
+ "$id": "6920",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -82679,12 +88380,12 @@
"isHttpMetadata": false
},
{
- "$id": "6430",
+ "$id": "6921",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"type": {
- "$id": "6431",
+ "$id": "6922",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -82704,24 +88405,24 @@
"isHttpMetadata": false
},
{
- "$id": "6432",
+ "$id": "6923",
"kind": "property",
"name": "max_response_output_tokens",
"serializedName": "max_response_output_tokens",
"type": {
- "$id": "6433",
+ "$id": "6924",
"kind": "union",
"name": "RealtimeRequestSessionMaxResponseOutputTokens",
"variantTypes": [
{
- "$id": "6434",
+ "$id": "6925",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
"decorators": []
},
{
- "$ref": "1693"
+ "$ref": "1723"
}
],
"namespace": "OpenAI",
@@ -82758,7 +88459,7 @@
]
},
"input_audio_buffer.append": {
- "$id": "6435",
+ "$id": "6926",
"kind": "model",
"name": "RealtimeClientEventInputAudioBufferAppend",
"namespace": "OpenAI",
@@ -82768,17 +88469,27 @@
"discriminatorValue": "input_audio_buffer.append",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6436",
+ "$id": "6927",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `input_audio_buffer.append`.",
"type": {
- "$ref": "1094"
+ "$id": "6928",
+ "kind": "enumvalue",
+ "name": "input_audio_buffer_append",
+ "value": "input_audio_buffer.append",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82794,13 +88505,13 @@
"isHttpMetadata": false
},
{
- "$id": "6437",
+ "$id": "6929",
"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": "6438",
+ "$id": "6930",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -82823,7 +88534,7 @@
]
},
"input_audio_buffer.commit": {
- "$id": "6439",
+ "$id": "6931",
"kind": "model",
"name": "RealtimeClientEventInputAudioBufferCommit",
"namespace": "OpenAI",
@@ -82833,17 +88544,27 @@
"discriminatorValue": "input_audio_buffer.commit",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6440",
+ "$id": "6932",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `input_audio_buffer.commit`.",
"type": {
- "$ref": "1095"
+ "$id": "6933",
+ "kind": "enumvalue",
+ "name": "input_audio_buffer_commit",
+ "value": "input_audio_buffer.commit",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82861,7 +88582,7 @@
]
},
"input_audio_buffer.clear": {
- "$id": "6441",
+ "$id": "6934",
"kind": "model",
"name": "RealtimeClientEventInputAudioBufferClear",
"namespace": "OpenAI",
@@ -82871,17 +88592,27 @@
"discriminatorValue": "input_audio_buffer.clear",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6442",
+ "$id": "6935",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `input_audio_buffer.clear`.",
"type": {
- "$ref": "1096"
+ "$id": "6936",
+ "kind": "enumvalue",
+ "name": "input_audio_buffer_clear",
+ "value": "input_audio_buffer.clear",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82899,7 +88630,7 @@
]
},
"output_audio_buffer.clear": {
- "$id": "6443",
+ "$id": "6937",
"kind": "model",
"name": "RealtimeClientEventOutputAudioBufferClear",
"namespace": "OpenAI",
@@ -82909,17 +88640,27 @@
"discriminatorValue": "output_audio_buffer.clear",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6444",
+ "$id": "6938",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `output_audio_buffer.clear`.",
"type": {
- "$ref": "1097"
+ "$id": "6939",
+ "kind": "enumvalue",
+ "name": "output_audio_buffer_clear",
+ "value": "output_audio_buffer.clear",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82937,7 +88678,7 @@
]
},
"conversation.item.create": {
- "$id": "6445",
+ "$id": "6940",
"kind": "model",
"name": "RealtimeClientEventConversationItemCreate",
"namespace": "OpenAI",
@@ -82947,17 +88688,27 @@
"discriminatorValue": "conversation.item.create",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6446",
+ "$id": "6941",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.create`.",
"type": {
- "$ref": "1098"
+ "$id": "6942",
+ "kind": "enumvalue",
+ "name": "conversation_item_create",
+ "value": "conversation.item.create",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -82973,13 +88724,13 @@
"isHttpMetadata": false
},
{
- "$id": "6447",
+ "$id": "6943",
"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": "6448",
+ "$id": "6944",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -82999,12 +88750,12 @@
"isHttpMetadata": false
},
{
- "$id": "6449",
+ "$id": "6945",
"kind": "property",
"name": "item",
"serializedName": "item",
"type": {
- "$id": "6450",
+ "$id": "6946",
"kind": "model",
"name": "RealtimeConversationRequestItem",
"namespace": "OpenAI",
@@ -83012,12 +88763,12 @@
"usage": "Input,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "6451",
+ "$id": "6947",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1146"
+ "$ref": "1150"
},
"optional": false,
"readOnly": false,
@@ -83034,15 +88785,15 @@
},
"properties": [
{
- "$ref": "6451"
+ "$ref": "6947"
},
{
- "$id": "6452",
+ "$id": "6948",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "6453",
+ "$id": "6949",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83064,7 +88815,7 @@
],
"discriminatedSubtypes": {
"message": {
- "$id": "6454",
+ "$id": "6950",
"kind": "model",
"name": "RealtimeRequestMessageItem",
"namespace": "OpenAI",
@@ -83073,12 +88824,12 @@
"discriminatorValue": "message",
"decorators": [],
"discriminatorProperty": {
- "$id": "6455",
+ "$id": "6951",
"kind": "property",
"name": "role",
"serializedName": "role",
"type": {
- "$ref": "1151"
+ "$ref": "1155"
},
"optional": false,
"readOnly": false,
@@ -83094,16 +88845,88 @@
"isHttpMetadata": false
},
"baseModel": {
- "$ref": "6450"
+ "$ref": "6946"
},
"properties": [
{
- "$id": "6456",
+ "$id": "6952",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1148"
+ "$id": "6953",
+ "kind": "enumvalue",
+ "name": "message",
+ "value": "message",
+ "valueType": {
+ "$ref": "1151"
+ },
+ "enumType": {
+ "$id": "6954",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RealtimeItemType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6955",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6956",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "message",
+ "value": "message",
+ "valueType": {
+ "$ref": "6955"
+ },
+ "enumType": {
+ "$ref": "6954"
+ }
+ },
+ {
+ "$id": "6957",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function_call",
+ "value": "function_call",
+ "valueType": {
+ "$ref": "6955"
+ },
+ "enumType": {
+ "$ref": "6954"
+ }
+ },
+ {
+ "$id": "6958",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "function_call_output",
+ "value": "function_call_output",
+ "valueType": {
+ "$ref": "6955"
+ },
+ "enumType": {
+ "$ref": "6954"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeItemType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83119,15 +88942,15 @@
"isHttpMetadata": false
},
{
- "$ref": "6455"
+ "$ref": "6951"
},
{
- "$id": "6457",
+ "$id": "6959",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "1156"
+ "$ref": "1160"
},
"optional": true,
"readOnly": false,
@@ -83145,7 +88968,7 @@
],
"discriminatedSubtypes": {
"system": {
- "$id": "6458",
+ "$id": "6960",
"kind": "model",
"name": "RealtimeRequestSystemMessageItem",
"namespace": "OpenAI",
@@ -83154,16 +88977,88 @@
"discriminatorValue": "system",
"decorators": [],
"baseModel": {
- "$ref": "6454"
+ "$ref": "6950"
},
"properties": [
{
- "$id": "6459",
+ "$id": "6961",
"kind": "property",
"name": "role",
"serializedName": "role",
"type": {
- "$ref": "1153"
+ "$id": "6962",
+ "kind": "enumvalue",
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$ref": "1156"
+ },
+ "enumType": {
+ "$id": "6963",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RealtimeMessageRole",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6964",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6965",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "system",
+ "value": "system",
+ "valueType": {
+ "$ref": "6964"
+ },
+ "enumType": {
+ "$ref": "6963"
+ }
+ },
+ {
+ "$id": "6966",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$ref": "6964"
+ },
+ "enumType": {
+ "$ref": "6963"
+ }
+ },
+ {
+ "$id": "6967",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "assistant",
+ "value": "assistant",
+ "valueType": {
+ "$ref": "6964"
+ },
+ "enumType": {
+ "$ref": "6963"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeMessageRole",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83179,16 +89074,16 @@
"isHttpMetadata": false
},
{
- "$id": "6460",
+ "$id": "6968",
"kind": "property",
"name": "content",
"serializedName": "content",
"type": {
- "$id": "6461",
+ "$id": "6969",
"kind": "array",
"name": "ArrayRealtimeRequestTextContentPart",
"valueType": {
- "$id": "6462",
+ "$id": "6970",
"kind": "model",
"name": "RealtimeRequestTextContentPart",
"namespace": "OpenAI",
@@ -83197,7 +89092,7 @@
"discriminatorValue": "input_text",
"decorators": [],
"baseModel": {
- "$id": "6463",
+ "$id": "6971",
"kind": "model",
"name": "RealtimeContentPart",
"namespace": "OpenAI",
@@ -83205,12 +89100,12 @@
"usage": "Input,Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "6464",
+ "$id": "6972",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1161"
+ "$ref": "1165"
},
"optional": false,
"readOnly": false,
@@ -83227,15 +89122,15 @@
},
"properties": [
{
- "$ref": "6464"
+ "$ref": "6972"
}
],
"discriminatedSubtypes": {
"input_text": {
- "$ref": "6462"
+ "$ref": "6970"
},
"input_audio": {
- "$id": "6465",
+ "$id": "6973",
"kind": "model",
"name": "RealtimeRequestAudioContentPart",
"namespace": "OpenAI",
@@ -83244,16 +89139,101 @@
"discriminatorValue": "input_audio",
"decorators": [],
"baseModel": {
- "$ref": "6463"
+ "$ref": "6971"
},
"properties": [
{
- "$id": "6466",
+ "$id": "6974",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1164"
+ "$id": "6975",
+ "kind": "enumvalue",
+ "name": "input_audio",
+ "value": "input_audio",
+ "valueType": {
+ "$ref": "1166"
+ },
+ "enumType": {
+ "$id": "6976",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RealtimeContentPartType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "6977",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "6978",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_text",
+ "value": "input_text",
+ "valueType": {
+ "$ref": "6977"
+ },
+ "enumType": {
+ "$ref": "6976"
+ }
+ },
+ {
+ "$id": "6979",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio",
+ "value": "input_audio",
+ "valueType": {
+ "$ref": "6977"
+ },
+ "enumType": {
+ "$ref": "6976"
+ }
+ },
+ {
+ "$id": "6980",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "6977"
+ },
+ "enumType": {
+ "$ref": "6976"
+ }
+ },
+ {
+ "$id": "6981",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "audio",
+ "value": "audio",
+ "valueType": {
+ "$ref": "6977"
+ },
+ "enumType": {
+ "$ref": "6976"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeContentPartType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83269,12 +89249,12 @@
"isHttpMetadata": false
},
{
- "$id": "6467",
+ "$id": "6982",
"kind": "property",
"name": "transcript",
"serializedName": "transcript",
"type": {
- "$id": "6468",
+ "$id": "6983",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83296,7 +89276,7 @@
]
},
"text": {
- "$id": "6469",
+ "$id": "6984",
"kind": "model",
"name": "RealtimeResponseTextContentPart",
"namespace": "OpenAI",
@@ -83305,16 +89285,26 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$ref": "6463"
+ "$ref": "6971"
},
"properties": [
{
- "$id": "6470",
+ "$id": "6985",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1165"
+ "$id": "6986",
+ "kind": "enumvalue",
+ "name": "text",
+ "value": "text",
+ "valueType": {
+ "$ref": "1166"
+ },
+ "enumType": {
+ "$ref": "6976"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83330,12 +89320,12 @@
"isHttpMetadata": false
},
{
- "$id": "6471",
+ "$id": "6987",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "6472",
+ "$id": "6988",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83357,7 +89347,7 @@
]
},
"audio": {
- "$id": "6473",
+ "$id": "6989",
"kind": "model",
"name": "RealtimeResponseAudioContentPart",
"namespace": "OpenAI",
@@ -83366,16 +89356,26 @@
"discriminatorValue": "audio",
"decorators": [],
"baseModel": {
- "$ref": "6463"
+ "$ref": "6971"
},
"properties": [
{
- "$id": "6474",
+ "$id": "6990",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1166"
+ "$id": "6991",
+ "kind": "enumvalue",
+ "name": "audio",
+ "value": "audio",
+ "valueType": {
+ "$ref": "1166"
+ },
+ "enumType": {
+ "$ref": "6976"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83391,15 +89391,15 @@
"isHttpMetadata": false
},
{
- "$id": "6475",
+ "$id": "6992",
"kind": "property",
"name": "transcript",
"serializedName": "transcript",
"type": {
- "$id": "6476",
+ "$id": "6993",
"kind": "nullable",
"type": {
- "$id": "6477",
+ "$id": "6994",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83426,20 +89426,20 @@
},
"properties": [
{
- "$id": "6478",
+ "$id": "6995",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$id": "6479",
+ "$id": "6996",
"kind": "enumvalue",
"name": "input_text",
"value": "input_text",
"valueType": {
- "$ref": "1162"
+ "$ref": "1166"
},
"enumType": {
- "$ref": "1161"
+ "$ref": "6976"
},
"decorators": []
},
@@ -83457,12 +89457,12 @@
"isHttpMetadata": false
},
{
- "$id": "6480",
+ "$id": "6997",
"kind": "property",
"name": "text",
"serializedName": "text",
"type": {
- "$id": "6481",
+ "$id": "6998",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83502,7 +89502,7 @@
]
},
"user": {
- "$id": "6482",
+ "$id": "6999",
"kind": "model",
"name": "RealtimeRequestUserMessageItem",
"namespace": "OpenAI",
@@ -83511,16 +89511,26 @@
"discriminatorValue": "user",
"decorators": [],
"baseModel": {
- "$ref": "6454"
+ "$ref": "6950"
},
"properties": [
{
- "$id": "6483",
+ "$id": "7000",
"kind": "property",
"name": "role",
"serializedName": "role",
"type": {
- "$ref": "1154"
+ "$id": "7001",
+ "kind": "enumvalue",
+ "name": "user",
+ "value": "user",
+ "valueType": {
+ "$ref": "1156"
+ },
+ "enumType": {
+ "$ref": "6963"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83536,24 +89546,24 @@
"isHttpMetadata": false
},
{
- "$id": "6484",
+ "$id": "7002",
"kind": "property",
"name": "content",
"serializedName": "content",
"type": {
- "$id": "6485",
+ "$id": "7003",
"kind": "array",
"name": "Array42",
"valueType": {
- "$id": "6486",
+ "$id": "7004",
"kind": "union",
"name": "RealtimeRequestUserMessageItemContent",
"variantTypes": [
{
- "$ref": "6462"
+ "$ref": "6970"
},
{
- "$ref": "6465"
+ "$ref": "6973"
}
],
"namespace": "OpenAI",
@@ -83578,7 +89588,7 @@
]
},
"assistant": {
- "$id": "6487",
+ "$id": "7005",
"kind": "model",
"name": "RealtimeRequestAssistantMessageItem",
"namespace": "OpenAI",
@@ -83587,16 +89597,26 @@
"discriminatorValue": "assistant",
"decorators": [],
"baseModel": {
- "$ref": "6454"
+ "$ref": "6950"
},
"properties": [
{
- "$id": "6488",
+ "$id": "7006",
"kind": "property",
"name": "role",
"serializedName": "role",
"type": {
- "$ref": "1155"
+ "$id": "7007",
+ "kind": "enumvalue",
+ "name": "assistant",
+ "value": "assistant",
+ "valueType": {
+ "$ref": "1156"
+ },
+ "enumType": {
+ "$ref": "6963"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83612,12 +89632,12 @@
"isHttpMetadata": false
},
{
- "$id": "6489",
+ "$id": "7008",
"kind": "property",
"name": "content",
"serializedName": "content",
"type": {
- "$ref": "6461"
+ "$ref": "6969"
},
"optional": false,
"readOnly": false,
@@ -83637,7 +89657,7 @@
}
},
"function_call": {
- "$id": "6490",
+ "$id": "7009",
"kind": "model",
"name": "RealtimeRequestFunctionCallItem",
"namespace": "OpenAI",
@@ -83646,16 +89666,26 @@
"discriminatorValue": "function_call",
"decorators": [],
"baseModel": {
- "$ref": "6450"
+ "$ref": "6946"
},
"properties": [
{
- "$id": "6491",
+ "$id": "7010",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1149"
+ "$id": "7011",
+ "kind": "enumvalue",
+ "name": "function_call",
+ "value": "function_call",
+ "valueType": {
+ "$ref": "1151"
+ },
+ "enumType": {
+ "$ref": "6954"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83671,12 +89701,12 @@
"isHttpMetadata": false
},
{
- "$id": "6492",
+ "$id": "7012",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "6493",
+ "$id": "7013",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83696,12 +89726,12 @@
"isHttpMetadata": false
},
{
- "$id": "6494",
+ "$id": "7014",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"type": {
- "$id": "6495",
+ "$id": "7015",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83721,12 +89751,12 @@
"isHttpMetadata": false
},
{
- "$id": "6496",
+ "$id": "7016",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"type": {
- "$id": "6497",
+ "$id": "7017",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83746,12 +89776,12 @@
"isHttpMetadata": false
},
{
- "$id": "6498",
+ "$id": "7018",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "1156"
+ "$ref": "1160"
},
"optional": true,
"readOnly": false,
@@ -83769,7 +89799,7 @@
]
},
"function_call_output": {
- "$id": "6499",
+ "$id": "7019",
"kind": "model",
"name": "RealtimeRequestFunctionCallOutputItem",
"namespace": "OpenAI",
@@ -83778,16 +89808,26 @@
"discriminatorValue": "function_call_output",
"decorators": [],
"baseModel": {
- "$ref": "6450"
+ "$ref": "6946"
},
"properties": [
{
- "$id": "6500",
+ "$id": "7020",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1150"
+ "$id": "7021",
+ "kind": "enumvalue",
+ "name": "function_call_output",
+ "value": "function_call_output",
+ "valueType": {
+ "$ref": "1151"
+ },
+ "enumType": {
+ "$ref": "6954"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83803,12 +89843,12 @@
"isHttpMetadata": false
},
{
- "$id": "6501",
+ "$id": "7022",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"type": {
- "$id": "6502",
+ "$id": "7023",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83828,12 +89868,12 @@
"isHttpMetadata": false
},
{
- "$id": "6503",
+ "$id": "7024",
"kind": "property",
"name": "output",
"serializedName": "output",
"type": {
- "$id": "6504",
+ "$id": "7025",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83872,7 +89912,7 @@
]
},
"conversation.item.truncate": {
- "$id": "6505",
+ "$id": "7026",
"kind": "model",
"name": "RealtimeClientEventConversationItemTruncate",
"namespace": "OpenAI",
@@ -83882,17 +89922,27 @@
"discriminatorValue": "conversation.item.truncate",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6506",
+ "$id": "7027",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.truncate`.",
"type": {
- "$ref": "1100"
+ "$id": "7028",
+ "kind": "enumvalue",
+ "name": "conversation_item_truncate",
+ "value": "conversation.item.truncate",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -83908,13 +89958,13 @@
"isHttpMetadata": false
},
{
- "$id": "6507",
+ "$id": "7029",
"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": "6508",
+ "$id": "7030",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -83934,13 +89984,13 @@
"isHttpMetadata": false
},
{
- "$id": "6509",
+ "$id": "7031",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part to truncate. Set this to 0.",
"type": {
- "$id": "6510",
+ "$id": "7032",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -83960,13 +90010,13 @@
"isHttpMetadata": false
},
{
- "$id": "6511",
+ "$id": "7033",
"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": "6512",
+ "$id": "7034",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -83988,7 +90038,7 @@
]
},
"conversation.item.delete": {
- "$id": "6513",
+ "$id": "7035",
"kind": "model",
"name": "RealtimeClientEventConversationItemDelete",
"namespace": "OpenAI",
@@ -83998,17 +90048,27 @@
"discriminatorValue": "conversation.item.delete",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6514",
+ "$id": "7036",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.delete`.",
"type": {
- "$ref": "1101"
+ "$id": "7037",
+ "kind": "enumvalue",
+ "name": "conversation_item_delete",
+ "value": "conversation.item.delete",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -84024,13 +90084,13 @@
"isHttpMetadata": false
},
{
- "$id": "6515",
+ "$id": "7038",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item to delete.",
"type": {
- "$id": "6516",
+ "$id": "7039",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84052,7 +90112,7 @@
]
},
"response.create": {
- "$id": "6517",
+ "$id": "7040",
"kind": "model",
"name": "RealtimeClientEventResponseCreate",
"namespace": "OpenAI",
@@ -84062,17 +90122,27 @@
"discriminatorValue": "response.create",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6518",
+ "$id": "7041",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.create`.",
"type": {
- "$ref": "1102"
+ "$id": "7042",
+ "kind": "enumvalue",
+ "name": "response_create",
+ "value": "response.create",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -84088,12 +90158,12 @@
"isHttpMetadata": false
},
{
- "$id": "6519",
+ "$id": "7043",
"kind": "property",
"name": "response",
"serializedName": "response",
"type": {
- "$id": "6520",
+ "$id": "7044",
"kind": "model",
"name": "RealtimeResponseCreateParams",
"namespace": "OpenAI",
@@ -84103,13 +90173,13 @@
"decorators": [],
"properties": [
{
- "$id": "6521",
+ "$id": "7045",
"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": "6365"
+ "$ref": "6840"
},
"optional": true,
"readOnly": false,
@@ -84125,13 +90195,13 @@
"isHttpMetadata": false
},
{
- "$id": "6522",
+ "$id": "7046",
"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": "6523",
+ "$id": "7047",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84151,7 +90221,7 @@
"isHttpMetadata": false
},
{
- "$id": "6524",
+ "$id": "7048",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -84173,13 +90243,13 @@
"isHttpMetadata": false
},
{
- "$id": "6525",
+ "$id": "7049",
"kind": "property",
"name": "output_audio_format",
"serializedName": "output_audio_format",
"doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": true,
"readOnly": false,
@@ -84195,13 +90265,13 @@
"isHttpMetadata": false
},
{
- "$id": "6526",
+ "$id": "7050",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "Tools (functions) available to the model.",
"type": {
- "$ref": "6409"
+ "$ref": "6896"
},
"optional": true,
"readOnly": false,
@@ -84217,13 +90287,13 @@
"isHttpMetadata": false
},
{
- "$id": "6527",
+ "$id": "7051",
"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": "6528",
+ "$id": "7052",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84243,13 +90313,13 @@
"isHttpMetadata": false
},
{
- "$id": "6529",
+ "$id": "7053",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.",
"type": {
- "$id": "6530",
+ "$id": "7054",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -84269,25 +90339,25 @@
"isHttpMetadata": false
},
{
- "$id": "6531",
+ "$id": "7055",
"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": "6532",
+ "$id": "7056",
"kind": "union",
"name": "RealtimeResponseCreateParamsMaxOutputTokens",
"variantTypes": [
{
- "$id": "6533",
+ "$id": "7057",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
"decorators": []
},
{
- "$ref": "1695"
+ "$ref": "1725"
}
],
"namespace": "OpenAI",
@@ -84307,13 +90377,13 @@
"isHttpMetadata": false
},
{
- "$id": "6534",
+ "$id": "7058",
"kind": "property",
"name": "conversation",
"serializedName": "conversation",
"doc": "Controls which conversation the response is added to. Currently supports\n`auto` and `none`, with `auto` as the default value. The `auto` value\nmeans that the contents of the response will be added to the default\nconversation. Set this to `none` to create an out-of-band response which\nwill not add items to default conversation.",
"type": {
- "$ref": "1167"
+ "$ref": "1171"
},
"optional": true,
"readOnly": false,
@@ -84329,13 +90399,13 @@
"isHttpMetadata": false
},
{
- "$id": "6535",
+ "$id": "7059",
"kind": "property",
"name": "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": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -84351,17 +90421,17 @@
"isHttpMetadata": false
},
{
- "$id": "6536",
+ "$id": "7060",
"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": "6537",
+ "$id": "7061",
"kind": "array",
"name": "ArrayRealtimeConversationRequestItem",
"valueType": {
- "$ref": "6450"
+ "$ref": "6946"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -84397,7 +90467,7 @@
]
},
"response.cancel": {
- "$id": "6538",
+ "$id": "7062",
"kind": "model",
"name": "RealtimeClientEventResponseCancel",
"namespace": "OpenAI",
@@ -84407,17 +90477,27 @@
"discriminatorValue": "response.cancel",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6539",
+ "$id": "7063",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.cancel`.",
"type": {
- "$ref": "1103"
+ "$id": "7064",
+ "kind": "enumvalue",
+ "name": "response_cancel",
+ "value": "response.cancel",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -84433,13 +90513,13 @@
"isHttpMetadata": false
},
{
- "$id": "6540",
+ "$id": "7065",
"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": "6541",
+ "$id": "7066",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84461,7 +90541,7 @@
]
},
"conversation.item.retrieve": {
- "$id": "6542",
+ "$id": "7067",
"kind": "model",
"name": "RealtimeClientEventConversationItemRetrieve",
"namespace": "OpenAI",
@@ -84471,17 +90551,27 @@
"discriminatorValue": "conversation.item.retrieve",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6543",
+ "$id": "7068",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.retrieve`.",
"type": {
- "$ref": "1099"
+ "$id": "7069",
+ "kind": "enumvalue",
+ "name": "conversation_item_retrieve",
+ "value": "conversation.item.retrieve",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -84497,13 +90587,13 @@
"isHttpMetadata": false
},
{
- "$id": "6544",
+ "$id": "7070",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item to retrieve.",
"type": {
- "$id": "6545",
+ "$id": "7071",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84525,7 +90615,7 @@
]
},
"transcription_session.update": {
- "$id": "6546",
+ "$id": "7072",
"kind": "model",
"name": "RealtimeClientEventTranscriptionSessionUpdate",
"namespace": "OpenAI",
@@ -84535,17 +90625,27 @@
"discriminatorValue": "transcription_session.update",
"decorators": [],
"baseModel": {
- "$ref": "6356"
+ "$ref": "6816"
},
"properties": [
{
- "$id": "6547",
+ "$id": "7073",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `transcription_session.update`.",
"type": {
- "$ref": "1104"
+ "$id": "7074",
+ "kind": "enumvalue",
+ "name": "transcription_session_update",
+ "value": "transcription_session.update",
+ "valueType": {
+ "$ref": "1096"
+ },
+ "enumType": {
+ "$ref": "6823"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -84561,12 +90661,12 @@
"isHttpMetadata": false
},
{
- "$id": "6548",
+ "$id": "7075",
"kind": "property",
"name": "session",
"serializedName": "session",
"type": {
- "$id": "6549",
+ "$id": "7076",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateRequest",
"namespace": "OpenAI",
@@ -84576,17 +90676,17 @@
"decorators": [],
"properties": [
{
- "$id": "6550",
+ "$id": "7077",
"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": "6551",
+ "$id": "7078",
"kind": "array",
"name": "Array43",
"valueType": {
- "$ref": "1171"
+ "$ref": "1175"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -84605,13 +90705,13 @@
"isHttpMetadata": false
},
{
- "$id": "6552",
+ "$id": "7079",
"kind": "property",
"name": "input_audio_format",
"serializedName": "input_audio_format",
"doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate,\nsingle channel (mono), and little-endian byte order.",
"type": {
- "$ref": "1175"
+ "$ref": "1179"
},
"optional": true,
"readOnly": false,
@@ -84627,13 +90727,13 @@
"isHttpMetadata": false
},
{
- "$id": "6553",
+ "$id": "7080",
"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": "6554",
+ "$id": "7081",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscription",
"namespace": "OpenAI",
@@ -84642,13 +90742,13 @@
"decorators": [],
"properties": [
{
- "$id": "6555",
+ "$id": "7082",
"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": {
- "$ref": "1180"
+ "$ref": "1184"
},
"optional": true,
"readOnly": false,
@@ -84664,13 +90764,13 @@
"isHttpMetadata": false
},
{
- "$id": "6556",
+ "$id": "7083",
"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": "6557",
+ "$id": "7084",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84690,13 +90790,13 @@
"isHttpMetadata": false
},
{
- "$id": "6558",
+ "$id": "7085",
"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": "6559",
+ "$id": "7086",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84731,13 +90831,13 @@
"isHttpMetadata": false
},
{
- "$id": "6560",
+ "$id": "7087",
"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": "6561",
+ "$id": "7088",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateRequestTurnDetection",
"namespace": "OpenAI",
@@ -84746,13 +90846,13 @@
"decorators": [],
"properties": [
{
- "$id": "6562",
+ "$id": "7089",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Type of turn detection.",
"type": {
- "$ref": "1185"
+ "$ref": "1189"
},
"optional": true,
"readOnly": false,
@@ -84768,13 +90868,13 @@
"isHttpMetadata": false
},
{
- "$id": "6563",
+ "$id": "7090",
"kind": "property",
"name": "eagerness",
"serializedName": "eagerness",
"doc": "Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`.",
"type": {
- "$ref": "1189"
+ "$ref": "1193"
},
"optional": true,
"readOnly": false,
@@ -84790,13 +90890,13 @@
"isHttpMetadata": false
},
{
- "$id": "6564",
+ "$id": "7091",
"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": "6565",
+ "$id": "7092",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -84816,13 +90916,13 @@
"isHttpMetadata": false
},
{
- "$id": "6566",
+ "$id": "7093",
"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": "6567",
+ "$id": "7094",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -84842,13 +90942,13 @@
"isHttpMetadata": false
},
{
- "$id": "6568",
+ "$id": "7095",
"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": "6569",
+ "$id": "7096",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -84868,13 +90968,13 @@
"isHttpMetadata": false
},
{
- "$id": "6570",
+ "$id": "7097",
"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": "6571",
+ "$id": "7098",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -84894,13 +90994,13 @@
"isHttpMetadata": false
},
{
- "$id": "6572",
+ "$id": "7099",
"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": "6573",
+ "$id": "7100",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -84935,16 +91035,16 @@
"isHttpMetadata": false
},
{
- "$id": "6574",
+ "$id": "7101",
"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": "6575",
+ "$id": "7102",
"kind": "nullable",
"type": {
- "$id": "6576",
+ "$id": "7103",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1",
"namespace": "OpenAI",
@@ -84953,13 +91053,13 @@
"decorators": [],
"properties": [
{
- "$id": "6577",
+ "$id": "7104",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.",
"type": {
- "$ref": "1195"
+ "$ref": "1199"
},
"optional": true,
"readOnly": false,
@@ -84992,13 +91092,13 @@
"isHttpMetadata": false
},
{
- "$id": "6578",
+ "$id": "7105",
"kind": "property",
"name": "include",
"serializedName": "include",
"doc": "The set of items to include in the transcription. Current available items are:\n- `item.input_audio_transcription.logprobs`",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": true,
"readOnly": false,
@@ -85014,13 +91114,13 @@
"isHttpMetadata": false
},
{
- "$id": "6579",
+ "$id": "7106",
"kind": "property",
"name": "client_secret",
"serializedName": "client_secret",
"doc": "Configuration options for the generated client secret.",
"type": {
- "$id": "6580",
+ "$id": "7107",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateRequestClientSecret",
"namespace": "OpenAI",
@@ -85029,13 +91129,13 @@
"decorators": [],
"properties": [
{
- "$id": "6581",
+ "$id": "7108",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "Configuration for the ephemeral token expiration.",
"type": {
- "$id": "6582",
+ "$id": "7109",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt",
"namespace": "OpenAI",
@@ -85044,13 +91144,13 @@
"decorators": [],
"properties": [
{
- "$id": "6583",
+ "$id": "7110",
"kind": "property",
"name": "anchor",
"serializedName": "anchor",
"doc": "The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.",
"type": {
- "$ref": "1697"
+ "$ref": "1203"
},
"optional": true,
"readOnly": false,
@@ -85066,13 +91166,13 @@
"isHttpMetadata": false
},
{
- "$id": "6584",
+ "$id": "7111",
"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": "6585",
+ "$id": "7112",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -85141,139 +91241,139 @@
}
},
{
- "$ref": "6360"
+ "$ref": "6820"
},
{
- "$ref": "6363"
+ "$ref": "6838"
},
{
- "$ref": "6374"
+ "$ref": "6849"
},
{
- "$ref": "6382"
+ "$ref": "6857"
},
{
- "$ref": "6388"
+ "$ref": "6863"
},
{
- "$ref": "6398"
+ "$ref": "6878"
},
{
- "$ref": "6402"
+ "$ref": "6883"
},
{
- "$ref": "6404"
+ "$ref": "6885"
},
{
- "$ref": "6406"
+ "$ref": "6892"
},
{
- "$ref": "6410"
+ "$ref": "6897"
},
{
- "$ref": "6412"
+ "$ref": "6899"
},
{
- "$ref": "6422"
+ "$ref": "6913"
},
{
- "$ref": "6424"
+ "$ref": "6915"
},
{
- "$ref": "6427"
+ "$ref": "6918"
},
{
- "$ref": "6435"
+ "$ref": "6926"
},
{
- "$ref": "6439"
+ "$ref": "6931"
},
{
- "$ref": "6441"
+ "$ref": "6934"
},
{
- "$ref": "6443"
+ "$ref": "6937"
},
{
- "$ref": "6445"
+ "$ref": "6940"
},
{
- "$ref": "6450"
+ "$ref": "6946"
},
{
- "$ref": "6454"
+ "$ref": "6950"
},
{
- "$ref": "6458"
+ "$ref": "6960"
},
{
- "$ref": "6462"
+ "$ref": "6970"
},
{
- "$ref": "6463"
+ "$ref": "6971"
},
{
- "$ref": "6465"
+ "$ref": "6973"
},
{
- "$ref": "6469"
+ "$ref": "6984"
},
{
- "$ref": "6473"
+ "$ref": "6989"
},
{
- "$ref": "6482"
+ "$ref": "6999"
},
{
- "$ref": "6487"
+ "$ref": "7005"
},
{
- "$ref": "6490"
+ "$ref": "7009"
},
{
- "$ref": "6499"
+ "$ref": "7019"
},
{
- "$ref": "6505"
+ "$ref": "7026"
},
{
- "$ref": "6513"
+ "$ref": "7035"
},
{
- "$ref": "6517"
+ "$ref": "7040"
},
{
- "$ref": "6520"
+ "$ref": "7044"
},
{
- "$ref": "6538"
+ "$ref": "7062"
},
{
- "$ref": "6542"
+ "$ref": "7067"
},
{
- "$ref": "6546"
+ "$ref": "7072"
},
{
- "$ref": "6549"
+ "$ref": "7076"
},
{
- "$ref": "6554"
+ "$ref": "7081"
},
{
- "$ref": "6561"
+ "$ref": "7088"
},
{
- "$ref": "6576"
+ "$ref": "7103"
},
{
- "$ref": "6580"
+ "$ref": "7107"
},
{
- "$ref": "6582"
+ "$ref": "7109"
},
{
- "$id": "6586",
+ "$id": "7113",
"kind": "model",
"name": "RealtimeServerEvent",
"namespace": "OpenAI",
@@ -85282,13 +91382,13 @@
"doc": "A realtime server event.",
"decorators": [],
"discriminatorProperty": {
- "$id": "6587",
+ "$id": "7114",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of event.",
"type": {
- "$ref": "1199"
+ "$ref": "1207"
},
"optional": false,
"readOnly": false,
@@ -85305,15 +91405,15 @@
},
"properties": [
{
- "$ref": "6587"
+ "$ref": "7114"
},
{
- "$id": "6588",
+ "$id": "7115",
"kind": "property",
"name": "event_id",
"serializedName": "event_id",
"type": {
- "$id": "6589",
+ "$id": "7116",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85335,7 +91435,7 @@
],
"discriminatedSubtypes": {
"error": {
- "$id": "6590",
+ "$id": "7117",
"kind": "model",
"name": "RealtimeServerEventError",
"namespace": "OpenAI",
@@ -85345,17 +91445,492 @@
"discriminatorValue": "error",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6591",
+ "$id": "7118",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `error`.",
"type": {
- "$ref": "1201"
+ "$id": "7119",
+ "kind": "enumvalue",
+ "name": "error",
+ "value": "error",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$id": "7120",
+ "kind": "enum",
+ "decorators": [],
+ "name": "RealtimeServerEventType",
+ "isGeneratedName": false,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "7121",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "7122",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "error",
+ "value": "error",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7123",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "session_created",
+ "value": "session.created",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7124",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "session_updated",
+ "value": "session.updated",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7125",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_created",
+ "value": "conversation.created",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7126",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_input_audio_transcription_completed",
+ "value": "conversation.item.input_audio_transcription.completed",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7127",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_input_audio_transcription_delta",
+ "value": "conversation.item.input_audio_transcription.delta",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7128",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_input_audio_transcription_failed",
+ "value": "conversation.item.input_audio_transcription.failed",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7129",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_created",
+ "value": "conversation.item.created",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7130",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_retrieved",
+ "value": "conversation.item.retrieved",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7131",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_truncated",
+ "value": "conversation.item.truncated",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7132",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "conversation_item_deleted",
+ "value": "conversation.item.deleted",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7133",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio_buffer_committed",
+ "value": "input_audio_buffer.committed",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7134",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio_buffer_cleared",
+ "value": "input_audio_buffer.cleared",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7135",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio_buffer_speech_started",
+ "value": "input_audio_buffer.speech_started",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7136",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "input_audio_buffer_speech_stopped",
+ "value": "input_audio_buffer.speech_stopped",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7137",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "output_audio_buffer_cleared",
+ "value": "output_audio_buffer.cleared",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7138",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "output_audio_buffer_started",
+ "value": "output_audio_buffer.started",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7139",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "output_audio_buffer_stopped",
+ "value": "output_audio_buffer.stopped",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7140",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_created",
+ "value": "response.created",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7141",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_done",
+ "value": "response.done",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7142",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_output_item_added",
+ "value": "response.output_item.added",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7143",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_output_item_done",
+ "value": "response.output_item.done",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7144",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_content_part_added",
+ "value": "response.content_part.added",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7145",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_content_part_done",
+ "value": "response.content_part.done",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7146",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_text_delta",
+ "value": "response.text.delta",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7147",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_text_done",
+ "value": "response.text.done",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7148",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_transcript_delta",
+ "value": "response.audio_transcript.delta",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7149",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_transcript_done",
+ "value": "response.audio_transcript.done",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7150",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_delta",
+ "value": "response.audio.delta",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7151",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_audio_done",
+ "value": "response.audio.done",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7152",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_function_call_arguments_delta",
+ "value": "response.function_call_arguments.delta",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7153",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "response_function_call_arguments_done",
+ "value": "response.function_call_arguments.done",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7154",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "transcription_session_updated",
+ "value": "transcription_session.updated",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ },
+ {
+ "$id": "7155",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "rate_limits_updated",
+ "value": "rate_limits.updated",
+ "valueType": {
+ "$ref": "7121"
+ },
+ "enumType": {
+ "$ref": "7120"
+ }
+ }
+ ],
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventType",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -85371,13 +91946,13 @@
"isHttpMetadata": false
},
{
- "$id": "6592",
+ "$id": "7156",
"kind": "property",
"name": "error",
"serializedName": "error",
"doc": "Details of the error.",
"type": {
- "$id": "6593",
+ "$id": "7157",
"kind": "model",
"name": "RealtimeServerEventErrorError",
"namespace": "OpenAI",
@@ -85386,13 +91961,13 @@
"decorators": [],
"properties": [
{
- "$id": "6594",
+ "$id": "7158",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of error (e.g., \"invalid_request_error\", \"server_error\").",
"type": {
- "$id": "6595",
+ "$id": "7159",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85412,16 +91987,16 @@
"isHttpMetadata": false
},
{
- "$id": "6596",
+ "$id": "7160",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "Error code, if any.",
"type": {
- "$id": "6597",
+ "$id": "7161",
"kind": "nullable",
"type": {
- "$id": "6598",
+ "$id": "7162",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85443,13 +92018,13 @@
"isHttpMetadata": false
},
{
- "$id": "6599",
+ "$id": "7163",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable error message.",
"type": {
- "$id": "6600",
+ "$id": "7164",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85469,16 +92044,16 @@
"isHttpMetadata": false
},
{
- "$id": "6601",
+ "$id": "7165",
"kind": "property",
"name": "param",
"serializedName": "param",
"doc": "Parameter related to the error, if any.",
"type": {
- "$id": "6602",
+ "$id": "7166",
"kind": "nullable",
"type": {
- "$id": "6603",
+ "$id": "7167",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85500,16 +92075,16 @@
"isHttpMetadata": false
},
{
- "$id": "6604",
+ "$id": "7168",
"kind": "property",
"name": "event_id",
"serializedName": "event_id",
"doc": "The event_id of the client event that caused the error, if applicable.",
"type": {
- "$id": "6605",
+ "$id": "7169",
"kind": "nullable",
"type": {
- "$id": "6606",
+ "$id": "7170",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85548,7 +92123,7 @@
]
},
"session.created": {
- "$id": "6607",
+ "$id": "7171",
"kind": "model",
"name": "RealtimeServerEventSessionCreated",
"namespace": "OpenAI",
@@ -85558,17 +92133,27 @@
"discriminatorValue": "session.created",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6608",
+ "$id": "7172",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `session.created`.",
"type": {
- "$ref": "1202"
+ "$id": "7173",
+ "kind": "enumvalue",
+ "name": "session_created",
+ "value": "session.created",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -85584,12 +92169,12 @@
"isHttpMetadata": false
},
{
- "$id": "6609",
+ "$id": "7174",
"kind": "property",
"name": "session",
"serializedName": "session",
"type": {
- "$id": "6610",
+ "$id": "7175",
"kind": "model",
"name": "RealtimeResponseSession",
"namespace": "OpenAI",
@@ -85598,12 +92183,12 @@
"decorators": [],
"properties": [
{
- "$id": "6611",
+ "$id": "7176",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1699"
+ "$ref": "1727"
},
"optional": false,
"readOnly": false,
@@ -85619,12 +92204,12 @@
"isHttpMetadata": false
},
{
- "$id": "6612",
+ "$id": "7177",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "6613",
+ "$id": "7178",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85644,12 +92229,12 @@
"isHttpMetadata": false
},
{
- "$id": "6614",
+ "$id": "7179",
"kind": "property",
"name": "model",
"serializedName": "model",
"type": {
- "$id": "6615",
+ "$id": "7180",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85669,12 +92254,12 @@
"isHttpMetadata": false
},
{
- "$id": "6616",
+ "$id": "7181",
"kind": "property",
"name": "modalities",
"serializedName": "modalities",
"type": {
- "$ref": "6365"
+ "$ref": "6840"
},
"optional": false,
"readOnly": false,
@@ -85690,12 +92275,12 @@
"isHttpMetadata": false
},
{
- "$id": "6617",
+ "$id": "7182",
"kind": "property",
"name": "instructions",
"serializedName": "instructions",
"type": {
- "$id": "6618",
+ "$id": "7183",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -85715,7 +92300,7 @@
"isHttpMetadata": false
},
{
- "$id": "6619",
+ "$id": "7184",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -85736,12 +92321,12 @@
"isHttpMetadata": false
},
{
- "$id": "6620",
+ "$id": "7185",
"kind": "property",
"name": "input_audio_format",
"serializedName": "input_audio_format",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": false,
"readOnly": false,
@@ -85757,12 +92342,12 @@
"isHttpMetadata": false
},
{
- "$id": "6621",
+ "$id": "7186",
"kind": "property",
"name": "output_audio_format",
"serializedName": "output_audio_format",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": false,
"readOnly": false,
@@ -85778,15 +92363,15 @@
"isHttpMetadata": false
},
{
- "$id": "6622",
+ "$id": "7187",
"kind": "property",
"name": "input_audio_transcription",
"serializedName": "input_audio_transcription",
"type": {
- "$id": "6623",
+ "$id": "7188",
"kind": "nullable",
"type": {
- "$ref": "6374"
+ "$ref": "6849"
},
"namespace": "OpenAI"
},
@@ -85804,12 +92389,12 @@
"isHttpMetadata": false
},
{
- "$id": "6624",
+ "$id": "7189",
"kind": "property",
"name": "turn_detection",
"serializedName": "turn_detection",
"type": {
- "$ref": "6382"
+ "$ref": "6857"
},
"optional": false,
"readOnly": false,
@@ -85825,12 +92410,12 @@
"isHttpMetadata": false
},
{
- "$id": "6625",
+ "$id": "7190",
"kind": "property",
"name": "input_audio_noise_reduction",
"serializedName": "input_audio_noise_reduction",
"type": {
- "$ref": "6402"
+ "$ref": "6883"
},
"optional": false,
"readOnly": false,
@@ -85846,12 +92431,12 @@
"isHttpMetadata": false
},
{
- "$id": "6626",
+ "$id": "7191",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"type": {
- "$ref": "6409"
+ "$ref": "6896"
},
"optional": false,
"readOnly": false,
@@ -85867,12 +92452,12 @@
"isHttpMetadata": false
},
{
- "$id": "6627",
+ "$id": "7192",
"kind": "property",
"name": "tool_choice",
"serializedName": "tool_choice",
"type": {
- "$ref": "6421"
+ "$ref": "6912"
},
"optional": false,
"readOnly": false,
@@ -85888,12 +92473,12 @@
"isHttpMetadata": false
},
{
- "$id": "6628",
+ "$id": "7193",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"type": {
- "$id": "6629",
+ "$id": "7194",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -85913,27 +92498,27 @@
"isHttpMetadata": false
},
{
- "$id": "6630",
+ "$id": "7195",
"kind": "property",
"name": "max_response_output_tokens",
"serializedName": "max_response_output_tokens",
"type": {
- "$id": "6631",
+ "$id": "7196",
"kind": "nullable",
"type": {
- "$id": "6632",
+ "$id": "7197",
"kind": "union",
"name": "RealtimeResponseSessionMaxResponseOutputTokens",
"variantTypes": [
{
- "$id": "6633",
+ "$id": "7198",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
"decorators": []
},
{
- "$ref": "1701"
+ "$ref": "1729"
}
],
"namespace": "OpenAI",
@@ -85972,7 +92557,7 @@
]
},
"session.updated": {
- "$id": "6634",
+ "$id": "7199",
"kind": "model",
"name": "RealtimeServerEventSessionUpdated",
"namespace": "OpenAI",
@@ -85982,17 +92567,27 @@
"discriminatorValue": "session.updated",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6635",
+ "$id": "7200",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `session.updated`.",
"type": {
- "$ref": "1203"
+ "$id": "7201",
+ "kind": "enumvalue",
+ "name": "session_updated",
+ "value": "session.updated",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86008,12 +92603,12 @@
"isHttpMetadata": false
},
{
- "$id": "6636",
+ "$id": "7202",
"kind": "property",
"name": "session",
"serializedName": "session",
"type": {
- "$ref": "6610"
+ "$ref": "7175"
},
"optional": false,
"readOnly": false,
@@ -86031,7 +92626,7 @@
]
},
"conversation.created": {
- "$id": "6637",
+ "$id": "7203",
"kind": "model",
"name": "RealtimeServerEventConversationCreated",
"namespace": "OpenAI",
@@ -86041,17 +92636,27 @@
"discriminatorValue": "conversation.created",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6638",
+ "$id": "7204",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.created`.",
"type": {
- "$ref": "1204"
+ "$id": "7205",
+ "kind": "enumvalue",
+ "name": "conversation_created",
+ "value": "conversation.created",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86067,13 +92672,13 @@
"isHttpMetadata": false
},
{
- "$id": "6639",
+ "$id": "7206",
"kind": "property",
"name": "conversation",
"serializedName": "conversation",
"doc": "The conversation resource.",
"type": {
- "$id": "6640",
+ "$id": "7207",
"kind": "model",
"name": "RealtimeServerEventConversationCreatedConversation",
"namespace": "OpenAI",
@@ -86082,13 +92687,13 @@
"decorators": [],
"properties": [
{
- "$id": "6641",
+ "$id": "7208",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The unique ID of the conversation.",
"type": {
- "$id": "6642",
+ "$id": "7209",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86108,13 +92713,13 @@
"isHttpMetadata": false
},
{
- "$id": "6643",
+ "$id": "7210",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, must be `realtime.conversation`.",
"type": {
- "$id": "6644",
+ "$id": "7211",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86151,7 +92756,7 @@
]
},
"input_audio_buffer.committed": {
- "$id": "6645",
+ "$id": "7212",
"kind": "model",
"name": "RealtimeServerEventInputAudioBufferCommitted",
"namespace": "OpenAI",
@@ -86161,17 +92766,27 @@
"discriminatorValue": "input_audio_buffer.committed",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6646",
+ "$id": "7213",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `input_audio_buffer.committed`.",
"type": {
- "$ref": "1212"
+ "$id": "7214",
+ "kind": "enumvalue",
+ "name": "input_audio_buffer_committed",
+ "value": "input_audio_buffer.committed",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86187,13 +92802,13 @@
"isHttpMetadata": false
},
{
- "$id": "6647",
+ "$id": "7215",
"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": "6648",
+ "$id": "7216",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86213,13 +92828,13 @@
"isHttpMetadata": false
},
{
- "$id": "6649",
+ "$id": "7217",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the user message item that will be created.",
"type": {
- "$id": "6650",
+ "$id": "7218",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86241,7 +92856,7 @@
]
},
"input_audio_buffer.cleared": {
- "$id": "6651",
+ "$id": "7219",
"kind": "model",
"name": "RealtimeServerEventInputAudioBufferCleared",
"namespace": "OpenAI",
@@ -86251,17 +92866,27 @@
"discriminatorValue": "input_audio_buffer.cleared",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6652",
+ "$id": "7220",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `input_audio_buffer.cleared`.",
"type": {
- "$ref": "1213"
+ "$id": "7221",
+ "kind": "enumvalue",
+ "name": "input_audio_buffer_cleared",
+ "value": "input_audio_buffer.cleared",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86279,7 +92904,7 @@
]
},
"input_audio_buffer.speech_started": {
- "$id": "6653",
+ "$id": "7222",
"kind": "model",
"name": "RealtimeServerEventInputAudioBufferSpeechStarted",
"namespace": "OpenAI",
@@ -86289,17 +92914,27 @@
"discriminatorValue": "input_audio_buffer.speech_started",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6654",
+ "$id": "7223",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `input_audio_buffer.speech_started`.",
"type": {
- "$ref": "1214"
+ "$id": "7224",
+ "kind": "enumvalue",
+ "name": "input_audio_buffer_speech_started",
+ "value": "input_audio_buffer.speech_started",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86315,13 +92950,13 @@
"isHttpMetadata": false
},
{
- "$id": "6655",
+ "$id": "7225",
"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": "6656",
+ "$id": "7226",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -86341,13 +92976,13 @@
"isHttpMetadata": false
},
{
- "$id": "6657",
+ "$id": "7227",
"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": "6658",
+ "$id": "7228",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86369,7 +93004,7 @@
]
},
"input_audio_buffer.speech_stopped": {
- "$id": "6659",
+ "$id": "7229",
"kind": "model",
"name": "RealtimeServerEventInputAudioBufferSpeechStopped",
"namespace": "OpenAI",
@@ -86379,17 +93014,27 @@
"discriminatorValue": "input_audio_buffer.speech_stopped",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6660",
+ "$id": "7230",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `input_audio_buffer.speech_stopped`.",
"type": {
- "$ref": "1215"
+ "$id": "7231",
+ "kind": "enumvalue",
+ "name": "input_audio_buffer_speech_stopped",
+ "value": "input_audio_buffer.speech_stopped",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86405,13 +93050,13 @@
"isHttpMetadata": false
},
{
- "$id": "6661",
+ "$id": "7232",
"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": "6662",
+ "$id": "7233",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -86431,13 +93076,13 @@
"isHttpMetadata": false
},
{
- "$id": "6663",
+ "$id": "7234",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the user message item that will be created.",
"type": {
- "$id": "6664",
+ "$id": "7235",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86459,7 +93104,7 @@
]
},
"output_audio_buffer.cleared": {
- "$id": "6665",
+ "$id": "7236",
"kind": "model",
"name": "RealtimeServerEventOutputAudioBufferCleared",
"namespace": "OpenAI",
@@ -86469,17 +93114,27 @@
"discriminatorValue": "output_audio_buffer.cleared",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6666",
+ "$id": "7237",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `output_audio_buffer.cleared`.",
"type": {
- "$ref": "1216"
+ "$id": "7238",
+ "kind": "enumvalue",
+ "name": "output_audio_buffer_cleared",
+ "value": "output_audio_buffer.cleared",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86495,13 +93150,13 @@
"isHttpMetadata": false
},
{
- "$id": "6667",
+ "$id": "7239",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The unique ID of the response that produced the audio.",
"type": {
- "$id": "6668",
+ "$id": "7240",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86523,7 +93178,7 @@
]
},
"output_audio_buffer.started": {
- "$id": "6669",
+ "$id": "7241",
"kind": "model",
"name": "RealtimeServerEventOutputAudioBufferStarted",
"namespace": "OpenAI",
@@ -86533,17 +93188,27 @@
"discriminatorValue": "output_audio_buffer.started",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6670",
+ "$id": "7242",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `output_audio_buffer.started`.",
"type": {
- "$ref": "1217"
+ "$id": "7243",
+ "kind": "enumvalue",
+ "name": "output_audio_buffer_started",
+ "value": "output_audio_buffer.started",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86559,13 +93224,13 @@
"isHttpMetadata": false
},
{
- "$id": "6671",
+ "$id": "7244",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The unique ID of the response that produced the audio.",
"type": {
- "$id": "6672",
+ "$id": "7245",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86587,7 +93252,7 @@
]
},
"output_audio_buffer.stopped": {
- "$id": "6673",
+ "$id": "7246",
"kind": "model",
"name": "RealtimeServerEventOutputAudioBufferStopped",
"namespace": "OpenAI",
@@ -86597,17 +93262,27 @@
"discriminatorValue": "output_audio_buffer.stopped",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6674",
+ "$id": "7247",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `output_audio_buffer.stopped`.",
"type": {
- "$ref": "1218"
+ "$id": "7248",
+ "kind": "enumvalue",
+ "name": "output_audio_buffer_stopped",
+ "value": "output_audio_buffer.stopped",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86623,13 +93298,13 @@
"isHttpMetadata": false
},
{
- "$id": "6675",
+ "$id": "7249",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The unique ID of the response that produced the audio.",
"type": {
- "$id": "6676",
+ "$id": "7250",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86651,7 +93326,7 @@
]
},
"conversation.item.created": {
- "$id": "6677",
+ "$id": "7251",
"kind": "model",
"name": "RealtimeServerEventConversationItemCreated",
"namespace": "OpenAI",
@@ -86661,17 +93336,27 @@
"discriminatorValue": "conversation.item.created",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6678",
+ "$id": "7252",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.created`.",
"type": {
- "$ref": "1208"
+ "$id": "7253",
+ "kind": "enumvalue",
+ "name": "conversation_item_created",
+ "value": "conversation.item.created",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -86687,13 +93372,13 @@
"isHttpMetadata": false
},
{
- "$id": "6679",
+ "$id": "7254",
"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": "6680",
+ "$id": "7255",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86713,12 +93398,12 @@
"isHttpMetadata": false
},
{
- "$id": "6681",
+ "$id": "7256",
"kind": "property",
"name": "item",
"serializedName": "item",
"type": {
- "$id": "6682",
+ "$id": "7257",
"kind": "model",
"name": "RealtimeConversationResponseItem",
"namespace": "OpenAI",
@@ -86726,12 +93411,12 @@
"usage": "Output,Json",
"decorators": [],
"discriminatorProperty": {
- "$id": "6683",
+ "$id": "7258",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1146"
+ "$ref": "1150"
},
"optional": false,
"readOnly": false,
@@ -86748,12 +93433,12 @@
},
"properties": [
{
- "$id": "6684",
+ "$id": "7259",
"kind": "property",
"name": "object",
"serializedName": "object",
"type": {
- "$ref": "1703"
+ "$ref": "1731"
},
"optional": false,
"readOnly": false,
@@ -86769,18 +93454,18 @@
"isHttpMetadata": false
},
{
- "$ref": "6683"
+ "$ref": "7258"
},
{
- "$id": "6685",
+ "$id": "7260",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "6686",
+ "$id": "7261",
"kind": "nullable",
"type": {
- "$id": "6687",
+ "$id": "7262",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86804,7 +93489,7 @@
],
"discriminatedSubtypes": {
"message": {
- "$id": "6688",
+ "$id": "7263",
"kind": "model",
"name": "RealtimeResponseMessageItem",
"namespace": "OpenAI",
@@ -86813,16 +93498,16 @@
"discriminatorValue": "message",
"decorators": [],
"baseModel": {
- "$ref": "6682"
+ "$ref": "7257"
},
"properties": [
{
- "$id": "6689",
+ "$id": "7264",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1148"
+ "$ref": "6953"
},
"optional": false,
"readOnly": false,
@@ -86838,12 +93523,12 @@
"isHttpMetadata": false
},
{
- "$id": "6690",
+ "$id": "7265",
"kind": "property",
"name": "role",
"serializedName": "role",
"type": {
- "$ref": "1151"
+ "$ref": "1155"
},
"optional": false,
"readOnly": false,
@@ -86859,16 +93544,16 @@
"isHttpMetadata": false
},
{
- "$id": "6691",
+ "$id": "7266",
"kind": "property",
"name": "content",
"serializedName": "content",
"type": {
- "$id": "6692",
+ "$id": "7267",
"kind": "array",
"name": "ArrayRealtimeContentPart",
"valueType": {
- "$ref": "6463"
+ "$ref": "6971"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -86887,12 +93572,12 @@
"isHttpMetadata": false
},
{
- "$id": "6693",
+ "$id": "7268",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "1156"
+ "$ref": "1160"
},
"optional": false,
"readOnly": false,
@@ -86910,7 +93595,7 @@
]
},
"function_call": {
- "$id": "6694",
+ "$id": "7269",
"kind": "model",
"name": "RealtimeResponseFunctionCallItem",
"namespace": "OpenAI",
@@ -86919,16 +93604,16 @@
"discriminatorValue": "function_call",
"decorators": [],
"baseModel": {
- "$ref": "6682"
+ "$ref": "7257"
},
"properties": [
{
- "$id": "6695",
+ "$id": "7270",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1149"
+ "$ref": "7011"
},
"optional": false,
"readOnly": false,
@@ -86944,12 +93629,12 @@
"isHttpMetadata": false
},
{
- "$id": "6696",
+ "$id": "7271",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "6697",
+ "$id": "7272",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86969,12 +93654,12 @@
"isHttpMetadata": false
},
{
- "$id": "6698",
+ "$id": "7273",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"type": {
- "$id": "6699",
+ "$id": "7274",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -86994,12 +93679,12 @@
"isHttpMetadata": false
},
{
- "$id": "6700",
+ "$id": "7275",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"type": {
- "$id": "6701",
+ "$id": "7276",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87019,12 +93704,12 @@
"isHttpMetadata": false
},
{
- "$id": "6702",
+ "$id": "7277",
"kind": "property",
"name": "status",
"serializedName": "status",
"type": {
- "$ref": "1156"
+ "$ref": "1160"
},
"optional": false,
"readOnly": false,
@@ -87042,7 +93727,7 @@
]
},
"function_call_output": {
- "$id": "6703",
+ "$id": "7278",
"kind": "model",
"name": "RealtimeResponseFunctionCallOutputItem",
"namespace": "OpenAI",
@@ -87051,16 +93736,16 @@
"discriminatorValue": "function_call_output",
"decorators": [],
"baseModel": {
- "$ref": "6682"
+ "$ref": "7257"
},
"properties": [
{
- "$id": "6704",
+ "$id": "7279",
"kind": "property",
"name": "type",
"serializedName": "type",
"type": {
- "$ref": "1150"
+ "$ref": "7021"
},
"optional": false,
"readOnly": false,
@@ -87076,12 +93761,12 @@
"isHttpMetadata": false
},
{
- "$id": "6705",
+ "$id": "7280",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"type": {
- "$id": "6706",
+ "$id": "7281",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87101,12 +93786,12 @@
"isHttpMetadata": false
},
{
- "$id": "6707",
+ "$id": "7282",
"kind": "property",
"name": "output",
"serializedName": "output",
"type": {
- "$id": "6708",
+ "$id": "7283",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87145,7 +93830,7 @@
]
},
"conversation.item.input_audio_transcription.completed": {
- "$id": "6709",
+ "$id": "7284",
"kind": "model",
"name": "RealtimeServerEventConversationItemInputAudioTranscriptionCompleted",
"namespace": "OpenAI",
@@ -87155,17 +93840,27 @@
"discriminatorValue": "conversation.item.input_audio_transcription.completed",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6710",
+ "$id": "7285",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be\n`conversation.item.input_audio_transcription.completed`.",
"type": {
- "$ref": "1205"
+ "$id": "7286",
+ "kind": "enumvalue",
+ "name": "conversation_item_input_audio_transcription_completed",
+ "value": "conversation.item.input_audio_transcription.completed",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -87181,13 +93876,13 @@
"isHttpMetadata": false
},
{
- "$id": "6711",
+ "$id": "7287",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the user message item containing the audio.",
"type": {
- "$id": "6712",
+ "$id": "7288",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87207,13 +93902,13 @@
"isHttpMetadata": false
},
{
- "$id": "6713",
+ "$id": "7289",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part containing the audio.",
"type": {
- "$id": "6714",
+ "$id": "7290",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -87233,13 +93928,13 @@
"isHttpMetadata": false
},
{
- "$id": "6715",
+ "$id": "7291",
"kind": "property",
"name": "transcript",
"serializedName": "transcript",
"doc": "The transcribed text.",
"type": {
- "$id": "6716",
+ "$id": "7292",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87259,20 +93954,20 @@
"isHttpMetadata": false
},
{
- "$id": "6717",
+ "$id": "7293",
"kind": "property",
"name": "logprobs",
"serializedName": "logprobs",
"doc": "The log probabilities of the transcription.",
"type": {
- "$id": "6718",
+ "$id": "7294",
"kind": "nullable",
"type": {
- "$id": "6719",
+ "$id": "7295",
"kind": "array",
"name": "ArrayLogProbProperties",
"valueType": {
- "$id": "6720",
+ "$id": "7296",
"kind": "model",
"name": "LogProbProperties",
"namespace": "OpenAI",
@@ -87282,13 +93977,13 @@
"decorators": [],
"properties": [
{
- "$id": "6721",
+ "$id": "7297",
"kind": "property",
"name": "token",
"serializedName": "token",
"doc": "The token that was used to generate the log probability.",
"type": {
- "$id": "6722",
+ "$id": "7298",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87308,13 +94003,13 @@
"isHttpMetadata": false
},
{
- "$id": "6723",
+ "$id": "7299",
"kind": "property",
"name": "logprob",
"serializedName": "logprob",
"doc": "The log probability of the token.",
"type": {
- "$id": "6724",
+ "$id": "7300",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -87334,13 +94029,13 @@
"isHttpMetadata": false
},
{
- "$id": "6725",
+ "$id": "7301",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "The bytes that were used to generate the log probability.",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": false,
"readOnly": false,
@@ -87378,7 +94073,7 @@
]
},
"conversation.item.input_audio_transcription.failed": {
- "$id": "6726",
+ "$id": "7302",
"kind": "model",
"name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailed",
"namespace": "OpenAI",
@@ -87388,17 +94083,27 @@
"discriminatorValue": "conversation.item.input_audio_transcription.failed",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6727",
+ "$id": "7303",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be\n`conversation.item.input_audio_transcription.failed`.",
"type": {
- "$ref": "1207"
+ "$id": "7304",
+ "kind": "enumvalue",
+ "name": "conversation_item_input_audio_transcription_failed",
+ "value": "conversation.item.input_audio_transcription.failed",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -87414,13 +94119,13 @@
"isHttpMetadata": false
},
{
- "$id": "6728",
+ "$id": "7305",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the user message item.",
"type": {
- "$id": "6729",
+ "$id": "7306",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87440,13 +94145,13 @@
"isHttpMetadata": false
},
{
- "$id": "6730",
+ "$id": "7307",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part containing the audio.",
"type": {
- "$id": "6731",
+ "$id": "7308",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -87466,13 +94171,13 @@
"isHttpMetadata": false
},
{
- "$id": "6732",
+ "$id": "7309",
"kind": "property",
"name": "error",
"serializedName": "error",
"doc": "Details of the transcription error.",
"type": {
- "$id": "6733",
+ "$id": "7310",
"kind": "model",
"name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailedError",
"namespace": "OpenAI",
@@ -87481,13 +94186,13 @@
"decorators": [],
"properties": [
{
- "$id": "6734",
+ "$id": "7311",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of error.",
"type": {
- "$id": "6735",
+ "$id": "7312",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87507,13 +94212,13 @@
"isHttpMetadata": false
},
{
- "$id": "6736",
+ "$id": "7313",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "Error code, if any.",
"type": {
- "$id": "6737",
+ "$id": "7314",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87533,13 +94238,13 @@
"isHttpMetadata": false
},
{
- "$id": "6738",
+ "$id": "7315",
"kind": "property",
"name": "message",
"serializedName": "message",
"doc": "A human-readable error message.",
"type": {
- "$id": "6739",
+ "$id": "7316",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87559,13 +94264,13 @@
"isHttpMetadata": false
},
{
- "$id": "6740",
+ "$id": "7317",
"kind": "property",
"name": "param",
"serializedName": "param",
"doc": "Parameter related to the error, if any.",
"type": {
- "$id": "6741",
+ "$id": "7318",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87602,7 +94307,7 @@
]
},
"conversation.item.truncated": {
- "$id": "6742",
+ "$id": "7319",
"kind": "model",
"name": "RealtimeServerEventConversationItemTruncated",
"namespace": "OpenAI",
@@ -87612,17 +94317,27 @@
"discriminatorValue": "conversation.item.truncated",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6743",
+ "$id": "7320",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.truncated`.",
"type": {
- "$ref": "1210"
+ "$id": "7321",
+ "kind": "enumvalue",
+ "name": "conversation_item_truncated",
+ "value": "conversation.item.truncated",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -87638,13 +94353,13 @@
"isHttpMetadata": false
},
{
- "$id": "6744",
+ "$id": "7322",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the assistant message item that was truncated.",
"type": {
- "$id": "6745",
+ "$id": "7323",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87664,13 +94379,13 @@
"isHttpMetadata": false
},
{
- "$id": "6746",
+ "$id": "7324",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part that was truncated.",
"type": {
- "$id": "6747",
+ "$id": "7325",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -87690,13 +94405,13 @@
"isHttpMetadata": false
},
{
- "$id": "6748",
+ "$id": "7326",
"kind": "property",
"name": "audio_end_ms",
"serializedName": "audio_end_ms",
"doc": "The duration up to which the audio was truncated, in milliseconds.",
"type": {
- "$id": "6749",
+ "$id": "7327",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -87718,7 +94433,7 @@
]
},
"conversation.item.deleted": {
- "$id": "6750",
+ "$id": "7328",
"kind": "model",
"name": "RealtimeServerEventConversationItemDeleted",
"namespace": "OpenAI",
@@ -87728,17 +94443,27 @@
"discriminatorValue": "conversation.item.deleted",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6751",
+ "$id": "7329",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.deleted`.",
"type": {
- "$ref": "1211"
+ "$id": "7330",
+ "kind": "enumvalue",
+ "name": "conversation_item_deleted",
+ "value": "conversation.item.deleted",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -87754,13 +94479,13 @@
"isHttpMetadata": false
},
{
- "$id": "6752",
+ "$id": "7331",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item that was deleted.",
"type": {
- "$id": "6753",
+ "$id": "7332",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87782,7 +94507,7 @@
]
},
"response.created": {
- "$id": "6754",
+ "$id": "7333",
"kind": "model",
"name": "RealtimeServerEventResponseCreated",
"namespace": "OpenAI",
@@ -87792,17 +94517,27 @@
"discriminatorValue": "response.created",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6755",
+ "$id": "7334",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.created`.",
"type": {
- "$ref": "1219"
+ "$id": "7335",
+ "kind": "enumvalue",
+ "name": "response_created",
+ "value": "response.created",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -87818,12 +94553,12 @@
"isHttpMetadata": false
},
{
- "$id": "6756",
+ "$id": "7336",
"kind": "property",
"name": "response",
"serializedName": "response",
"type": {
- "$id": "6757",
+ "$id": "7337",
"kind": "model",
"name": "RealtimeResponse",
"namespace": "OpenAI",
@@ -87833,13 +94568,13 @@
"decorators": [],
"properties": [
{
- "$id": "6758",
+ "$id": "7338",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The unique ID of the response.",
"type": {
- "$id": "6759",
+ "$id": "7339",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -87859,13 +94594,13 @@
"isHttpMetadata": false
},
{
- "$id": "6760",
+ "$id": "7340",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, must be `realtime.response`.",
"type": {
- "$ref": "1705"
+ "$ref": "1243"
},
"optional": true,
"readOnly": false,
@@ -87881,13 +94616,13 @@
"isHttpMetadata": false
},
{
- "$id": "6761",
+ "$id": "7341",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The final status of the response (`completed`, `cancelled`, `failed`, or\n`incomplete`).",
"type": {
- "$ref": "1235"
+ "$ref": "1247"
},
"optional": true,
"readOnly": false,
@@ -87903,13 +94638,13 @@
"isHttpMetadata": false
},
{
- "$id": "6762",
+ "$id": "7342",
"kind": "property",
"name": "status_details",
"serializedName": "status_details",
"doc": "Additional details about the status.",
"type": {
- "$id": "6763",
+ "$id": "7343",
"kind": "model",
"name": "RealtimeResponseStatusDetails",
"namespace": "OpenAI",
@@ -87918,13 +94653,13 @@
"decorators": [],
"properties": [
{
- "$id": "6764",
+ "$id": "7344",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of error that caused the response to fail, corresponding\nwith the `status` field (`completed`, `cancelled`, `incomplete`,\n`failed`).",
"type": {
- "$ref": "1241"
+ "$ref": "1253"
},
"optional": true,
"readOnly": false,
@@ -87940,13 +94675,13 @@
"isHttpMetadata": false
},
{
- "$id": "6765",
+ "$id": "7345",
"kind": "property",
"name": "reason",
"serializedName": "reason",
"doc": "The reason the Response did not complete. For a `cancelled` Response,\none of `turn_detected` (the server VAD detected a new start of speech)\nor `client_cancelled` (the client sent a cancel event). For an\n`incomplete` Response, one of `max_output_tokens` or `content_filter`\n(the server-side safety filter activated and cut off the response).",
"type": {
- "$ref": "1247"
+ "$ref": "1259"
},
"optional": true,
"readOnly": false,
@@ -87962,13 +94697,13 @@
"isHttpMetadata": false
},
{
- "$id": "6766",
+ "$id": "7346",
"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": "6767",
+ "$id": "7347",
"kind": "model",
"name": "RealtimeResponseStatusDetailsError",
"namespace": "OpenAI",
@@ -87977,13 +94712,13 @@
"decorators": [],
"properties": [
{
- "$id": "6768",
+ "$id": "7348",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The type of error.",
"type": {
- "$id": "6769",
+ "$id": "7349",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -88003,13 +94738,13 @@
"isHttpMetadata": false
},
{
- "$id": "6770",
+ "$id": "7350",
"kind": "property",
"name": "code",
"serializedName": "code",
"doc": "Error code, if any.",
"type": {
- "$id": "6771",
+ "$id": "7351",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -88059,17 +94794,17 @@
"isHttpMetadata": false
},
{
- "$id": "6772",
+ "$id": "7352",
"kind": "property",
"name": "output",
"serializedName": "output",
"doc": "The list of output items generated by the response.",
"type": {
- "$id": "6773",
+ "$id": "7353",
"kind": "array",
"name": "ArrayRealtimeConversationResponseItem",
"valueType": {
- "$ref": "6682"
+ "$ref": "7257"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -88088,13 +94823,13 @@
"isHttpMetadata": false
},
{
- "$id": "6774",
+ "$id": "7354",
"kind": "property",
"name": "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": "2351"
+ "$ref": "2379"
},
"optional": false,
"readOnly": false,
@@ -88110,13 +94845,13 @@
"isHttpMetadata": false
},
{
- "$id": "6775",
+ "$id": "7355",
"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": "6776",
+ "$id": "7356",
"kind": "model",
"name": "RealtimeResponseUsage",
"namespace": "OpenAI",
@@ -88125,13 +94860,13 @@
"decorators": [],
"properties": [
{
- "$id": "6777",
+ "$id": "7357",
"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": "6778",
+ "$id": "7358",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88151,13 +94886,13 @@
"isHttpMetadata": false
},
{
- "$id": "6779",
+ "$id": "7359",
"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": "6780",
+ "$id": "7360",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88177,13 +94912,13 @@
"isHttpMetadata": false
},
{
- "$id": "6781",
+ "$id": "7361",
"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": "6782",
+ "$id": "7362",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88203,13 +94938,13 @@
"isHttpMetadata": false
},
{
- "$id": "6783",
+ "$id": "7363",
"kind": "property",
"name": "input_token_details",
"serializedName": "input_token_details",
"doc": "Details about the input tokens used in the Response.",
"type": {
- "$id": "6784",
+ "$id": "7364",
"kind": "model",
"name": "RealtimeResponseUsageInputTokenDetails",
"namespace": "OpenAI",
@@ -88218,13 +94953,13 @@
"decorators": [],
"properties": [
{
- "$id": "6785",
+ "$id": "7365",
"kind": "property",
"name": "cached_tokens",
"serializedName": "cached_tokens",
"doc": "The number of cached tokens used in the Response.",
"type": {
- "$id": "6786",
+ "$id": "7366",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88244,13 +94979,13 @@
"isHttpMetadata": false
},
{
- "$id": "6787",
+ "$id": "7367",
"kind": "property",
"name": "text_tokens",
"serializedName": "text_tokens",
"doc": "The number of text tokens used in the Response.",
"type": {
- "$id": "6788",
+ "$id": "7368",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88270,13 +95005,13 @@
"isHttpMetadata": false
},
{
- "$id": "6789",
+ "$id": "7369",
"kind": "property",
"name": "audio_tokens",
"serializedName": "audio_tokens",
"doc": "The number of audio tokens used in the Response.",
"type": {
- "$id": "6790",
+ "$id": "7370",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88311,13 +95046,13 @@
"isHttpMetadata": false
},
{
- "$id": "6791",
+ "$id": "7371",
"kind": "property",
"name": "output_token_details",
"serializedName": "output_token_details",
"doc": "Details about the output tokens used in the Response.",
"type": {
- "$id": "6792",
+ "$id": "7372",
"kind": "model",
"name": "RealtimeResponseUsageOutputTokenDetails",
"namespace": "OpenAI",
@@ -88326,13 +95061,13 @@
"decorators": [],
"properties": [
{
- "$id": "6793",
+ "$id": "7373",
"kind": "property",
"name": "text_tokens",
"serializedName": "text_tokens",
"doc": "The number of text tokens used in the Response.",
"type": {
- "$id": "6794",
+ "$id": "7374",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88352,13 +95087,13 @@
"isHttpMetadata": false
},
{
- "$id": "6795",
+ "$id": "7375",
"kind": "property",
"name": "audio_tokens",
"serializedName": "audio_tokens",
"doc": "The number of audio tokens used in the Response.",
"type": {
- "$id": "6796",
+ "$id": "7376",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88408,13 +95143,13 @@
"isHttpMetadata": false
},
{
- "$id": "6797",
+ "$id": "7377",
"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": "6798",
+ "$id": "7378",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -88434,7 +95169,7 @@
"isHttpMetadata": false
},
{
- "$id": "6799",
+ "$id": "7379",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -88456,17 +95191,17 @@
"isHttpMetadata": false
},
{
- "$id": "6800",
+ "$id": "7380",
"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": "6801",
+ "$id": "7381",
"kind": "array",
"name": "Array44",
"valueType": {
- "$ref": "1253"
+ "$ref": "1265"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -88485,13 +95220,13 @@
"isHttpMetadata": false
},
{
- "$id": "6802",
+ "$id": "7382",
"kind": "property",
"name": "output_audio_format",
"serializedName": "output_audio_format",
"doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.",
"type": {
- "$ref": "1257"
+ "$ref": "1269"
},
"optional": true,
"readOnly": false,
@@ -88507,13 +95242,13 @@
"isHttpMetadata": false
},
{
- "$id": "6803",
+ "$id": "7383",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.",
"type": {
- "$id": "6804",
+ "$id": "7384",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -88533,25 +95268,25 @@
"isHttpMetadata": false
},
{
- "$id": "6805",
+ "$id": "7385",
"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": "6806",
+ "$id": "7386",
"kind": "union",
"name": "RealtimeResponseMaxOutputTokens",
"variantTypes": [
{
- "$id": "6807",
+ "$id": "7387",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
"decorators": []
},
{
- "$ref": "1707"
+ "$ref": "1733"
}
],
"namespace": "OpenAI",
@@ -88588,7 +95323,7 @@
]
},
"response.done": {
- "$id": "6808",
+ "$id": "7388",
"kind": "model",
"name": "RealtimeServerEventResponseDone",
"namespace": "OpenAI",
@@ -88598,17 +95333,27 @@
"discriminatorValue": "response.done",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6809",
+ "$id": "7389",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.done`.",
"type": {
- "$ref": "1220"
+ "$id": "7390",
+ "kind": "enumvalue",
+ "name": "response_done",
+ "value": "response.done",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -88624,12 +95369,12 @@
"isHttpMetadata": false
},
{
- "$id": "6810",
+ "$id": "7391",
"kind": "property",
"name": "response",
"serializedName": "response",
"type": {
- "$ref": "6757"
+ "$ref": "7337"
},
"optional": false,
"readOnly": false,
@@ -88647,7 +95392,7 @@
]
},
"response.output_item.added": {
- "$id": "6811",
+ "$id": "7392",
"kind": "model",
"name": "RealtimeServerEventResponseOutputItemAdded",
"namespace": "OpenAI",
@@ -88657,17 +95402,27 @@
"discriminatorValue": "response.output_item.added",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6812",
+ "$id": "7393",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.output_item.added`.",
"type": {
- "$ref": "1221"
+ "$id": "7394",
+ "kind": "enumvalue",
+ "name": "response_output_item_added",
+ "value": "response.output_item.added",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -88683,13 +95438,13 @@
"isHttpMetadata": false
},
{
- "$id": "6813",
+ "$id": "7395",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the Response to which the item belongs.",
"type": {
- "$id": "6814",
+ "$id": "7396",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -88709,13 +95464,13 @@
"isHttpMetadata": false
},
{
- "$id": "6815",
+ "$id": "7397",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the Response.",
"type": {
- "$id": "6816",
+ "$id": "7398",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88735,12 +95490,12 @@
"isHttpMetadata": false
},
{
- "$id": "6817",
+ "$id": "7399",
"kind": "property",
"name": "item",
"serializedName": "item",
"type": {
- "$ref": "6682"
+ "$ref": "7257"
},
"optional": false,
"readOnly": false,
@@ -88758,7 +95513,7 @@
]
},
"response.output_item.done": {
- "$id": "6818",
+ "$id": "7400",
"kind": "model",
"name": "RealtimeServerEventResponseOutputItemDone",
"namespace": "OpenAI",
@@ -88768,17 +95523,27 @@
"discriminatorValue": "response.output_item.done",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6819",
+ "$id": "7401",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.output_item.done`.",
"type": {
- "$ref": "1222"
+ "$id": "7402",
+ "kind": "enumvalue",
+ "name": "response_output_item_done",
+ "value": "response.output_item.done",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -88794,13 +95559,13 @@
"isHttpMetadata": false
},
{
- "$id": "6820",
+ "$id": "7403",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the Response to which the item belongs.",
"type": {
- "$id": "6821",
+ "$id": "7404",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -88820,13 +95585,13 @@
"isHttpMetadata": false
},
{
- "$id": "6822",
+ "$id": "7405",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the Response.",
"type": {
- "$id": "6823",
+ "$id": "7406",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88846,12 +95611,12 @@
"isHttpMetadata": false
},
{
- "$id": "6824",
+ "$id": "7407",
"kind": "property",
"name": "item",
"serializedName": "item",
"type": {
- "$ref": "6682"
+ "$ref": "7257"
},
"optional": false,
"readOnly": false,
@@ -88869,7 +95634,7 @@
]
},
"response.content_part.added": {
- "$id": "6825",
+ "$id": "7408",
"kind": "model",
"name": "RealtimeServerEventResponseContentPartAdded",
"namespace": "OpenAI",
@@ -88879,17 +95644,27 @@
"discriminatorValue": "response.content_part.added",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6826",
+ "$id": "7409",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.content_part.added`.",
"type": {
- "$ref": "1223"
+ "$id": "7410",
+ "kind": "enumvalue",
+ "name": "response_content_part_added",
+ "value": "response.content_part.added",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -88905,13 +95680,13 @@
"isHttpMetadata": false
},
{
- "$id": "6827",
+ "$id": "7411",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6828",
+ "$id": "7412",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -88931,13 +95706,13 @@
"isHttpMetadata": false
},
{
- "$id": "6829",
+ "$id": "7413",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item to which the content part was added.",
"type": {
- "$id": "6830",
+ "$id": "7414",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -88957,13 +95732,13 @@
"isHttpMetadata": false
},
{
- "$id": "6831",
+ "$id": "7415",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6832",
+ "$id": "7416",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -88983,13 +95758,13 @@
"isHttpMetadata": false
},
{
- "$id": "6833",
+ "$id": "7417",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6834",
+ "$id": "7418",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89009,13 +95784,13 @@
"isHttpMetadata": false
},
{
- "$id": "6835",
+ "$id": "7419",
"kind": "property",
"name": "part",
"serializedName": "part",
"doc": "The content part that was added.",
"type": {
- "$ref": "6463"
+ "$ref": "6971"
},
"optional": false,
"readOnly": false,
@@ -89033,7 +95808,7 @@
]
},
"response.content_part.done": {
- "$id": "6836",
+ "$id": "7420",
"kind": "model",
"name": "RealtimeServerEventResponseContentPartDone",
"namespace": "OpenAI",
@@ -89043,17 +95818,27 @@
"discriminatorValue": "response.content_part.done",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6837",
+ "$id": "7421",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.content_part.done`.",
"type": {
- "$ref": "1224"
+ "$id": "7422",
+ "kind": "enumvalue",
+ "name": "response_content_part_done",
+ "value": "response.content_part.done",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -89069,13 +95854,13 @@
"isHttpMetadata": false
},
{
- "$id": "6838",
+ "$id": "7423",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6839",
+ "$id": "7424",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89095,13 +95880,13 @@
"isHttpMetadata": false
},
{
- "$id": "6840",
+ "$id": "7425",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6841",
+ "$id": "7426",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89121,13 +95906,13 @@
"isHttpMetadata": false
},
{
- "$id": "6842",
+ "$id": "7427",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6843",
+ "$id": "7428",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89147,13 +95932,13 @@
"isHttpMetadata": false
},
{
- "$id": "6844",
+ "$id": "7429",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6845",
+ "$id": "7430",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89173,13 +95958,13 @@
"isHttpMetadata": false
},
{
- "$id": "6846",
+ "$id": "7431",
"kind": "property",
"name": "part",
"serializedName": "part",
"doc": "The content part that is done.",
"type": {
- "$ref": "6463"
+ "$ref": "6971"
},
"optional": false,
"readOnly": false,
@@ -89197,7 +95982,7 @@
]
},
"response.text.delta": {
- "$id": "6847",
+ "$id": "7432",
"kind": "model",
"name": "RealtimeServerEventResponseTextDelta",
"namespace": "OpenAI",
@@ -89207,17 +95992,27 @@
"discriminatorValue": "response.text.delta",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6848",
+ "$id": "7433",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.text.delta`.",
"type": {
- "$ref": "1225"
+ "$id": "7434",
+ "kind": "enumvalue",
+ "name": "response_text_delta",
+ "value": "response.text.delta",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -89233,13 +96028,13 @@
"isHttpMetadata": false
},
{
- "$id": "6849",
+ "$id": "7435",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6850",
+ "$id": "7436",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89259,13 +96054,13 @@
"isHttpMetadata": false
},
{
- "$id": "6851",
+ "$id": "7437",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6852",
+ "$id": "7438",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89285,13 +96080,13 @@
"isHttpMetadata": false
},
{
- "$id": "6853",
+ "$id": "7439",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6854",
+ "$id": "7440",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89311,13 +96106,13 @@
"isHttpMetadata": false
},
{
- "$id": "6855",
+ "$id": "7441",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6856",
+ "$id": "7442",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89337,13 +96132,13 @@
"isHttpMetadata": false
},
{
- "$id": "6857",
+ "$id": "7443",
"kind": "property",
"name": "delta",
"serializedName": "delta",
"doc": "The text delta.",
"type": {
- "$id": "6858",
+ "$id": "7444",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89365,7 +96160,7 @@
]
},
"response.text.done": {
- "$id": "6859",
+ "$id": "7445",
"kind": "model",
"name": "RealtimeServerEventResponseTextDone",
"namespace": "OpenAI",
@@ -89375,17 +96170,27 @@
"discriminatorValue": "response.text.done",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6860",
+ "$id": "7446",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.text.done`.",
"type": {
- "$ref": "1226"
+ "$id": "7447",
+ "kind": "enumvalue",
+ "name": "response_text_done",
+ "value": "response.text.done",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -89401,13 +96206,13 @@
"isHttpMetadata": false
},
{
- "$id": "6861",
+ "$id": "7448",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6862",
+ "$id": "7449",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89427,13 +96232,13 @@
"isHttpMetadata": false
},
{
- "$id": "6863",
+ "$id": "7450",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6864",
+ "$id": "7451",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89453,13 +96258,13 @@
"isHttpMetadata": false
},
{
- "$id": "6865",
+ "$id": "7452",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6866",
+ "$id": "7453",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89479,13 +96284,13 @@
"isHttpMetadata": false
},
{
- "$id": "6867",
+ "$id": "7454",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6868",
+ "$id": "7455",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89505,13 +96310,13 @@
"isHttpMetadata": false
},
{
- "$id": "6869",
+ "$id": "7456",
"kind": "property",
"name": "text",
"serializedName": "text",
"doc": "The final text content.",
"type": {
- "$id": "6870",
+ "$id": "7457",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89533,7 +96338,7 @@
]
},
"response.audio_transcript.delta": {
- "$id": "6871",
+ "$id": "7458",
"kind": "model",
"name": "RealtimeServerEventResponseAudioTranscriptDelta",
"namespace": "OpenAI",
@@ -89543,17 +96348,27 @@
"discriminatorValue": "response.audio_transcript.delta",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6872",
+ "$id": "7459",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.audio_transcript.delta`.",
"type": {
- "$ref": "1227"
+ "$id": "7460",
+ "kind": "enumvalue",
+ "name": "response_audio_transcript_delta",
+ "value": "response.audio_transcript.delta",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -89569,13 +96384,13 @@
"isHttpMetadata": false
},
{
- "$id": "6873",
+ "$id": "7461",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6874",
+ "$id": "7462",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89595,13 +96410,13 @@
"isHttpMetadata": false
},
{
- "$id": "6875",
+ "$id": "7463",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6876",
+ "$id": "7464",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89621,13 +96436,13 @@
"isHttpMetadata": false
},
{
- "$id": "6877",
+ "$id": "7465",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6878",
+ "$id": "7466",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89647,13 +96462,13 @@
"isHttpMetadata": false
},
{
- "$id": "6879",
+ "$id": "7467",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6880",
+ "$id": "7468",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89673,13 +96488,13 @@
"isHttpMetadata": false
},
{
- "$id": "6881",
+ "$id": "7469",
"kind": "property",
"name": "delta",
"serializedName": "delta",
"doc": "The transcript delta.",
"type": {
- "$id": "6882",
+ "$id": "7470",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89701,7 +96516,7 @@
]
},
"response.audio_transcript.done": {
- "$id": "6883",
+ "$id": "7471",
"kind": "model",
"name": "RealtimeServerEventResponseAudioTranscriptDone",
"namespace": "OpenAI",
@@ -89711,17 +96526,27 @@
"discriminatorValue": "response.audio_transcript.done",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6884",
+ "$id": "7472",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.audio_transcript.done`.",
"type": {
- "$ref": "1228"
+ "$id": "7473",
+ "kind": "enumvalue",
+ "name": "response_audio_transcript_done",
+ "value": "response.audio_transcript.done",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -89737,13 +96562,13 @@
"isHttpMetadata": false
},
{
- "$id": "6885",
+ "$id": "7474",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6886",
+ "$id": "7475",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89763,13 +96588,13 @@
"isHttpMetadata": false
},
{
- "$id": "6887",
+ "$id": "7476",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6888",
+ "$id": "7477",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89789,13 +96614,13 @@
"isHttpMetadata": false
},
{
- "$id": "6889",
+ "$id": "7478",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6890",
+ "$id": "7479",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89815,13 +96640,13 @@
"isHttpMetadata": false
},
{
- "$id": "6891",
+ "$id": "7480",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6892",
+ "$id": "7481",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89841,13 +96666,13 @@
"isHttpMetadata": false
},
{
- "$id": "6893",
+ "$id": "7482",
"kind": "property",
"name": "transcript",
"serializedName": "transcript",
"doc": "The final transcript of the audio.",
"type": {
- "$id": "6894",
+ "$id": "7483",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89869,7 +96694,7 @@
]
},
"response.audio.delta": {
- "$id": "6895",
+ "$id": "7484",
"kind": "model",
"name": "RealtimeServerEventResponseAudioDelta",
"namespace": "OpenAI",
@@ -89879,17 +96704,27 @@
"discriminatorValue": "response.audio.delta",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6896",
+ "$id": "7485",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.audio.delta`.",
"type": {
- "$ref": "1229"
+ "$id": "7486",
+ "kind": "enumvalue",
+ "name": "response_audio_delta",
+ "value": "response.audio.delta",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -89905,13 +96740,13 @@
"isHttpMetadata": false
},
{
- "$id": "6897",
+ "$id": "7487",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6898",
+ "$id": "7488",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89931,13 +96766,13 @@
"isHttpMetadata": false
},
{
- "$id": "6899",
+ "$id": "7489",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6900",
+ "$id": "7490",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -89957,13 +96792,13 @@
"isHttpMetadata": false
},
{
- "$id": "6901",
+ "$id": "7491",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6902",
+ "$id": "7492",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -89983,13 +96818,13 @@
"isHttpMetadata": false
},
{
- "$id": "6903",
+ "$id": "7493",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6904",
+ "$id": "7494",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90009,13 +96844,13 @@
"isHttpMetadata": false
},
{
- "$id": "6905",
+ "$id": "7495",
"kind": "property",
"name": "delta",
"serializedName": "delta",
"doc": "Base64-encoded audio data delta.",
"type": {
- "$id": "6906",
+ "$id": "7496",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -90038,7 +96873,7 @@
]
},
"response.audio.done": {
- "$id": "6907",
+ "$id": "7497",
"kind": "model",
"name": "RealtimeServerEventResponseAudioDone",
"namespace": "OpenAI",
@@ -90048,17 +96883,27 @@
"discriminatorValue": "response.audio.done",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6908",
+ "$id": "7498",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.audio.done`.",
"type": {
- "$ref": "1230"
+ "$id": "7499",
+ "kind": "enumvalue",
+ "name": "response_audio_done",
+ "value": "response.audio.done",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -90074,13 +96919,13 @@
"isHttpMetadata": false
},
{
- "$id": "6909",
+ "$id": "7500",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6910",
+ "$id": "7501",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90100,13 +96945,13 @@
"isHttpMetadata": false
},
{
- "$id": "6911",
+ "$id": "7502",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6912",
+ "$id": "7503",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90126,13 +96971,13 @@
"isHttpMetadata": false
},
{
- "$id": "6913",
+ "$id": "7504",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6914",
+ "$id": "7505",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90152,13 +96997,13 @@
"isHttpMetadata": false
},
{
- "$id": "6915",
+ "$id": "7506",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6916",
+ "$id": "7507",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90180,7 +97025,7 @@
]
},
"response.function_call_arguments.delta": {
- "$id": "6917",
+ "$id": "7508",
"kind": "model",
"name": "RealtimeServerEventResponseFunctionCallArgumentsDelta",
"namespace": "OpenAI",
@@ -90190,17 +97035,27 @@
"discriminatorValue": "response.function_call_arguments.delta",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6918",
+ "$id": "7509",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.function_call_arguments.delta`.",
"type": {
- "$ref": "1231"
+ "$id": "7510",
+ "kind": "enumvalue",
+ "name": "response_function_call_arguments_delta",
+ "value": "response.function_call_arguments.delta",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -90216,13 +97071,13 @@
"isHttpMetadata": false
},
{
- "$id": "6919",
+ "$id": "7511",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6920",
+ "$id": "7512",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90242,13 +97097,13 @@
"isHttpMetadata": false
},
{
- "$id": "6921",
+ "$id": "7513",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the function call item.",
"type": {
- "$id": "6922",
+ "$id": "7514",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90268,13 +97123,13 @@
"isHttpMetadata": false
},
{
- "$id": "6923",
+ "$id": "7515",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6924",
+ "$id": "7516",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90294,13 +97149,13 @@
"isHttpMetadata": false
},
{
- "$id": "6925",
+ "$id": "7517",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The ID of the function call.",
"type": {
- "$id": "6926",
+ "$id": "7518",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90320,13 +97175,13 @@
"isHttpMetadata": false
},
{
- "$id": "6927",
+ "$id": "7519",
"kind": "property",
"name": "delta",
"serializedName": "delta",
"doc": "The arguments delta as a JSON string.",
"type": {
- "$id": "6928",
+ "$id": "7520",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90348,7 +97203,7 @@
]
},
"response.function_call_arguments.done": {
- "$id": "6929",
+ "$id": "7521",
"kind": "model",
"name": "RealtimeServerEventResponseFunctionCallArgumentsDone",
"namespace": "OpenAI",
@@ -90358,17 +97213,27 @@
"discriminatorValue": "response.function_call_arguments.done",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6930",
+ "$id": "7522",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `response.function_call_arguments.done`.",
"type": {
- "$ref": "1232"
+ "$id": "7523",
+ "kind": "enumvalue",
+ "name": "response_function_call_arguments_done",
+ "value": "response.function_call_arguments.done",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -90384,13 +97249,13 @@
"isHttpMetadata": false
},
{
- "$id": "6931",
+ "$id": "7524",
"kind": "property",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response.",
"type": {
- "$id": "6932",
+ "$id": "7525",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90410,13 +97275,13 @@
"isHttpMetadata": false
},
{
- "$id": "6933",
+ "$id": "7526",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the function call item.",
"type": {
- "$id": "6934",
+ "$id": "7527",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90436,13 +97301,13 @@
"isHttpMetadata": false
},
{
- "$id": "6935",
+ "$id": "7528",
"kind": "property",
"name": "output_index",
"serializedName": "output_index",
"doc": "The index of the output item in the response.",
"type": {
- "$id": "6936",
+ "$id": "7529",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90462,13 +97327,13 @@
"isHttpMetadata": false
},
{
- "$id": "6937",
+ "$id": "7530",
"kind": "property",
"name": "call_id",
"serializedName": "call_id",
"doc": "The ID of the function call.",
"type": {
- "$id": "6938",
+ "$id": "7531",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90488,13 +97353,13 @@
"isHttpMetadata": false
},
{
- "$id": "6939",
+ "$id": "7532",
"kind": "property",
"name": "arguments",
"serializedName": "arguments",
"doc": "The final arguments as a JSON string.",
"type": {
- "$id": "6940",
+ "$id": "7533",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90516,7 +97381,7 @@
]
},
"rate_limits.updated": {
- "$id": "6941",
+ "$id": "7534",
"kind": "model",
"name": "RealtimeServerEventRateLimitsUpdated",
"namespace": "OpenAI",
@@ -90526,17 +97391,27 @@
"discriminatorValue": "rate_limits.updated",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6942",
+ "$id": "7535",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `rate_limits.updated`.",
"type": {
- "$ref": "1234"
+ "$id": "7536",
+ "kind": "enumvalue",
+ "name": "rate_limits_updated",
+ "value": "rate_limits.updated",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -90552,17 +97427,17 @@
"isHttpMetadata": false
},
{
- "$id": "6943",
+ "$id": "7537",
"kind": "property",
"name": "rate_limits",
"serializedName": "rate_limits",
"doc": "List of rate limit information.",
"type": {
- "$id": "6944",
+ "$id": "7538",
"kind": "array",
"name": "ArrayRealtimeServerEventRateLimitsUpdatedRateLimitsItem",
"valueType": {
- "$id": "6945",
+ "$id": "7539",
"kind": "model",
"name": "RealtimeServerEventRateLimitsUpdatedRateLimitsItem",
"namespace": "OpenAI",
@@ -90571,13 +97446,13 @@
"decorators": [],
"properties": [
{
- "$id": "6946",
+ "$id": "7540",
"kind": "property",
"name": "name",
"serializedName": "name",
"doc": "The rate limit property name that this item includes information about.",
"type": {
- "$id": "6947",
+ "$id": "7541",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90597,13 +97472,13 @@
"isHttpMetadata": false
},
{
- "$id": "6948",
+ "$id": "7542",
"kind": "property",
"name": "limit",
"serializedName": "limit",
"doc": "The maximum configured limit for this rate limit property.",
"type": {
- "$id": "6949",
+ "$id": "7543",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90623,13 +97498,13 @@
"isHttpMetadata": false
},
{
- "$id": "6950",
+ "$id": "7544",
"kind": "property",
"name": "remaining",
"serializedName": "remaining",
"doc": "The remaining quota available against the configured limit for this rate limit property.",
"type": {
- "$id": "6951",
+ "$id": "7545",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90649,18 +97524,18 @@
"isHttpMetadata": false
},
{
- "$id": "6952",
+ "$id": "7546",
"kind": "property",
"name": "reset_seconds",
"serializedName": "reset_seconds",
"doc": "The remaining time, in seconds, until this rate limit property is reset.",
"type": {
- "$id": "6953",
+ "$id": "7547",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "6954",
+ "$id": "7548",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -90703,7 +97578,7 @@
]
},
"conversation.item.input_audio_transcription.delta": {
- "$id": "6955",
+ "$id": "7549",
"kind": "model",
"name": "RealtimeServerEventConversationItemInputAudioTranscriptionDelta",
"namespace": "OpenAI",
@@ -90713,17 +97588,27 @@
"discriminatorValue": "conversation.item.input_audio_transcription.delta",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6956",
+ "$id": "7550",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.input_audio_transcription.delta`.",
"type": {
- "$ref": "1206"
+ "$id": "7551",
+ "kind": "enumvalue",
+ "name": "conversation_item_input_audio_transcription_delta",
+ "value": "conversation.item.input_audio_transcription.delta",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -90739,13 +97624,13 @@
"isHttpMetadata": false
},
{
- "$id": "6957",
+ "$id": "7552",
"kind": "property",
"name": "item_id",
"serializedName": "item_id",
"doc": "The ID of the item.",
"type": {
- "$id": "6958",
+ "$id": "7553",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90765,13 +97650,13 @@
"isHttpMetadata": false
},
{
- "$id": "6959",
+ "$id": "7554",
"kind": "property",
"name": "content_index",
"serializedName": "content_index",
"doc": "The index of the content part in the item's content array.",
"type": {
- "$id": "6960",
+ "$id": "7555",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -90791,13 +97676,13 @@
"isHttpMetadata": false
},
{
- "$id": "6961",
+ "$id": "7556",
"kind": "property",
"name": "delta",
"serializedName": "delta",
"doc": "The text delta.",
"type": {
- "$id": "6962",
+ "$id": "7557",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90817,16 +97702,16 @@
"isHttpMetadata": false
},
{
- "$id": "6963",
+ "$id": "7558",
"kind": "property",
"name": "logprobs",
"serializedName": "logprobs",
"doc": "The log probabilities of the transcription.",
"type": {
- "$id": "6964",
+ "$id": "7559",
"kind": "nullable",
"type": {
- "$ref": "6719"
+ "$ref": "7295"
},
"namespace": "OpenAI"
},
@@ -90846,7 +97731,7 @@
]
},
"conversation.item.retrieved": {
- "$id": "6965",
+ "$id": "7560",
"kind": "model",
"name": "RealtimeServerEventConversationItemRetrieved",
"namespace": "OpenAI",
@@ -90856,17 +97741,27 @@
"discriminatorValue": "conversation.item.retrieved",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6966",
+ "$id": "7561",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `conversation.item.retrieved`.",
"type": {
- "$ref": "1209"
+ "$id": "7562",
+ "kind": "enumvalue",
+ "name": "conversation_item_retrieved",
+ "value": "conversation.item.retrieved",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -90882,12 +97777,12 @@
"isHttpMetadata": false
},
{
- "$id": "6967",
+ "$id": "7563",
"kind": "property",
"name": "item",
"serializedName": "item",
"type": {
- "$ref": "6682"
+ "$ref": "7257"
},
"optional": false,
"readOnly": false,
@@ -90905,7 +97800,7 @@
]
},
"transcription_session.updated": {
- "$id": "6968",
+ "$id": "7564",
"kind": "model",
"name": "RealtimeServerEventTranscriptionSessionUpdated",
"namespace": "OpenAI",
@@ -90915,17 +97810,27 @@
"discriminatorValue": "transcription_session.updated",
"decorators": [],
"baseModel": {
- "$ref": "6586"
+ "$ref": "7113"
},
"properties": [
{
- "$id": "6969",
+ "$id": "7565",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "The event type, must be `transcription_session.updated`.",
"type": {
- "$ref": "1233"
+ "$id": "7566",
+ "kind": "enumvalue",
+ "name": "transcription_session_updated",
+ "value": "transcription_session.updated",
+ "valueType": {
+ "$ref": "1208"
+ },
+ "enumType": {
+ "$ref": "7120"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -90941,12 +97846,12 @@
"isHttpMetadata": false
},
{
- "$id": "6970",
+ "$id": "7567",
"kind": "property",
"name": "session",
"serializedName": "session",
"type": {
- "$id": "6971",
+ "$id": "7568",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateResponse",
"namespace": "OpenAI",
@@ -90956,13 +97861,13 @@
"decorators": [],
"properties": [
{
- "$id": "6972",
+ "$id": "7569",
"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": "6973",
+ "$id": "7570",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateResponseClientSecret",
"namespace": "OpenAI",
@@ -90971,13 +97876,13 @@
"decorators": [],
"properties": [
{
- "$id": "6974",
+ "$id": "7571",
"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": "6975",
+ "$id": "7572",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -90997,18 +97902,18 @@
"isHttpMetadata": false
},
{
- "$id": "6976",
+ "$id": "7573",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.",
"type": {
- "$id": "6977",
+ "$id": "7574",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "6978",
+ "$id": "7575",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -91046,17 +97951,17 @@
"isHttpMetadata": false
},
{
- "$id": "6979",
+ "$id": "7576",
"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": "6980",
+ "$id": "7577",
"kind": "array",
"name": "Array45",
"valueType": {
- "$ref": "1262"
+ "$ref": "1274"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -91075,13 +97980,13 @@
"isHttpMetadata": false
},
{
- "$id": "6981",
+ "$id": "7578",
"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": "6982",
+ "$id": "7579",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91101,13 +98006,13 @@
"isHttpMetadata": false
},
{
- "$id": "6983",
+ "$id": "7580",
"kind": "property",
"name": "input_audio_transcription",
"serializedName": "input_audio_transcription",
"doc": "Configuration of the transcription model.",
"type": {
- "$id": "6984",
+ "$id": "7581",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscription",
"namespace": "OpenAI",
@@ -91116,13 +98021,13 @@
"decorators": [],
"properties": [
{
- "$id": "6985",
+ "$id": "7582",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for transcription. Can be `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, or `whisper-1`.",
"type": {
- "$ref": "1266"
+ "$ref": "1278"
},
"optional": true,
"readOnly": false,
@@ -91138,13 +98043,13 @@
"isHttpMetadata": false
},
{
- "$id": "6986",
+ "$id": "7583",
"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": "6987",
+ "$id": "7584",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91164,13 +98069,13 @@
"isHttpMetadata": false
},
{
- "$id": "6988",
+ "$id": "7585",
"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": "6989",
+ "$id": "7586",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91205,13 +98110,13 @@
"isHttpMetadata": false
},
{
- "$id": "6990",
+ "$id": "7587",
"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": "6991",
+ "$id": "7588",
"kind": "model",
"name": "RealtimeTranscriptionSessionCreateResponseTurnDetection",
"namespace": "OpenAI",
@@ -91220,13 +98125,13 @@
"decorators": [],
"properties": [
{
- "$id": "6992",
+ "$id": "7589",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Type of turn detection, only `server_vad` is currently supported.",
"type": {
- "$id": "6993",
+ "$id": "7590",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91246,13 +98151,13 @@
"isHttpMetadata": false
},
{
- "$id": "6994",
+ "$id": "7591",
"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": "6995",
+ "$id": "7592",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -91272,13 +98177,13 @@
"isHttpMetadata": false
},
{
- "$id": "6996",
+ "$id": "7593",
"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": "6997",
+ "$id": "7594",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -91298,13 +98203,13 @@
"isHttpMetadata": false
},
{
- "$id": "6998",
+ "$id": "7595",
"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": "6999",
+ "$id": "7596",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -91358,169 +98263,169 @@
}
},
{
- "$ref": "6590"
+ "$ref": "7117"
},
{
- "$ref": "6593"
+ "$ref": "7157"
},
{
- "$ref": "6607"
+ "$ref": "7171"
},
{
- "$ref": "6610"
+ "$ref": "7175"
},
{
- "$ref": "6634"
+ "$ref": "7199"
},
{
- "$ref": "6637"
+ "$ref": "7203"
},
{
- "$ref": "6640"
+ "$ref": "7207"
},
{
- "$ref": "6645"
+ "$ref": "7212"
},
{
- "$ref": "6651"
+ "$ref": "7219"
},
{
- "$ref": "6653"
+ "$ref": "7222"
},
{
- "$ref": "6659"
+ "$ref": "7229"
},
{
- "$ref": "6665"
+ "$ref": "7236"
},
{
- "$ref": "6669"
+ "$ref": "7241"
},
{
- "$ref": "6673"
+ "$ref": "7246"
},
{
- "$ref": "6677"
+ "$ref": "7251"
},
{
- "$ref": "6682"
+ "$ref": "7257"
},
{
- "$ref": "6688"
+ "$ref": "7263"
},
{
- "$ref": "6694"
+ "$ref": "7269"
},
{
- "$ref": "6703"
+ "$ref": "7278"
},
{
- "$ref": "6709"
+ "$ref": "7284"
},
{
- "$ref": "6720"
+ "$ref": "7296"
},
{
- "$ref": "6726"
+ "$ref": "7302"
},
{
- "$ref": "6733"
+ "$ref": "7310"
},
{
- "$ref": "6742"
+ "$ref": "7319"
},
{
- "$ref": "6750"
+ "$ref": "7328"
},
{
- "$ref": "6754"
+ "$ref": "7333"
},
{
- "$ref": "6757"
+ "$ref": "7337"
},
{
- "$ref": "6763"
+ "$ref": "7343"
},
{
- "$ref": "6767"
+ "$ref": "7347"
},
{
- "$ref": "6776"
+ "$ref": "7356"
},
{
- "$ref": "6784"
+ "$ref": "7364"
},
{
- "$ref": "6792"
+ "$ref": "7372"
},
{
- "$ref": "6808"
+ "$ref": "7388"
},
{
- "$ref": "6811"
+ "$ref": "7392"
},
{
- "$ref": "6818"
+ "$ref": "7400"
},
{
- "$ref": "6825"
+ "$ref": "7408"
},
{
- "$ref": "6836"
+ "$ref": "7420"
},
{
- "$ref": "6847"
+ "$ref": "7432"
},
{
- "$ref": "6859"
+ "$ref": "7445"
},
{
- "$ref": "6871"
+ "$ref": "7458"
},
{
- "$ref": "6883"
+ "$ref": "7471"
},
{
- "$ref": "6895"
+ "$ref": "7484"
},
{
- "$ref": "6907"
+ "$ref": "7497"
},
{
- "$ref": "6917"
+ "$ref": "7508"
},
{
- "$ref": "6929"
+ "$ref": "7521"
},
{
- "$ref": "6941"
+ "$ref": "7534"
},
{
- "$ref": "6945"
+ "$ref": "7539"
},
{
- "$ref": "6955"
+ "$ref": "7549"
},
{
- "$ref": "6965"
+ "$ref": "7560"
},
{
- "$ref": "6968"
+ "$ref": "7564"
},
{
- "$ref": "6971"
+ "$ref": "7568"
},
{
- "$ref": "6973"
+ "$ref": "7570"
},
{
- "$ref": "6984"
+ "$ref": "7581"
},
{
- "$ref": "6991"
+ "$ref": "7588"
},
{
- "$id": "7000",
+ "$id": "7597",
"kind": "model",
"name": "RealtimeSessionCreateRequest",
"namespace": "OpenAI",
@@ -91530,13 +98435,13 @@
"decorators": [],
"properties": [
{
- "$id": "7001",
+ "$id": "7598",
"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": "6365"
+ "$ref": "6840"
},
"optional": true,
"readOnly": false,
@@ -91552,13 +98457,13 @@
"isHttpMetadata": false
},
{
- "$id": "7002",
+ "$id": "7599",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The Realtime model used for this session.",
"type": {
- "$ref": "1271"
+ "$ref": "1283"
},
"optional": true,
"readOnly": false,
@@ -91574,13 +98479,13 @@
"isHttpMetadata": false
},
{
- "$id": "7003",
+ "$id": "7600",
"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": "7004",
+ "$id": "7601",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91600,7 +98505,7 @@
"isHttpMetadata": false
},
{
- "$id": "7005",
+ "$id": "7602",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -91622,13 +98527,13 @@
"isHttpMetadata": false
},
{
- "$id": "7006",
+ "$id": "7603",
"kind": "property",
"name": "input_audio_format",
"serializedName": "input_audio_format",
"doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate,\nsingle channel (mono), and little-endian byte order.",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": true,
"readOnly": false,
@@ -91644,13 +98549,13 @@
"isHttpMetadata": false
},
{
- "$id": "7007",
+ "$id": "7604",
"kind": "property",
"name": "output_audio_format",
"serializedName": "output_audio_format",
"doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.\nFor `pcm16`, output audio is sampled at a rate of 24kHz.",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": true,
"readOnly": false,
@@ -91666,13 +98571,13 @@
"isHttpMetadata": false
},
{
- "$id": "7008",
+ "$id": "7605",
"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": "7009",
+ "$id": "7606",
"kind": "model",
"name": "RealtimeSessionCreateRequestInputAudioTranscription",
"namespace": "OpenAI",
@@ -91681,13 +98586,13 @@
"decorators": [],
"properties": [
{
- "$id": "7010",
+ "$id": "7607",
"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": "7011",
+ "$id": "7608",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91707,13 +98612,13 @@
"isHttpMetadata": false
},
{
- "$id": "7012",
+ "$id": "7609",
"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": "7013",
+ "$id": "7610",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91733,13 +98638,13 @@
"isHttpMetadata": false
},
{
- "$id": "7014",
+ "$id": "7611",
"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": "7015",
+ "$id": "7612",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -91774,13 +98679,13 @@
"isHttpMetadata": false
},
{
- "$id": "7016",
+ "$id": "7613",
"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": "7017",
+ "$id": "7614",
"kind": "model",
"name": "RealtimeSessionCreateRequestTurnDetection",
"namespace": "OpenAI",
@@ -91789,13 +98694,13 @@
"decorators": [],
"properties": [
{
- "$id": "7018",
+ "$id": "7615",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Type of turn detection.",
"type": {
- "$ref": "1279"
+ "$ref": "1291"
},
"optional": true,
"readOnly": false,
@@ -91811,13 +98716,13 @@
"isHttpMetadata": false
},
{
- "$id": "7019",
+ "$id": "7616",
"kind": "property",
"name": "eagerness",
"serializedName": "eagerness",
"doc": "Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`.",
"type": {
- "$ref": "1283"
+ "$ref": "1295"
},
"optional": true,
"readOnly": false,
@@ -91833,13 +98738,13 @@
"isHttpMetadata": false
},
{
- "$id": "7020",
+ "$id": "7617",
"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": "7021",
+ "$id": "7618",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -91859,13 +98764,13 @@
"isHttpMetadata": false
},
{
- "$id": "7022",
+ "$id": "7619",
"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": "7023",
+ "$id": "7620",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -91885,13 +98790,13 @@
"isHttpMetadata": false
},
{
- "$id": "7024",
+ "$id": "7621",
"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": "7025",
+ "$id": "7622",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -91911,13 +98816,13 @@
"isHttpMetadata": false
},
{
- "$id": "7026",
+ "$id": "7623",
"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": "7027",
+ "$id": "7624",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -91937,13 +98842,13 @@
"isHttpMetadata": false
},
{
- "$id": "7028",
+ "$id": "7625",
"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": "7029",
+ "$id": "7626",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -91978,16 +98883,16 @@
"isHttpMetadata": false
},
{
- "$id": "7030",
+ "$id": "7627",
"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": "7031",
+ "$id": "7628",
"kind": "nullable",
"type": {
- "$id": "7032",
+ "$id": "7629",
"kind": "model",
"name": "RealtimeSessionCreateRequestInputAudioNoiseReduction1",
"namespace": "OpenAI",
@@ -91996,13 +98901,13 @@
"decorators": [],
"properties": [
{
- "$id": "7033",
+ "$id": "7630",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.",
"type": {
- "$ref": "1289"
+ "$ref": "1301"
},
"optional": true,
"readOnly": false,
@@ -92035,13 +98940,13 @@
"isHttpMetadata": false
},
{
- "$id": "7034",
+ "$id": "7631",
"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": "7035",
+ "$id": "7632",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -92061,21 +98966,21 @@
"isHttpMetadata": false
},
{
- "$id": "7036",
+ "$id": "7633",
"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": "7037",
+ "$id": "7634",
"kind": "union",
"name": "RealtimeSessionCreateRequestTracing",
"variantTypes": [
{
- "$ref": "1709"
+ "$ref": "1735"
},
{
- "$id": "7038",
+ "$id": "7635",
"kind": "model",
"name": "RealtimeSessionCreateRequestTracing1",
"namespace": "OpenAI",
@@ -92084,13 +98989,13 @@
"decorators": [],
"properties": [
{
- "$id": "7039",
+ "$id": "7636",
"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": "7040",
+ "$id": "7637",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92110,13 +99015,13 @@
"isHttpMetadata": false
},
{
- "$id": "7041",
+ "$id": "7638",
"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": "7042",
+ "$id": "7639",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92136,13 +99041,13 @@
"isHttpMetadata": false
},
{
- "$id": "7043",
+ "$id": "7640",
"kind": "property",
"name": "metadata",
"serializedName": "metadata",
"doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.",
"type": {
- "$id": "7044",
+ "$id": "7641",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -92181,13 +99086,13 @@
"isHttpMetadata": false
},
{
- "$id": "7045",
+ "$id": "7642",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "Tools (functions) available to the model.",
"type": {
- "$ref": "6409"
+ "$ref": "6896"
},
"optional": true,
"readOnly": false,
@@ -92203,13 +99108,13 @@
"isHttpMetadata": false
},
{
- "$id": "7046",
+ "$id": "7643",
"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": "7047",
+ "$id": "7644",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92229,13 +99134,13 @@
"isHttpMetadata": false
},
{
- "$id": "7048",
+ "$id": "7645",
"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": "7049",
+ "$id": "7646",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -92255,25 +99160,25 @@
"isHttpMetadata": false
},
{
- "$id": "7050",
+ "$id": "7647",
"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": "7051",
+ "$id": "7648",
"kind": "union",
"name": "RealtimeSessionCreateRequestMaxResponseOutputTokens",
"variantTypes": [
{
- "$id": "7052",
+ "$id": "7649",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
"decorators": []
},
{
- "$ref": "1711"
+ "$ref": "1737"
}
],
"namespace": "OpenAI",
@@ -92293,13 +99198,13 @@
"isHttpMetadata": false
},
{
- "$id": "7053",
+ "$id": "7650",
"kind": "property",
"name": "client_secret",
"serializedName": "client_secret",
"doc": "Configuration options for the generated client secret.",
"type": {
- "$id": "7054",
+ "$id": "7651",
"kind": "model",
"name": "RealtimeSessionCreateRequestClientSecret",
"namespace": "OpenAI",
@@ -92308,13 +99213,13 @@
"decorators": [],
"properties": [
{
- "$id": "7055",
+ "$id": "7652",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "Configuration for the ephemeral token expiration.",
"type": {
- "$id": "7056",
+ "$id": "7653",
"kind": "model",
"name": "RealtimeSessionCreateRequestClientSecretExpiresAt",
"namespace": "OpenAI",
@@ -92323,13 +99228,13 @@
"decorators": [],
"properties": [
{
- "$id": "7057",
+ "$id": "7654",
"kind": "property",
"name": "anchor",
"serializedName": "anchor",
"doc": "The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.",
"type": {
- "$ref": "1713"
+ "$ref": "1305"
},
"optional": true,
"readOnly": false,
@@ -92345,13 +99250,13 @@
"isHttpMetadata": false
},
{
- "$id": "7058",
+ "$id": "7655",
"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": "7059",
+ "$id": "7656",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -92403,25 +99308,25 @@
]
},
{
- "$ref": "7009"
+ "$ref": "7606"
},
{
- "$ref": "7017"
+ "$ref": "7614"
},
{
- "$ref": "7032"
+ "$ref": "7629"
},
{
- "$ref": "7038"
+ "$ref": "7635"
},
{
- "$ref": "7054"
+ "$ref": "7651"
},
{
- "$ref": "7056"
+ "$ref": "7653"
},
{
- "$id": "7060",
+ "$id": "7657",
"kind": "model",
"name": "RealtimeSessionCreateResponse",
"namespace": "OpenAI",
@@ -92431,13 +99336,13 @@
"decorators": [],
"properties": [
{
- "$id": "7061",
+ "$id": "7658",
"kind": "property",
"name": "client_secret",
"serializedName": "client_secret",
"doc": "Ephemeral key returned by the API.",
"type": {
- "$id": "7062",
+ "$id": "7659",
"kind": "model",
"name": "RealtimeSessionCreateResponseClientSecret",
"namespace": "OpenAI",
@@ -92446,13 +99351,13 @@
"decorators": [],
"properties": [
{
- "$id": "7063",
+ "$id": "7660",
"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": "7064",
+ "$id": "7661",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92472,18 +99377,18 @@
"isHttpMetadata": false
},
{
- "$id": "7065",
+ "$id": "7662",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.",
"type": {
- "$id": "7066",
+ "$id": "7663",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "7067",
+ "$id": "7664",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -92521,13 +99426,13 @@
"isHttpMetadata": false
},
{
- "$id": "7068",
+ "$id": "7665",
"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": "6365"
+ "$ref": "6840"
},
"optional": true,
"readOnly": false,
@@ -92543,13 +99448,13 @@
"isHttpMetadata": false
},
{
- "$id": "7069",
+ "$id": "7666",
"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": "7070",
+ "$id": "7667",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92569,7 +99474,7 @@
"isHttpMetadata": false
},
{
- "$id": "7071",
+ "$id": "7668",
"kind": "property",
"name": "voice",
"serializedName": "voice",
@@ -92591,13 +99496,13 @@
"isHttpMetadata": false
},
{
- "$id": "7072",
+ "$id": "7669",
"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": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": true,
"readOnly": false,
@@ -92613,13 +99518,13 @@
"isHttpMetadata": false
},
{
- "$id": "7073",
+ "$id": "7670",
"kind": "property",
"name": "output_audio_format",
"serializedName": "output_audio_format",
"doc": "The format of output audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.",
"type": {
- "$ref": "1116"
+ "$ref": "1120"
},
"optional": true,
"readOnly": false,
@@ -92635,13 +99540,13 @@
"isHttpMetadata": false
},
{
- "$id": "7074",
+ "$id": "7671",
"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": "7075",
+ "$id": "7672",
"kind": "model",
"name": "RealtimeSessionCreateResponseInputAudioTranscription",
"namespace": "OpenAI",
@@ -92650,13 +99555,13 @@
"decorators": [],
"properties": [
{
- "$id": "7076",
+ "$id": "7673",
"kind": "property",
"name": "model",
"serializedName": "model",
"doc": "The model to use for transcription, `whisper-1` is the only currently\nsupported model.",
"type": {
- "$id": "7077",
+ "$id": "7674",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92691,13 +99596,13 @@
"isHttpMetadata": false
},
{
- "$id": "7078",
+ "$id": "7675",
"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": "7079",
+ "$id": "7676",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -92717,21 +99622,21 @@
"isHttpMetadata": false
},
{
- "$id": "7080",
+ "$id": "7677",
"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": "7081",
+ "$id": "7678",
"kind": "union",
"name": "RealtimeSessionCreateResponseTracing",
"variantTypes": [
{
- "$ref": "1715"
+ "$ref": "1739"
},
{
- "$id": "7082",
+ "$id": "7679",
"kind": "model",
"name": "RealtimeSessionCreateResponseTracing1",
"namespace": "OpenAI",
@@ -92740,13 +99645,13 @@
"decorators": [],
"properties": [
{
- "$id": "7083",
+ "$id": "7680",
"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": "7084",
+ "$id": "7681",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92766,13 +99671,13 @@
"isHttpMetadata": false
},
{
- "$id": "7085",
+ "$id": "7682",
"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": "7086",
+ "$id": "7683",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92792,13 +99697,13 @@
"isHttpMetadata": false
},
{
- "$id": "7087",
+ "$id": "7684",
"kind": "property",
"name": "metadata",
"serializedName": "metadata",
"doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.",
"type": {
- "$id": "7088",
+ "$id": "7685",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -92837,13 +99742,13 @@
"isHttpMetadata": false
},
{
- "$id": "7089",
+ "$id": "7686",
"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": "7090",
+ "$id": "7687",
"kind": "model",
"name": "RealtimeSessionCreateResponseTurnDetection",
"namespace": "OpenAI",
@@ -92852,13 +99757,13 @@
"decorators": [],
"properties": [
{
- "$id": "7091",
+ "$id": "7688",
"kind": "property",
"name": "type",
"serializedName": "type",
"doc": "Type of turn detection, only `server_vad` is currently supported.",
"type": {
- "$id": "7092",
+ "$id": "7689",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -92878,13 +99783,13 @@
"isHttpMetadata": false
},
{
- "$id": "7093",
+ "$id": "7690",
"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": "7094",
+ "$id": "7691",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -92904,13 +99809,13 @@
"isHttpMetadata": false
},
{
- "$id": "7095",
+ "$id": "7692",
"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": "7096",
+ "$id": "7693",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -92930,13 +99835,13 @@
"isHttpMetadata": false
},
{
- "$id": "7097",
+ "$id": "7694",
"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": "7098",
+ "$id": "7695",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -92971,13 +99876,13 @@
"isHttpMetadata": false
},
{
- "$id": "7099",
+ "$id": "7696",
"kind": "property",
"name": "tools",
"serializedName": "tools",
"doc": "Tools (functions) available to the model.",
"type": {
- "$ref": "6409"
+ "$ref": "6896"
},
"optional": true,
"readOnly": false,
@@ -92993,13 +99898,13 @@
"isHttpMetadata": false
},
{
- "$id": "7100",
+ "$id": "7697",
"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": "7101",
+ "$id": "7698",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93019,13 +99924,13 @@
"isHttpMetadata": false
},
{
- "$id": "7102",
+ "$id": "7699",
"kind": "property",
"name": "temperature",
"serializedName": "temperature",
"doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.",
"type": {
- "$id": "7103",
+ "$id": "7700",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -93045,25 +99950,25 @@
"isHttpMetadata": false
},
{
- "$id": "7104",
+ "$id": "7701",
"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": "7105",
+ "$id": "7702",
"kind": "union",
"name": "RealtimeSessionCreateResponseMaxResponseOutputTokens",
"variantTypes": [
{
- "$id": "7106",
+ "$id": "7703",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
"decorators": []
},
{
- "$ref": "1717"
+ "$ref": "1741"
}
],
"namespace": "OpenAI",
@@ -93085,19 +99990,19 @@
]
},
{
- "$ref": "7062"
+ "$ref": "7659"
},
{
- "$ref": "7075"
+ "$ref": "7672"
},
{
- "$ref": "7082"
+ "$ref": "7679"
},
{
- "$ref": "7090"
+ "$ref": "7687"
},
{
- "$id": "7107",
+ "$id": "7704",
"kind": "model",
"name": "CreateUploadRequest",
"namespace": "OpenAI",
@@ -93106,13 +100011,13 @@
"decorators": [],
"properties": [
{
- "$id": "7108",
+ "$id": "7705",
"kind": "property",
"name": "filename",
"serializedName": "filename",
"doc": "The name of the file to upload.",
"type": {
- "$id": "7109",
+ "$id": "7706",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93132,13 +100037,13 @@
"isHttpMetadata": false
},
{
- "$id": "7110",
+ "$id": "7707",
"kind": "property",
"name": "purpose",
"serializedName": "purpose",
"doc": "The intended purpose of the uploaded file.\n\nSee the [documentation on File purposes](/docs/api-reference/files/create#files-create-purpose).",
"type": {
- "$ref": "1293"
+ "$ref": "1309"
},
"optional": false,
"readOnly": false,
@@ -93154,13 +100059,13 @@
"isHttpMetadata": false
},
{
- "$id": "7111",
+ "$id": "7708",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "The number of bytes in the file you are uploading.",
"type": {
- "$id": "7112",
+ "$id": "7709",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -93180,13 +100085,13 @@
"isHttpMetadata": false
},
{
- "$id": "7113",
+ "$id": "7710",
"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": "7114",
+ "$id": "7711",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93208,7 +100113,7 @@
]
},
{
- "$id": "7115",
+ "$id": "7712",
"kind": "model",
"name": "Upload",
"namespace": "OpenAI",
@@ -93218,13 +100123,13 @@
"decorators": [],
"properties": [
{
- "$id": "7116",
+ "$id": "7713",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The Upload unique identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "7117",
+ "$id": "7714",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93244,18 +100149,18 @@
"isHttpMetadata": false
},
{
- "$id": "7118",
+ "$id": "7715",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the Upload was created.",
"type": {
- "$id": "7119",
+ "$id": "7716",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "7120",
+ "$id": "7717",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -93278,13 +100183,13 @@
"isHttpMetadata": false
},
{
- "$id": "7121",
+ "$id": "7718",
"kind": "property",
"name": "filename",
"serializedName": "filename",
"doc": "The name of the file to be uploaded.",
"type": {
- "$id": "7122",
+ "$id": "7719",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93304,13 +100209,13 @@
"isHttpMetadata": false
},
{
- "$id": "7123",
+ "$id": "7720",
"kind": "property",
"name": "bytes",
"serializedName": "bytes",
"doc": "The intended number of bytes to be uploaded.",
"type": {
- "$id": "7124",
+ "$id": "7721",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -93330,13 +100235,13 @@
"isHttpMetadata": false
},
{
- "$id": "7125",
+ "$id": "7722",
"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": "7126",
+ "$id": "7723",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93356,13 +100261,13 @@
"isHttpMetadata": false
},
{
- "$id": "7127",
+ "$id": "7724",
"kind": "property",
"name": "status",
"serializedName": "status",
"doc": "The status of the Upload.",
"type": {
- "$ref": "1299"
+ "$ref": "1315"
},
"optional": false,
"readOnly": false,
@@ -93378,18 +100283,18 @@
"isHttpMetadata": false
},
{
- "$id": "7128",
+ "$id": "7725",
"kind": "property",
"name": "expires_at",
"serializedName": "expires_at",
"doc": "The Unix timestamp (in seconds) for when the Upload will expire.",
"type": {
- "$id": "7129",
+ "$id": "7726",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "7130",
+ "$id": "7727",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -93412,13 +100317,13 @@
"isHttpMetadata": false
},
{
- "$id": "7131",
+ "$id": "7728",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always \"upload\".",
"type": {
- "$ref": "1719"
+ "$ref": "1321"
},
"optional": true,
"readOnly": false,
@@ -93434,15 +100339,15 @@
"isHttpMetadata": false
},
{
- "$id": "7132",
+ "$id": "7729",
"kind": "property",
"name": "file",
"serializedName": "file",
"type": {
- "$id": "7133",
+ "$id": "7730",
"kind": "nullable",
"type": {
- "$ref": "3302"
+ "$ref": "3379"
},
"namespace": "OpenAI"
},
@@ -93462,7 +100367,7 @@
]
},
{
- "$id": "7134",
+ "$id": "7731",
"kind": "model",
"name": "AddUploadPartRequest",
"namespace": "OpenAI",
@@ -93471,13 +100376,13 @@
"decorators": [],
"properties": [
{
- "$id": "7135",
+ "$id": "7732",
"kind": "property",
"name": "data",
"serializedName": "data",
"doc": "The chunk of bytes for this Part.",
"type": {
- "$id": "7136",
+ "$id": "7733",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -93506,7 +100411,7 @@
]
},
{
- "$id": "7137",
+ "$id": "7734",
"kind": "model",
"name": "UploadPart",
"namespace": "OpenAI",
@@ -93516,13 +100421,13 @@
"decorators": [],
"properties": [
{
- "$id": "7138",
+ "$id": "7735",
"kind": "property",
"name": "id",
"serializedName": "id",
"doc": "The upload Part unique identifier, which can be referenced in API endpoints.",
"type": {
- "$id": "7139",
+ "$id": "7736",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93542,18 +100447,18 @@
"isHttpMetadata": false
},
{
- "$id": "7140",
+ "$id": "7737",
"kind": "property",
"name": "created_at",
"serializedName": "created_at",
"doc": "The Unix timestamp (in seconds) for when the Part was created.",
"type": {
- "$id": "7141",
+ "$id": "7738",
"kind": "utcDateTime",
"name": "utcDateTime",
"encode": "unixTimestamp",
"wireType": {
- "$id": "7142",
+ "$id": "7739",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -93576,13 +100481,13 @@
"isHttpMetadata": false
},
{
- "$id": "7143",
+ "$id": "7740",
"kind": "property",
"name": "upload_id",
"serializedName": "upload_id",
"doc": "The ID of the Upload object that this Part was added to.",
"type": {
- "$id": "7144",
+ "$id": "7741",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93602,13 +100507,13 @@
"isHttpMetadata": false
},
{
- "$id": "7145",
+ "$id": "7742",
"kind": "property",
"name": "object",
"serializedName": "object",
"doc": "The object type, which is always `upload.part`.",
"type": {
- "$ref": "1721"
+ "$ref": "1743"
},
"optional": false,
"readOnly": false,
@@ -93626,7 +100531,7 @@
]
},
{
- "$id": "7146",
+ "$id": "7743",
"kind": "model",
"name": "CompleteUploadRequest",
"namespace": "OpenAI",
@@ -93635,13 +100540,13 @@
"decorators": [],
"properties": [
{
- "$id": "7147",
+ "$id": "7744",
"kind": "property",
"name": "part_ids",
"serializedName": "part_ids",
"doc": "The ordered list of Part IDs.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"optional": false,
"readOnly": false,
@@ -93657,13 +100562,13 @@
"isHttpMetadata": false
},
{
- "$id": "7148",
+ "$id": "7745",
"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": "7149",
+ "$id": "7746",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93685,7 +100590,7 @@
]
},
{
- "$id": "7150",
+ "$id": "7747",
"kind": "model",
"name": "BatchRequestInput",
"namespace": "OpenAI",
@@ -93696,12 +100601,12 @@
"decorators": [],
"properties": [
{
- "$id": "7151",
+ "$id": "7748",
"kind": "property",
"name": "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": "7152",
+ "$id": "7749",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93717,12 +100622,12 @@
"isHttpMetadata": false
},
{
- "$id": "7153",
+ "$id": "7750",
"kind": "property",
"name": "method",
"doc": "The HTTP method to be used for the request. Currently only `POST` is supported.",
"type": {
- "$ref": "1723"
+ "$ref": "1325"
},
"optional": true,
"readOnly": false,
@@ -93734,12 +100639,12 @@
"isHttpMetadata": false
},
{
- "$id": "7154",
+ "$id": "7751",
"kind": "property",
"name": "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": "7155",
+ "$id": "7752",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -93757,7 +100662,7 @@
]
},
{
- "$id": "7156",
+ "$id": "7753",
"kind": "model",
"name": "BatchRequestOutput",
"namespace": "OpenAI",
@@ -93768,11 +100673,11 @@
"decorators": [],
"properties": [
{
- "$id": "7157",
+ "$id": "7754",
"kind": "property",
"name": "id",
"type": {
- "$id": "7158",
+ "$id": "7755",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93788,12 +100693,12 @@
"isHttpMetadata": false
},
{
- "$id": "7159",
+ "$id": "7756",
"kind": "property",
"name": "custom_id",
"doc": "A developer-provided per-request id that will be used to match outputs to inputs.",
"type": {
- "$id": "7160",
+ "$id": "7757",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93809,14 +100714,14 @@
"isHttpMetadata": false
},
{
- "$id": "7161",
+ "$id": "7758",
"kind": "property",
"name": "response",
"type": {
- "$id": "7162",
+ "$id": "7759",
"kind": "nullable",
"type": {
- "$id": "7163",
+ "$id": "7760",
"kind": "model",
"name": "BatchRequestOutputResponse1",
"namespace": "OpenAI",
@@ -93825,12 +100730,12 @@
"decorators": [],
"properties": [
{
- "$id": "7164",
+ "$id": "7761",
"kind": "property",
"name": "status_code",
"doc": "The HTTP status code of the response",
"type": {
- "$id": "7165",
+ "$id": "7762",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -93846,12 +100751,12 @@
"isHttpMetadata": false
},
{
- "$id": "7166",
+ "$id": "7763",
"kind": "property",
"name": "request_id",
"doc": "An unique identifier for the OpenAI API request. Please include this request ID when contacting support.",
"type": {
- "$id": "7167",
+ "$id": "7764",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93867,12 +100772,12 @@
"isHttpMetadata": false
},
{
- "$id": "7168",
+ "$id": "7765",
"kind": "property",
"name": "body",
"doc": "The JSON body of the response",
"type": {
- "$ref": "3769"
+ "$ref": "3879"
},
"optional": true,
"readOnly": false,
@@ -93897,15 +100802,15 @@
"isHttpMetadata": false
},
{
- "$id": "7169",
+ "$id": "7766",
"kind": "property",
"name": "error",
"doc": "For requests that failed with a non-HTTP error, this will contain more information on the cause of the failure.",
"type": {
- "$id": "7170",
+ "$id": "7767",
"kind": "nullable",
"type": {
- "$id": "7171",
+ "$id": "7768",
"kind": "model",
"name": "BatchRequestOutputError1",
"namespace": "OpenAI",
@@ -93914,12 +100819,12 @@
"decorators": [],
"properties": [
{
- "$id": "7172",
+ "$id": "7769",
"kind": "property",
"name": "code",
"doc": "A machine-readable error code.",
"type": {
- "$id": "7173",
+ "$id": "7770",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93935,12 +100840,12 @@
"isHttpMetadata": false
},
{
- "$id": "7174",
+ "$id": "7771",
"kind": "property",
"name": "message",
"doc": "A human-readable error message.",
"type": {
- "$id": "7175",
+ "$id": "7772",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -93971,13 +100876,13 @@
]
},
{
- "$ref": "7163"
+ "$ref": "7760"
},
{
- "$ref": "7171"
+ "$ref": "7768"
},
{
- "$id": "7176",
+ "$id": "7773",
"kind": "model",
"name": "ChatCompletionFunctionChoice",
"namespace": "OpenAI",
@@ -93988,7 +100893,7 @@
"properties": []
},
{
- "$id": "7177",
+ "$id": "7774",
"kind": "model",
"name": "ChatCompletionToolChoice",
"namespace": "OpenAI",
@@ -93999,7 +100904,7 @@
"properties": []
},
{
- "$id": "7178",
+ "$id": "7775",
"kind": "model",
"name": "FineTuneChatCompletionRequestAssistantMessage",
"namespace": "OpenAI",
@@ -94008,12 +100913,12 @@
"decorators": [],
"properties": [
{
- "$id": "7179",
+ "$id": "7776",
"kind": "property",
"name": "weight",
"doc": "Controls whether the assistant message is trained against (0 or 1)",
"type": {
- "$ref": "1305"
+ "$ref": "1329"
},
"optional": true,
"readOnly": false,
@@ -94025,12 +100930,12 @@
"isHttpMetadata": false
},
{
- "$id": "7180",
+ "$id": "7777",
"kind": "property",
"name": "content",
"doc": "The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.",
"type": {
- "$ref": "2936"
+ "$ref": "3006"
},
"optional": true,
"readOnly": false,
@@ -94042,12 +100947,12 @@
"isHttpMetadata": false
},
{
- "$id": "7181",
+ "$id": "7778",
"kind": "property",
"name": "refusal",
"doc": "The refusal message by the assistant.",
"type": {
- "$ref": "2942"
+ "$ref": "3012"
},
"optional": true,
"readOnly": false,
@@ -94059,20 +100964,20 @@
"isHttpMetadata": false
},
{
- "$id": "7182",
+ "$id": "7779",
"kind": "property",
"name": "role",
"doc": "The role of the messages author, in this case `assistant`.",
"type": {
- "$id": "7183",
+ "$id": "7780",
"kind": "enumvalue",
"name": "assistant",
"value": "assistant",
"valueType": {
- "$ref": "147"
+ "$ref": "154"
},
"enumType": {
- "$ref": "146"
+ "$ref": "2820"
},
"decorators": []
},
@@ -94086,12 +100991,12 @@
"isHttpMetadata": false
},
{
- "$id": "7184",
+ "$id": "7781",
"kind": "property",
"name": "name",
"doc": "An optional name for the participant. Provides the model information to differentiate between participants of the same role.",
"type": {
- "$id": "7185",
+ "$id": "7782",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94107,12 +101012,12 @@
"isHttpMetadata": false
},
{
- "$id": "7186",
+ "$id": "7783",
"kind": "property",
"name": "audio",
"doc": "Data about a previous audio response from the model.\n[Learn more](/docs/guides/audio).",
"type": {
- "$ref": "2949"
+ "$ref": "3019"
},
"optional": true,
"readOnly": false,
@@ -94124,11 +101029,11 @@
"isHttpMetadata": false
},
{
- "$id": "7187",
+ "$id": "7784",
"kind": "property",
"name": "tool_calls",
"type": {
- "$ref": "2742"
+ "$ref": "2789"
},
"optional": true,
"readOnly": false,
@@ -94140,12 +101045,12 @@
"isHttpMetadata": false
},
{
- "$id": "7188",
+ "$id": "7785",
"kind": "property",
"name": "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": "2955"
+ "$ref": "3025"
},
"optional": true,
"readOnly": false,
@@ -94159,7 +101064,7 @@
]
},
{
- "$id": "7189",
+ "$id": "7786",
"kind": "model",
"name": "FineTuneChatRequestInput",
"namespace": "OpenAI",
@@ -94170,32 +101075,32 @@
"decorators": [],
"properties": [
{
- "$id": "7190",
+ "$id": "7787",
"kind": "property",
"name": "messages",
"type": {
- "$id": "7191",
+ "$id": "7788",
"kind": "array",
"name": "Array46",
"valueType": {
- "$id": "7192",
+ "$id": "7789",
"kind": "union",
"name": "FineTuneChatRequestInputMessage",
"variantTypes": [
{
- "$ref": "2905"
+ "$ref": "2975"
},
{
- "$ref": "2924"
+ "$ref": "2994"
},
{
- "$ref": "7178"
+ "$ref": "7775"
},
{
- "$ref": "2961"
+ "$ref": "3031"
},
{
- "$ref": "2971"
+ "$ref": "3041"
}
],
"namespace": "OpenAI",
@@ -94214,12 +101119,12 @@
"isHttpMetadata": false
},
{
- "$id": "7193",
+ "$id": "7790",
"kind": "property",
"name": "tools",
"doc": "A list of tools the model may generate JSON inputs for.",
"type": {
- "$ref": "3062"
+ "$ref": "3136"
},
"optional": true,
"readOnly": false,
@@ -94231,16 +101136,16 @@
"isHttpMetadata": false
},
{
- "$id": "7194",
+ "$id": "7791",
"kind": "property",
"name": "parallel_tool_calls",
"type": {
- "$id": "7195",
+ "$id": "7792",
"kind": "boolean",
"name": "ParallelToolCalls",
"crossLanguageDefinitionId": "OpenAI.ParallelToolCalls",
"baseType": {
- "$id": "7196",
+ "$id": "7793",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -94258,12 +101163,12 @@
"isHttpMetadata": false
},
{
- "$id": "7197",
+ "$id": "7794",
"kind": "property",
"name": "functions",
"doc": "A list of functions the model may generate JSON inputs for.",
"type": {
- "$ref": "3084"
+ "$ref": "3161"
},
"optional": true,
"readOnly": false,
@@ -94277,7 +101182,7 @@
]
},
{
- "$id": "7198",
+ "$id": "7795",
"kind": "model",
"name": "FineTuningJobsPageToken",
"namespace": "OpenAI",
@@ -94287,11 +101192,11 @@
"decorators": [],
"properties": [
{
- "$id": "7199",
+ "$id": "7796",
"kind": "property",
"name": "limit",
"type": {
- "$id": "7200",
+ "$id": "7797",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94307,11 +101212,11 @@
"isHttpMetadata": false
},
{
- "$id": "7201",
+ "$id": "7798",
"kind": "property",
"name": "after",
"type": {
- "$id": "7202",
+ "$id": "7799",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94329,7 +101234,7 @@
]
},
{
- "$id": "7203",
+ "$id": "7800",
"kind": "model",
"name": "MessageDeltaContent",
"namespace": "OpenAI",
@@ -94339,12 +101244,12 @@
"doc": "Represents a single piece of incremental content in an Assistants API streaming response.",
"decorators": [],
"discriminatorProperty": {
- "$id": "7204",
+ "$id": "7801",
"kind": "property",
"name": "type",
"doc": "The discriminated type identifier for the content item.",
"type": {
- "$ref": "903"
+ "$ref": "917"
},
"optional": false,
"readOnly": false,
@@ -94357,12 +101262,12 @@
},
"properties": [
{
- "$ref": "7204"
+ "$ref": "7801"
}
],
"discriminatedSubtypes": {
"image_file": {
- "$id": "7205",
+ "$id": "7802",
"kind": "model",
"name": "MessageDeltaContentImageFileObject",
"namespace": "OpenAI",
@@ -94373,16 +101278,16 @@
"discriminatorValue": "image_file",
"decorators": [],
"baseModel": {
- "$ref": "7203"
+ "$ref": "7800"
},
"properties": [
{
- "$id": "7206",
+ "$id": "7803",
"kind": "property",
"name": "index",
"doc": "The index of the content part in the message.",
"type": {
- "$id": "7207",
+ "$id": "7804",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94398,12 +101303,12 @@
"isHttpMetadata": false
},
{
- "$id": "7208",
+ "$id": "7805",
"kind": "property",
"name": "type",
"doc": "Always `image_file`.",
"type": {
- "$ref": "906"
+ "$ref": "5836"
},
"optional": false,
"readOnly": false,
@@ -94415,11 +101320,11 @@
"isHttpMetadata": false
},
{
- "$id": "7209",
+ "$id": "7806",
"kind": "property",
"name": "image_file",
"type": {
- "$id": "7210",
+ "$id": "7807",
"kind": "model",
"name": "MessageDeltaContentImageFileObjectImageFile",
"namespace": "OpenAI",
@@ -94428,12 +101333,12 @@
"decorators": [],
"properties": [
{
- "$id": "7211",
+ "$id": "7808",
"kind": "property",
"name": "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": "7212",
+ "$id": "7809",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94449,12 +101354,12 @@
"isHttpMetadata": false
},
{
- "$id": "7213",
+ "$id": "7810",
"kind": "property",
"name": "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": "1309"
+ "$ref": "1333"
},
"optional": true,
"readOnly": false,
@@ -94479,7 +101384,7 @@
]
},
"image_url": {
- "$id": "7214",
+ "$id": "7811",
"kind": "model",
"name": "MessageDeltaContentImageUrlObject",
"namespace": "OpenAI",
@@ -94490,16 +101395,16 @@
"discriminatorValue": "image_url",
"decorators": [],
"baseModel": {
- "$ref": "7203"
+ "$ref": "7800"
},
"properties": [
{
- "$id": "7215",
+ "$id": "7812",
"kind": "property",
"name": "index",
"doc": "The index of the content part in the message.",
"type": {
- "$id": "7216",
+ "$id": "7813",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94515,12 +101420,12 @@
"isHttpMetadata": false
},
{
- "$id": "7217",
+ "$id": "7814",
"kind": "property",
"name": "type",
"doc": "Always `image_url`.",
"type": {
- "$ref": "907"
+ "$ref": "5898"
},
"optional": false,
"readOnly": false,
@@ -94532,11 +101437,11 @@
"isHttpMetadata": false
},
{
- "$id": "7218",
+ "$id": "7815",
"kind": "property",
"name": "image_url",
"type": {
- "$id": "7219",
+ "$id": "7816",
"kind": "model",
"name": "MessageDeltaContentImageUrlObjectImageUrl",
"namespace": "OpenAI",
@@ -94545,12 +101450,12 @@
"decorators": [],
"properties": [
{
- "$id": "7220",
+ "$id": "7817",
"kind": "property",
"name": "url",
"doc": "The URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.",
"type": {
- "$id": "7221",
+ "$id": "7818",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -94566,12 +101471,12 @@
"isHttpMetadata": false
},
{
- "$id": "7222",
+ "$id": "7819",
"kind": "property",
"name": "detail",
"doc": "Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`.",
"type": {
- "$ref": "1314"
+ "$ref": "1338"
},
"optional": true,
"readOnly": false,
@@ -94596,7 +101501,7 @@
]
},
"text": {
- "$id": "7223",
+ "$id": "7820",
"kind": "model",
"name": "MessageDeltaContentTextObject",
"namespace": "OpenAI",
@@ -94607,16 +101512,16 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$ref": "7203"
+ "$ref": "7800"
},
"properties": [
{
- "$id": "7224",
+ "$id": "7821",
"kind": "property",
"name": "index",
"doc": "The index of the content part in the message.",
"type": {
- "$id": "7225",
+ "$id": "7822",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94632,12 +101537,12 @@
"isHttpMetadata": false
},
{
- "$id": "7226",
+ "$id": "7823",
"kind": "property",
"name": "type",
"doc": "Always `text`.",
"type": {
- "$ref": "905"
+ "$ref": "5850"
},
"optional": false,
"readOnly": false,
@@ -94649,11 +101554,11 @@
"isHttpMetadata": false
},
{
- "$id": "7227",
+ "$id": "7824",
"kind": "property",
"name": "text",
"type": {
- "$id": "7228",
+ "$id": "7825",
"kind": "model",
"name": "MessageDeltaContentTextObjectText",
"namespace": "OpenAI",
@@ -94662,12 +101567,12 @@
"decorators": [],
"properties": [
{
- "$id": "7229",
+ "$id": "7826",
"kind": "property",
"name": "value",
"doc": "The data that makes up the text.",
"type": {
- "$id": "7230",
+ "$id": "7827",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94683,15 +101588,15 @@
"isHttpMetadata": false
},
{
- "$id": "7231",
+ "$id": "7828",
"kind": "property",
"name": "annotations",
"type": {
- "$id": "7232",
+ "$id": "7829",
"kind": "array",
"name": "ArrayMessageDeltaTextContentAnnotation",
"valueType": {
- "$id": "7233",
+ "$id": "7830",
"kind": "model",
"name": "MessageDeltaTextContentAnnotation",
"namespace": "OpenAI",
@@ -94700,12 +101605,12 @@
"usage": "Output",
"decorators": [],
"discriminatorProperty": {
- "$id": "7234",
+ "$id": "7831",
"kind": "property",
"name": "type",
"doc": "The discriminated type identifier for the content item.",
"type": {
- "$ref": "914"
+ "$ref": "928"
},
"optional": false,
"readOnly": false,
@@ -94718,12 +101623,12 @@
},
"properties": [
{
- "$ref": "7234"
+ "$ref": "7831"
}
],
"discriminatedSubtypes": {
"file_citation": {
- "$id": "7235",
+ "$id": "7832",
"kind": "model",
"name": "MessageDeltaContentTextAnnotationsFileCitationObject",
"namespace": "OpenAI",
@@ -94734,16 +101639,16 @@
"discriminatorValue": "file_citation",
"decorators": [],
"baseModel": {
- "$ref": "7233"
+ "$ref": "7830"
},
"properties": [
{
- "$id": "7236",
+ "$id": "7833",
"kind": "property",
"name": "index",
"doc": "The index of the annotation in the text content part.",
"type": {
- "$id": "7237",
+ "$id": "7834",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94759,12 +101664,12 @@
"isHttpMetadata": false
},
{
- "$id": "7238",
+ "$id": "7835",
"kind": "property",
"name": "type",
"doc": "Always `file_citation`.",
"type": {
- "$ref": "916"
+ "$ref": "5863"
},
"optional": false,
"readOnly": false,
@@ -94776,12 +101681,12 @@
"isHttpMetadata": false
},
{
- "$id": "7239",
+ "$id": "7836",
"kind": "property",
"name": "text",
"doc": "The text in the message content that needs to be replaced.",
"type": {
- "$id": "7240",
+ "$id": "7837",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94797,11 +101702,11 @@
"isHttpMetadata": false
},
{
- "$id": "7241",
+ "$id": "7838",
"kind": "property",
"name": "file_citation",
"type": {
- "$id": "7242",
+ "$id": "7839",
"kind": "model",
"name": "MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation",
"namespace": "OpenAI",
@@ -94810,12 +101715,12 @@
"decorators": [],
"properties": [
{
- "$id": "7243",
+ "$id": "7840",
"kind": "property",
"name": "file_id",
"doc": "The ID of the specific File the citation is from.",
"type": {
- "$id": "7244",
+ "$id": "7841",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94831,12 +101736,12 @@
"isHttpMetadata": false
},
{
- "$id": "7245",
+ "$id": "7842",
"kind": "property",
"name": "quote",
"doc": "The specific quote in the file.",
"type": {
- "$id": "7246",
+ "$id": "7843",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94863,11 +101768,11 @@
"isHttpMetadata": false
},
{
- "$id": "7247",
+ "$id": "7844",
"kind": "property",
"name": "start_index",
"type": {
- "$id": "7248",
+ "$id": "7845",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94883,11 +101788,11 @@
"isHttpMetadata": false
},
{
- "$id": "7249",
+ "$id": "7846",
"kind": "property",
"name": "end_index",
"type": {
- "$id": "7250",
+ "$id": "7847",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94905,7 +101810,7 @@
]
},
"file_path": {
- "$id": "7251",
+ "$id": "7848",
"kind": "model",
"name": "MessageDeltaContentTextAnnotationsFilePathObject",
"namespace": "OpenAI",
@@ -94916,16 +101821,16 @@
"discriminatorValue": "file_path",
"decorators": [],
"baseModel": {
- "$ref": "7233"
+ "$ref": "7830"
},
"properties": [
{
- "$id": "7252",
+ "$id": "7849",
"kind": "property",
"name": "index",
"doc": "The index of the annotation in the text content part.",
"type": {
- "$id": "7253",
+ "$id": "7850",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -94941,12 +101846,12 @@
"isHttpMetadata": false
},
{
- "$id": "7254",
+ "$id": "7851",
"kind": "property",
"name": "type",
"doc": "Always `file_path`.",
"type": {
- "$ref": "917"
+ "$ref": "5880"
},
"optional": false,
"readOnly": false,
@@ -94958,12 +101863,12 @@
"isHttpMetadata": false
},
{
- "$id": "7255",
+ "$id": "7852",
"kind": "property",
"name": "text",
"doc": "The text in the message content that needs to be replaced.",
"type": {
- "$id": "7256",
+ "$id": "7853",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -94979,11 +101884,11 @@
"isHttpMetadata": false
},
{
- "$id": "7257",
+ "$id": "7854",
"kind": "property",
"name": "file_path",
"type": {
- "$id": "7258",
+ "$id": "7855",
"kind": "model",
"name": "MessageDeltaContentTextAnnotationsFilePathObjectFilePath",
"namespace": "OpenAI",
@@ -94992,12 +101897,12 @@
"decorators": [],
"properties": [
{
- "$id": "7259",
+ "$id": "7856",
"kind": "property",
"name": "file_id",
"doc": "The ID of the file that was generated.",
"type": {
- "$id": "7260",
+ "$id": "7857",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95024,11 +101929,11 @@
"isHttpMetadata": false
},
{
- "$id": "7261",
+ "$id": "7858",
"kind": "property",
"name": "start_index",
"type": {
- "$id": "7262",
+ "$id": "7859",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -95044,11 +101949,11 @@
"isHttpMetadata": false
},
{
- "$id": "7263",
+ "$id": "7860",
"kind": "property",
"name": "end_index",
"type": {
- "$id": "7264",
+ "$id": "7861",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -95093,7 +101998,7 @@
]
},
"refusal": {
- "$id": "7265",
+ "$id": "7862",
"kind": "model",
"name": "MessageDeltaContentRefusalObject",
"namespace": "OpenAI",
@@ -95103,16 +102008,16 @@
"discriminatorValue": "refusal",
"decorators": [],
"baseModel": {
- "$ref": "7203"
+ "$ref": "7800"
},
"properties": [
{
- "$id": "7266",
+ "$id": "7863",
"kind": "property",
"name": "index",
"doc": "The index of the refusal part in the message.",
"type": {
- "$id": "7267",
+ "$id": "7864",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -95128,12 +102033,12 @@
"isHttpMetadata": false
},
{
- "$id": "7268",
+ "$id": "7865",
"kind": "property",
"name": "type",
"doc": "Always `refusal`.",
"type": {
- "$ref": "908"
+ "$ref": "5893"
},
"optional": false,
"readOnly": false,
@@ -95145,11 +102050,11 @@
"isHttpMetadata": false
},
{
- "$id": "7269",
+ "$id": "7866",
"kind": "property",
"name": "refusal",
"type": {
- "$id": "7270",
+ "$id": "7867",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95169,43 +102074,43 @@
}
},
{
- "$ref": "7205"
+ "$ref": "7802"
},
{
- "$ref": "7210"
+ "$ref": "7807"
},
{
- "$ref": "7214"
+ "$ref": "7811"
},
{
- "$ref": "7219"
+ "$ref": "7816"
},
{
- "$ref": "7223"
+ "$ref": "7820"
},
{
- "$ref": "7228"
+ "$ref": "7825"
},
{
- "$ref": "7233"
+ "$ref": "7830"
},
{
- "$ref": "7235"
+ "$ref": "7832"
},
{
- "$ref": "7242"
+ "$ref": "7839"
},
{
- "$ref": "7251"
+ "$ref": "7848"
},
{
- "$ref": "7258"
+ "$ref": "7855"
},
{
- "$ref": "7265"
+ "$ref": "7862"
},
{
- "$id": "7271",
+ "$id": "7868",
"kind": "model",
"name": "MessageDeltaObject",
"namespace": "OpenAI",
@@ -95216,12 +102121,12 @@
"decorators": [],
"properties": [
{
- "$id": "7272",
+ "$id": "7869",
"kind": "property",
"name": "id",
"doc": "The identifier of the message, which can be referenced in API endpoints.",
"type": {
- "$id": "7273",
+ "$id": "7870",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95237,12 +102142,12 @@
"isHttpMetadata": false
},
{
- "$id": "7274",
+ "$id": "7871",
"kind": "property",
"name": "object",
"doc": "The object type, which is always `thread.message.delta`.",
"type": {
- "$ref": "1725"
+ "$ref": "1745"
},
"optional": false,
"readOnly": false,
@@ -95254,12 +102159,12 @@
"isHttpMetadata": false
},
{
- "$id": "7275",
+ "$id": "7872",
"kind": "property",
"name": "delta",
"doc": "The delta containing the fields that have changed on the Message.",
"type": {
- "$id": "7276",
+ "$id": "7873",
"kind": "model",
"name": "MessageDeltaObjectDelta",
"namespace": "OpenAI",
@@ -95268,12 +102173,12 @@
"decorators": [],
"properties": [
{
- "$id": "7277",
+ "$id": "7874",
"kind": "property",
"name": "role",
"doc": "The entity that produced the message. One of `user` or `assistant`.",
"type": {
- "$ref": "1319"
+ "$ref": "1343"
},
"optional": true,
"readOnly": false,
@@ -95285,16 +102190,16 @@
"isHttpMetadata": false
},
{
- "$id": "7278",
+ "$id": "7875",
"kind": "property",
"name": "content",
"doc": "The content of the message in array of text and/or images.",
"type": {
- "$id": "7279",
+ "$id": "7876",
"kind": "array",
"name": "ArrayMessageDeltaContent",
"valueType": {
- "$ref": "7203"
+ "$ref": "7800"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -95322,10 +102227,10 @@
]
},
{
- "$ref": "7276"
+ "$ref": "7873"
},
{
- "$id": "7280",
+ "$id": "7877",
"kind": "model",
"name": "RunStepDeltaObject",
"namespace": "OpenAI",
@@ -95336,12 +102241,12 @@
"decorators": [],
"properties": [
{
- "$id": "7281",
+ "$id": "7878",
"kind": "property",
"name": "id",
"doc": "The identifier of the run step, which can be referenced in API endpoints.",
"type": {
- "$id": "7282",
+ "$id": "7879",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95357,12 +102262,12 @@
"isHttpMetadata": false
},
{
- "$id": "7283",
+ "$id": "7880",
"kind": "property",
"name": "object",
"doc": "The object type, which is always `thread.run.step.delta`.",
"type": {
- "$ref": "1727"
+ "$ref": "1747"
},
"optional": false,
"readOnly": false,
@@ -95374,12 +102279,12 @@
"isHttpMetadata": false
},
{
- "$id": "7284",
+ "$id": "7881",
"kind": "property",
"name": "delta",
"doc": "The delta containing the fields that have changed on the run step.",
"type": {
- "$id": "7285",
+ "$id": "7882",
"kind": "model",
"name": "RunStepDeltaObjectDelta",
"namespace": "OpenAI",
@@ -95388,12 +102293,12 @@
"decorators": [],
"properties": [
{
- "$id": "7286",
+ "$id": "7883",
"kind": "property",
"name": "step_details",
"doc": "The details of the run step.",
"type": {
- "$id": "7287",
+ "$id": "7884",
"kind": "model",
"name": "RunStepDeltaStepDetails",
"namespace": "OpenAI",
@@ -95401,12 +102306,12 @@
"usage": "Output",
"decorators": [],
"discriminatorProperty": {
- "$id": "7288",
+ "$id": "7885",
"kind": "property",
"name": "type",
"doc": "The discriminated type identifier for the details object.",
"type": {
- "$ref": "1028"
+ "$ref": "1038"
},
"optional": false,
"readOnly": false,
@@ -95419,12 +102324,12 @@
},
"properties": [
{
- "$ref": "7288"
+ "$ref": "7885"
}
],
"discriminatedSubtypes": {
"message_creation": {
- "$id": "7289",
+ "$id": "7886",
"kind": "model",
"name": "RunStepDeltaStepDetailsMessageCreationObject",
"namespace": "OpenAI",
@@ -95435,16 +102340,16 @@
"discriminatorValue": "message_creation",
"decorators": [],
"baseModel": {
- "$ref": "7287"
+ "$ref": "7884"
},
"properties": [
{
- "$id": "7290",
+ "$id": "7887",
"kind": "property",
"name": "type",
"doc": "Always `message_creation`.",
"type": {
- "$ref": "1030"
+ "$ref": "6342"
},
"optional": false,
"readOnly": false,
@@ -95456,11 +102361,11 @@
"isHttpMetadata": false
},
{
- "$id": "7291",
+ "$id": "7888",
"kind": "property",
"name": "message_creation",
"type": {
- "$id": "7292",
+ "$id": "7889",
"kind": "model",
"name": "RunStepDeltaStepDetailsMessageCreationObjectMessageCreation",
"namespace": "OpenAI",
@@ -95469,12 +102374,12 @@
"decorators": [],
"properties": [
{
- "$id": "7293",
+ "$id": "7890",
"kind": "property",
"name": "message_id",
"doc": "The ID of the message that was created by this run step.",
"type": {
- "$id": "7294",
+ "$id": "7891",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95503,7 +102408,7 @@
]
},
"tool_calls": {
- "$id": "7295",
+ "$id": "7892",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsObject",
"namespace": "OpenAI",
@@ -95514,16 +102419,16 @@
"discriminatorValue": "tool_calls",
"decorators": [],
"baseModel": {
- "$ref": "7287"
+ "$ref": "7884"
},
"properties": [
{
- "$id": "7296",
+ "$id": "7893",
"kind": "property",
"name": "type",
"doc": "Always `tool_calls`.",
"type": {
- "$ref": "1031"
+ "$ref": "6353"
},
"optional": false,
"readOnly": false,
@@ -95535,16 +102440,16 @@
"isHttpMetadata": false
},
{
- "$id": "7297",
+ "$id": "7894",
"kind": "property",
"name": "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": "7298",
+ "$id": "7895",
"kind": "array",
"name": "ArrayRunStepDeltaStepDetailsToolCallsObjectToolCallsObject",
"valueType": {
- "$id": "7299",
+ "$id": "7896",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsObjectToolCallsObject",
"namespace": "OpenAI",
@@ -95553,12 +102458,12 @@
"doc": "Abstractly represents a run step tool call details inner object.",
"decorators": [],
"discriminatorProperty": {
- "$id": "7300",
+ "$id": "7897",
"kind": "property",
"name": "type",
"doc": "The discriminated type identifier for the details object.",
"type": {
- "$ref": "1032"
+ "$ref": "1042"
},
"optional": false,
"readOnly": false,
@@ -95571,12 +102476,12 @@
},
"properties": [
{
- "$ref": "7300"
+ "$ref": "7897"
}
],
"discriminatedSubtypes": {
"code_interpreter": {
- "$id": "7301",
+ "$id": "7898",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsCodeObject",
"namespace": "OpenAI",
@@ -95587,16 +102492,16 @@
"discriminatorValue": "code_interpreter",
"decorators": [],
"baseModel": {
- "$ref": "7299"
+ "$ref": "7896"
},
"properties": [
{
- "$id": "7302",
+ "$id": "7899",
"kind": "property",
"name": "index",
"doc": "The index of the tool call in the tool calls array.",
"type": {
- "$id": "7303",
+ "$id": "7900",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -95612,12 +102517,12 @@
"isHttpMetadata": false
},
{
- "$id": "7304",
+ "$id": "7901",
"kind": "property",
"name": "id",
"doc": "The ID of the tool call.",
"type": {
- "$id": "7305",
+ "$id": "7902",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95633,12 +102538,12 @@
"isHttpMetadata": false
},
{
- "$id": "7306",
+ "$id": "7903",
"kind": "property",
"name": "type",
"doc": "The type of tool call. This is always going to be `code_interpreter` for this type of tool call.",
"type": {
- "$ref": "1034"
+ "$ref": "6362"
},
"optional": false,
"readOnly": false,
@@ -95650,12 +102555,12 @@
"isHttpMetadata": false
},
{
- "$id": "7307",
+ "$id": "7904",
"kind": "property",
"name": "code_interpreter",
"doc": "The Code Interpreter tool call definition.",
"type": {
- "$id": "7308",
+ "$id": "7905",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter",
"namespace": "OpenAI",
@@ -95664,12 +102569,12 @@
"decorators": [],
"properties": [
{
- "$id": "7309",
+ "$id": "7906",
"kind": "property",
"name": "input",
"doc": "The input to the Code Interpreter tool call.",
"type": {
- "$id": "7310",
+ "$id": "7907",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95685,16 +102590,16 @@
"isHttpMetadata": false
},
{
- "$id": "7311",
+ "$id": "7908",
"kind": "property",
"name": "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": "7312",
+ "$id": "7909",
"kind": "array",
"name": "ArrayRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject",
"valueType": {
- "$id": "7313",
+ "$id": "7910",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject",
"namespace": "OpenAI",
@@ -95703,12 +102608,12 @@
"doc": "Abstractly represents a run step tool call details code interpreter output.",
"decorators": [],
"discriminatorProperty": {
- "$id": "7314",
+ "$id": "7911",
"kind": "property",
"name": "type",
"doc": "The discriminated type identifier for the details object.",
"type": {
- "$ref": "1037"
+ "$ref": "1047"
},
"optional": false,
"readOnly": false,
@@ -95721,12 +102626,12 @@
},
"properties": [
{
- "$ref": "7314"
+ "$ref": "7911"
}
],
"discriminatedSubtypes": {
"logs": {
- "$id": "7315",
+ "$id": "7912",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject",
"namespace": "OpenAI",
@@ -95737,16 +102642,16 @@
"discriminatorValue": "logs",
"decorators": [],
"baseModel": {
- "$ref": "7313"
+ "$ref": "7910"
},
"properties": [
{
- "$id": "7316",
+ "$id": "7913",
"kind": "property",
"name": "index",
"doc": "The index of the output in the outputs array.",
"type": {
- "$id": "7317",
+ "$id": "7914",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -95762,12 +102667,12 @@
"isHttpMetadata": false
},
{
- "$id": "7318",
+ "$id": "7915",
"kind": "property",
"name": "type",
"doc": "Always `logs`.",
"type": {
- "$ref": "1039"
+ "$ref": "6378"
},
"optional": false,
"readOnly": false,
@@ -95779,12 +102684,12 @@
"isHttpMetadata": false
},
{
- "$id": "7319",
+ "$id": "7916",
"kind": "property",
"name": "logs",
"doc": "The text output from the Code Interpreter tool call.",
"type": {
- "$id": "7320",
+ "$id": "7917",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95802,7 +102707,7 @@
]
},
"image": {
- "$id": "7321",
+ "$id": "7918",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObject",
"namespace": "OpenAI",
@@ -95812,16 +102717,16 @@
"discriminatorValue": "image",
"decorators": [],
"baseModel": {
- "$ref": "7313"
+ "$ref": "7910"
},
"properties": [
{
- "$id": "7322",
+ "$id": "7919",
"kind": "property",
"name": "index",
"doc": "The index of the output in the outputs array.",
"type": {
- "$id": "7323",
+ "$id": "7920",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -95837,12 +102742,12 @@
"isHttpMetadata": false
},
{
- "$id": "7324",
+ "$id": "7921",
"kind": "property",
"name": "type",
"doc": "Always `image`.",
"type": {
- "$ref": "1040"
+ "$ref": "6387"
},
"optional": false,
"readOnly": false,
@@ -95854,11 +102759,11 @@
"isHttpMetadata": false
},
{
- "$id": "7325",
+ "$id": "7922",
"kind": "property",
"name": "image",
"type": {
- "$id": "7326",
+ "$id": "7923",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage",
"namespace": "OpenAI",
@@ -95867,12 +102772,12 @@
"decorators": [],
"properties": [
{
- "$id": "7327",
+ "$id": "7924",
"kind": "property",
"name": "file_id",
"doc": "The [file](/docs/api-reference/files) ID of the image.",
"type": {
- "$id": "7328",
+ "$id": "7925",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95928,7 +102833,7 @@
]
},
"file_search": {
- "$id": "7329",
+ "$id": "7926",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsFileSearchObject",
"namespace": "OpenAI",
@@ -95938,16 +102843,16 @@
"discriminatorValue": "file_search",
"decorators": [],
"baseModel": {
- "$ref": "7299"
+ "$ref": "7896"
},
"properties": [
{
- "$id": "7330",
+ "$id": "7927",
"kind": "property",
"name": "index",
"doc": "The index of the tool call in the tool calls array.",
"type": {
- "$id": "7331",
+ "$id": "7928",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -95963,12 +102868,12 @@
"isHttpMetadata": false
},
{
- "$id": "7332",
+ "$id": "7929",
"kind": "property",
"name": "id",
"doc": "The ID of the tool call object.",
"type": {
- "$id": "7333",
+ "$id": "7930",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -95984,12 +102889,12 @@
"isHttpMetadata": false
},
{
- "$id": "7334",
+ "$id": "7931",
"kind": "property",
"name": "type",
"doc": "The type of tool call. This is always going to be `file_search` for this type of tool call.",
"type": {
- "$ref": "1035"
+ "$ref": "6394"
},
"optional": false,
"readOnly": false,
@@ -96001,12 +102906,12 @@
"isHttpMetadata": false
},
{
- "$id": "7335",
+ "$id": "7932",
"kind": "property",
"name": "file_search",
"doc": "For now, this is always going to be an empty object.",
"type": {
- "$id": "7336",
+ "$id": "7933",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch",
"namespace": "OpenAI",
@@ -96015,11 +102920,11 @@
"decorators": [],
"properties": [
{
- "$id": "7337",
+ "$id": "7934",
"kind": "property",
"name": "ranking_options",
"type": {
- "$ref": "5951"
+ "$ref": "6398"
},
"optional": true,
"readOnly": false,
@@ -96031,12 +102936,12 @@
"isHttpMetadata": false
},
{
- "$id": "7338",
+ "$id": "7935",
"kind": "property",
"name": "results",
"doc": "The results of the file search.",
"type": {
- "$ref": "5956"
+ "$ref": "6403"
},
"optional": true,
"readOnly": true,
@@ -96061,7 +102966,7 @@
]
},
"function": {
- "$id": "7339",
+ "$id": "7936",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsFunctionObject",
"namespace": "OpenAI",
@@ -96071,16 +102976,16 @@
"discriminatorValue": "function",
"decorators": [],
"baseModel": {
- "$ref": "7299"
+ "$ref": "7896"
},
"properties": [
{
- "$id": "7340",
+ "$id": "7937",
"kind": "property",
"name": "index",
"doc": "The index of the tool call in the tool calls array.",
"type": {
- "$id": "7341",
+ "$id": "7938",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -96096,12 +103001,12 @@
"isHttpMetadata": false
},
{
- "$id": "7342",
+ "$id": "7939",
"kind": "property",
"name": "id",
"doc": "The ID of the tool call object.",
"type": {
- "$id": "7343",
+ "$id": "7940",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96117,12 +103022,12 @@
"isHttpMetadata": false
},
{
- "$id": "7344",
+ "$id": "7941",
"kind": "property",
"name": "type",
"doc": "The type of tool call. This is always going to be `function` for this type of tool call.",
"type": {
- "$ref": "1036"
+ "$ref": "6423"
},
"optional": false,
"readOnly": false,
@@ -96134,12 +103039,12 @@
"isHttpMetadata": false
},
{
- "$id": "7345",
+ "$id": "7942",
"kind": "property",
"name": "function",
"doc": "The definition of the function that was called.",
"type": {
- "$id": "7346",
+ "$id": "7943",
"kind": "model",
"name": "RunStepDeltaStepDetailsToolCallsFunctionObjectFunction",
"namespace": "OpenAI",
@@ -96148,12 +103053,12 @@
"decorators": [],
"properties": [
{
- "$id": "7347",
+ "$id": "7944",
"kind": "property",
"name": "name",
"doc": "The name of the function.",
"type": {
- "$id": "7348",
+ "$id": "7945",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96169,12 +103074,12 @@
"isHttpMetadata": false
},
{
- "$id": "7349",
+ "$id": "7946",
"kind": "property",
"name": "arguments",
"doc": "The arguments passed to the function.",
"type": {
- "$id": "7350",
+ "$id": "7947",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96190,15 +103095,15 @@
"isHttpMetadata": false
},
{
- "$id": "7351",
+ "$id": "7948",
"kind": "property",
"name": "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": "7352",
+ "$id": "7949",
"kind": "nullable",
"type": {
- "$id": "7353",
+ "$id": "7950",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96269,55 +103174,55 @@
]
},
{
- "$ref": "7285"
+ "$ref": "7882"
},
{
- "$ref": "7287"
+ "$ref": "7884"
},
{
- "$ref": "7289"
+ "$ref": "7886"
},
{
- "$ref": "7292"
+ "$ref": "7889"
},
{
- "$ref": "7295"
+ "$ref": "7892"
},
{
- "$ref": "7299"
+ "$ref": "7896"
},
{
- "$ref": "7301"
+ "$ref": "7898"
},
{
- "$ref": "7308"
+ "$ref": "7905"
},
{
- "$ref": "7313"
+ "$ref": "7910"
},
{
- "$ref": "7315"
+ "$ref": "7912"
},
{
- "$ref": "7321"
+ "$ref": "7918"
},
{
- "$ref": "7326"
+ "$ref": "7923"
},
{
- "$ref": "7329"
+ "$ref": "7926"
},
{
- "$ref": "7336"
+ "$ref": "7933"
},
{
- "$ref": "7339"
+ "$ref": "7936"
},
{
- "$ref": "7346"
+ "$ref": "7943"
},
{
- "$id": "7354",
+ "$id": "7951",
"kind": "model",
"name": "CreateThreadRequestToolResourcesFileSearchBase",
"namespace": "OpenAI",
@@ -96328,7 +103233,7 @@
"properties": []
},
{
- "$id": "7355",
+ "$id": "7952",
"kind": "model",
"name": "AssistantCollectionOptions",
"namespace": "OpenAI",
@@ -96338,12 +103243,12 @@
"decorators": [],
"properties": [
{
- "$id": "7356",
+ "$id": "7953",
"kind": "property",
"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": "7357",
+ "$id": "7954",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96359,12 +103264,12 @@
"isHttpMetadata": true
},
{
- "$id": "7358",
+ "$id": "7955",
"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": "7359",
+ "$id": "7956",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96380,12 +103285,12 @@
"isHttpMetadata": true
},
{
- "$id": "7360",
+ "$id": "7957",
"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": "7361",
+ "$id": "7958",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -96401,12 +103306,12 @@
"isHttpMetadata": true
},
{
- "$id": "7362",
+ "$id": "7959",
"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": "1323"
+ "$ref": "1347"
},
"optional": true,
"readOnly": false,
@@ -96420,7 +103325,7 @@
]
},
{
- "$id": "7363",
+ "$id": "7960",
"kind": "model",
"name": "MessageCollectionOptions",
"namespace": "OpenAI",
@@ -96430,12 +103335,12 @@
"decorators": [],
"properties": [
{
- "$id": "7364",
+ "$id": "7961",
"kind": "property",
"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": "7365",
+ "$id": "7962",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96451,12 +103356,12 @@
"isHttpMetadata": true
},
{
- "$id": "7366",
+ "$id": "7963",
"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": "7367",
+ "$id": "7964",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96472,12 +103377,12 @@
"isHttpMetadata": true
},
{
- "$id": "7368",
+ "$id": "7965",
"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": "7369",
+ "$id": "7966",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -96493,12 +103398,12 @@
"isHttpMetadata": true
},
{
- "$id": "7370",
+ "$id": "7967",
"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": "1327"
+ "$ref": "1351"
},
"optional": true,
"readOnly": false,
@@ -96512,7 +103417,7 @@
]
},
{
- "$id": "7371",
+ "$id": "7968",
"kind": "model",
"name": "RunCollectionOptions",
"namespace": "OpenAI",
@@ -96522,12 +103427,12 @@
"decorators": [],
"properties": [
{
- "$id": "7372",
+ "$id": "7969",
"kind": "property",
"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": "7373",
+ "$id": "7970",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96543,12 +103448,12 @@
"isHttpMetadata": true
},
{
- "$id": "7374",
+ "$id": "7971",
"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": "7375",
+ "$id": "7972",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96564,12 +103469,12 @@
"isHttpMetadata": true
},
{
- "$id": "7376",
+ "$id": "7973",
"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": "7377",
+ "$id": "7974",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -96585,12 +103490,12 @@
"isHttpMetadata": true
},
{
- "$id": "7378",
+ "$id": "7975",
"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": "1331"
+ "$ref": "1355"
},
"optional": true,
"readOnly": false,
@@ -96604,7 +103509,7 @@
]
},
{
- "$id": "7379",
+ "$id": "7976",
"kind": "model",
"name": "RunStepCollectionOptions",
"namespace": "OpenAI",
@@ -96614,12 +103519,12 @@
"decorators": [],
"properties": [
{
- "$id": "7380",
+ "$id": "7977",
"kind": "property",
"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": "7381",
+ "$id": "7978",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96635,12 +103540,12 @@
"isHttpMetadata": true
},
{
- "$id": "7382",
+ "$id": "7979",
"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": "7383",
+ "$id": "7980",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96656,12 +103561,12 @@
"isHttpMetadata": true
},
{
- "$id": "7384",
+ "$id": "7981",
"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": "7385",
+ "$id": "7982",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -96677,12 +103582,12 @@
"isHttpMetadata": true
},
{
- "$id": "7386",
+ "$id": "7983",
"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": "1335"
+ "$ref": "1359"
},
"optional": true,
"readOnly": false,
@@ -96696,7 +103601,7 @@
]
},
{
- "$id": "7387",
+ "$id": "7984",
"kind": "model",
"name": "DotNetCombinedJsonTranscriptionResponse",
"namespace": "OpenAI",
@@ -96706,12 +103611,12 @@
"decorators": [],
"properties": [
{
- "$id": "7388",
+ "$id": "7985",
"kind": "property",
"name": "task",
"doc": "The task label.",
"type": {
- "$ref": "1729"
+ "$ref": "1749"
},
"optional": false,
"readOnly": false,
@@ -96723,12 +103628,12 @@
"isHttpMetadata": false
},
{
- "$id": "7389",
+ "$id": "7986",
"kind": "property",
"name": "language",
"doc": "The language of the input audio.",
"type": {
- "$id": "7390",
+ "$id": "7987",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96744,17 +103649,17 @@
"isHttpMetadata": false
},
{
- "$id": "7391",
+ "$id": "7988",
"kind": "property",
"name": "duration",
"doc": "The duration of the input audio.",
"type": {
- "$id": "7392",
+ "$id": "7989",
"kind": "duration",
"name": "duration",
"encode": "seconds",
"wireType": {
- "$id": "7393",
+ "$id": "7990",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -96773,12 +103678,12 @@
"isHttpMetadata": false
},
{
- "$id": "7394",
+ "$id": "7991",
"kind": "property",
"name": "text",
"doc": "The transcribed text.",
"type": {
- "$id": "7395",
+ "$id": "7992",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96794,12 +103699,12 @@
"isHttpMetadata": false
},
{
- "$id": "7396",
+ "$id": "7993",
"kind": "property",
"name": "words",
"doc": "Extracted words and their corresponding timestamps.",
"type": {
- "$ref": "2539"
+ "$ref": "2580"
},
"optional": true,
"readOnly": true,
@@ -96811,12 +103716,12 @@
"isHttpMetadata": false
},
{
- "$id": "7397",
+ "$id": "7994",
"kind": "property",
"name": "segments",
"doc": "Segments of the transcribed text and their corresponding details.",
"type": {
- "$ref": "2550"
+ "$ref": "2591"
},
"optional": true,
"readOnly": true,
@@ -96828,11 +103733,11 @@
"isHttpMetadata": false
},
{
- "$id": "7398",
+ "$id": "7995",
"kind": "property",
"name": "logprobs",
"type": {
- "$ref": "6719"
+ "$ref": "7295"
},
"optional": true,
"readOnly": false,
@@ -96846,7 +103751,7 @@
]
},
{
- "$id": "7399",
+ "$id": "7996",
"kind": "model",
"name": "ChatCompletionCollectionOptions",
"namespace": "OpenAI",
@@ -96856,12 +103761,12 @@
"decorators": [],
"properties": [
{
- "$id": "7400",
+ "$id": "7997",
"kind": "property",
"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": "7401",
+ "$id": "7998",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96877,12 +103782,12 @@
"isHttpMetadata": true
},
{
- "$id": "7402",
+ "$id": "7999",
"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": "7403",
+ "$id": "8000",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -96898,12 +103803,12 @@
"isHttpMetadata": true
},
{
- "$id": "7404",
+ "$id": "8001",
"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": "1339"
+ "$ref": "1363"
},
"optional": true,
"readOnly": false,
@@ -96915,11 +103820,11 @@
"isHttpMetadata": true
},
{
- "$id": "7405",
+ "$id": "8002",
"kind": "property",
"name": "metadata",
"type": {
- "$ref": "2352"
+ "$ref": "2380"
},
"optional": true,
"readOnly": false,
@@ -96931,11 +103836,11 @@
"isHttpMetadata": true
},
{
- "$id": "7406",
+ "$id": "8003",
"kind": "property",
"name": "model",
"type": {
- "$id": "7407",
+ "$id": "8004",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96953,7 +103858,7 @@
]
},
{
- "$id": "7408",
+ "$id": "8005",
"kind": "model",
"name": "ChatCompletionMessageCollectionOptions",
"namespace": "OpenAI",
@@ -96963,12 +103868,12 @@
"decorators": [],
"properties": [
{
- "$id": "7409",
+ "$id": "8006",
"kind": "property",
"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": "7410",
+ "$id": "8007",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -96984,12 +103889,12 @@
"isHttpMetadata": true
},
{
- "$id": "7411",
+ "$id": "8008",
"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": "7412",
+ "$id": "8009",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -97005,12 +103910,12 @@
"isHttpMetadata": true
},
{
- "$id": "7413",
+ "$id": "8010",
"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": "1343"
+ "$ref": "1367"
},
"optional": true,
"readOnly": false,
@@ -97024,7 +103929,7 @@
]
},
{
- "$id": "7414",
+ "$id": "8011",
"kind": "model",
"name": "ContainerCollectionOptions",
"namespace": "OpenAI",
@@ -97034,12 +103939,12 @@
"decorators": [],
"properties": [
{
- "$id": "7415",
+ "$id": "8012",
"kind": "property",
"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": "7416",
+ "$id": "8013",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97055,12 +103960,12 @@
"isHttpMetadata": true
},
{
- "$id": "7417",
+ "$id": "8014",
"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": "7418",
+ "$id": "8015",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -97076,12 +103981,12 @@
"isHttpMetadata": true
},
{
- "$id": "7419",
+ "$id": "8016",
"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": "1347"
+ "$ref": "1371"
},
"optional": true,
"readOnly": false,
@@ -97095,7 +104000,7 @@
]
},
{
- "$id": "7420",
+ "$id": "8017",
"kind": "model",
"name": "ContainerFileCollectionOptions",
"namespace": "OpenAI",
@@ -97105,12 +104010,12 @@
"decorators": [],
"properties": [
{
- "$id": "7421",
+ "$id": "8018",
"kind": "property",
"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": "7422",
+ "$id": "8019",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97126,12 +104031,12 @@
"isHttpMetadata": true
},
{
- "$id": "7423",
+ "$id": "8020",
"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": "7424",
+ "$id": "8021",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -97147,12 +104052,12 @@
"isHttpMetadata": true
},
{
- "$id": "7425",
+ "$id": "8022",
"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": "1347"
+ "$ref": "1371"
},
"optional": true,
"readOnly": false,
@@ -97166,7 +104071,7 @@
]
},
{
- "$id": "7426",
+ "$id": "8023",
"kind": "model",
"name": "DotNetChatResponseFormat",
"namespace": "OpenAI",
@@ -97175,7 +104080,7 @@
"usage": "Input,Output",
"decorators": [],
"discriminatorProperty": {
- "$id": "7427",
+ "$id": "8024",
"kind": "property",
"name": "type",
"type": {
@@ -97192,12 +104097,12 @@
},
"properties": [
{
- "$ref": "7427"
+ "$ref": "8024"
}
],
"discriminatedSubtypes": {
"text": {
- "$id": "7428",
+ "$id": "8025",
"kind": "model",
"name": "DotNetChatResponseFormatText",
"namespace": "OpenAI",
@@ -97207,16 +104112,16 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$ref": "7426"
+ "$ref": "8023"
},
"properties": [
{
- "$id": "7429",
+ "$id": "8026",
"kind": "property",
"name": "type",
"doc": "The type of response format being defined. Always `text`.",
"type": {
- "$ref": "2384"
+ "$ref": "2419"
},
"optional": false,
"readOnly": false,
@@ -97230,7 +104135,7 @@
]
},
"json_object": {
- "$id": "7430",
+ "$id": "8027",
"kind": "model",
"name": "DotNetChatResponseFormatJsonObject",
"namespace": "OpenAI",
@@ -97240,16 +104145,16 @@
"discriminatorValue": "json_object",
"decorators": [],
"baseModel": {
- "$ref": "7426"
+ "$ref": "8023"
},
"properties": [
{
- "$id": "7431",
+ "$id": "8028",
"kind": "property",
"name": "type",
"doc": "The type of response format being defined. Always `json_object`.",
"type": {
- "$ref": "13"
+ "$ref": "2397"
},
"optional": false,
"readOnly": false,
@@ -97263,7 +104168,7 @@
]
},
"json_schema": {
- "$id": "7432",
+ "$id": "8029",
"kind": "model",
"name": "DotNetChatResponseFormatJsonSchema",
"namespace": "OpenAI",
@@ -97273,15 +104178,15 @@
"discriminatorValue": "json_schema",
"decorators": [],
"baseModel": {
- "$ref": "7426"
+ "$ref": "8023"
},
"properties": [
{
- "$id": "7433",
+ "$id": "8030",
"kind": "property",
"name": "type",
"type": {
- "$ref": "14"
+ "$ref": "2405"
},
"optional": false,
"readOnly": false,
@@ -97293,11 +104198,11 @@
"isHttpMetadata": false
},
{
- "$id": "7434",
+ "$id": "8031",
"kind": "property",
"name": "json_schema",
"type": {
- "$id": "7435",
+ "$id": "8032",
"kind": "model",
"name": "DotNetChatResponseFormatJsonSchemaJsonSchema",
"namespace": "OpenAI",
@@ -97306,11 +104211,11 @@
"decorators": [],
"properties": [
{
- "$id": "7436",
+ "$id": "8033",
"kind": "property",
"name": "description",
"type": {
- "$id": "7437",
+ "$id": "8034",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97326,11 +104231,11 @@
"isHttpMetadata": false
},
{
- "$id": "7438",
+ "$id": "8035",
"kind": "property",
"name": "name",
"type": {
- "$id": "7439",
+ "$id": "8036",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97346,11 +104251,11 @@
"isHttpMetadata": false
},
{
- "$id": "7440",
+ "$id": "8037",
"kind": "property",
"name": "schema",
"type": {
- "$id": "7441",
+ "$id": "8038",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -97366,14 +104271,14 @@
"isHttpMetadata": false
},
{
- "$id": "7442",
+ "$id": "8039",
"kind": "property",
"name": "strict",
"type": {
- "$id": "7443",
+ "$id": "8040",
"kind": "nullable",
"type": {
- "$id": "7444",
+ "$id": "8041",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -97406,19 +104311,19 @@
}
},
{
- "$ref": "7428"
+ "$ref": "8025"
},
{
- "$ref": "7430"
+ "$ref": "8027"
},
{
- "$ref": "7432"
+ "$ref": "8029"
},
{
- "$ref": "7435"
+ "$ref": "8032"
},
{
- "$id": "7445",
+ "$id": "8042",
"kind": "model",
"name": "DotNetAssistantResponseFormat",
"namespace": "OpenAI",
@@ -97427,7 +104332,7 @@
"usage": "Input,Output",
"decorators": [],
"discriminatorProperty": {
- "$id": "7446",
+ "$id": "8043",
"kind": "property",
"name": "type",
"type": {
@@ -97444,12 +104349,12 @@
},
"properties": [
{
- "$ref": "7446"
+ "$ref": "8043"
}
],
"discriminatedSubtypes": {
"text": {
- "$id": "7447",
+ "$id": "8044",
"kind": "model",
"name": "DotNetAssistantResponseFormatText",
"namespace": "OpenAI",
@@ -97459,16 +104364,16 @@
"discriminatorValue": "text",
"decorators": [],
"baseModel": {
- "$ref": "7445"
+ "$ref": "8042"
},
"properties": [
{
- "$id": "7448",
+ "$id": "8045",
"kind": "property",
"name": "type",
"doc": "The type of response format being defined. Always `text`.",
"type": {
- "$ref": "2384"
+ "$ref": "2419"
},
"optional": false,
"readOnly": false,
@@ -97482,7 +104387,7 @@
]
},
"json_object": {
- "$id": "7449",
+ "$id": "8046",
"kind": "model",
"name": "DotNetAssistantResponseFormatJsonObject",
"namespace": "OpenAI",
@@ -97492,16 +104397,16 @@
"discriminatorValue": "json_object",
"decorators": [],
"baseModel": {
- "$ref": "7445"
+ "$ref": "8042"
},
"properties": [
{
- "$id": "7450",
+ "$id": "8047",
"kind": "property",
"name": "type",
"doc": "The type of response format being defined. Always `json_object`.",
"type": {
- "$ref": "13"
+ "$ref": "2397"
},
"optional": false,
"readOnly": false,
@@ -97515,7 +104420,7 @@
]
},
"json_schema": {
- "$id": "7451",
+ "$id": "8048",
"kind": "model",
"name": "DotNetAssistantResponseFormatJsonSchema",
"namespace": "OpenAI",
@@ -97525,15 +104430,15 @@
"discriminatorValue": "json_schema",
"decorators": [],
"baseModel": {
- "$ref": "7445"
+ "$ref": "8042"
},
"properties": [
{
- "$id": "7452",
+ "$id": "8049",
"kind": "property",
"name": "type",
"type": {
- "$ref": "14"
+ "$ref": "2405"
},
"optional": false,
"readOnly": false,
@@ -97545,11 +104450,11 @@
"isHttpMetadata": false
},
{
- "$id": "7453",
+ "$id": "8050",
"kind": "property",
"name": "json_schema",
"type": {
- "$id": "7454",
+ "$id": "8051",
"kind": "model",
"name": "DotNetAssistantResponseFormatJsonSchemaJsonSchema",
"namespace": "OpenAI",
@@ -97558,11 +104463,11 @@
"decorators": [],
"properties": [
{
- "$id": "7455",
+ "$id": "8052",
"kind": "property",
"name": "description",
"type": {
- "$id": "7456",
+ "$id": "8053",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97578,11 +104483,11 @@
"isHttpMetadata": false
},
{
- "$id": "7457",
+ "$id": "8054",
"kind": "property",
"name": "name",
"type": {
- "$id": "7458",
+ "$id": "8055",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97598,11 +104503,11 @@
"isHttpMetadata": false
},
{
- "$id": "7459",
+ "$id": "8056",
"kind": "property",
"name": "schema",
"type": {
- "$id": "7460",
+ "$id": "8057",
"kind": "unknown",
"name": "unknown",
"crossLanguageDefinitionId": "",
@@ -97618,14 +104523,14 @@
"isHttpMetadata": false
},
{
- "$id": "7461",
+ "$id": "8058",
"kind": "property",
"name": "strict",
"type": {
- "$id": "7462",
+ "$id": "8059",
"kind": "nullable",
"type": {
- "$id": "7463",
+ "$id": "8060",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -97658,19 +104563,19 @@
}
},
{
- "$ref": "7447"
+ "$ref": "8044"
},
{
- "$ref": "7449"
+ "$ref": "8046"
},
{
- "$ref": "7451"
+ "$ref": "8048"
},
{
- "$ref": "7454"
+ "$ref": "8051"
},
{
- "$id": "7464",
+ "$id": "8061",
"kind": "model",
"name": "DotNetAudioLogProbsProperties",
"namespace": "OpenAI",
@@ -97680,12 +104585,12 @@
"decorators": [],
"properties": [
{
- "$id": "7465",
+ "$id": "8062",
"kind": "property",
"name": "token",
"doc": "The token that was used to generate the log probability.",
"type": {
- "$id": "7466",
+ "$id": "8063",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97701,12 +104606,12 @@
"isHttpMetadata": false
},
{
- "$id": "7467",
+ "$id": "8064",
"kind": "property",
"name": "logprob",
"doc": "The log probability of the token.",
"type": {
- "$id": "7468",
+ "$id": "8065",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -97722,12 +104627,12 @@
"isHttpMetadata": false
},
{
- "$id": "7469",
+ "$id": "8066",
"kind": "property",
"name": "bytes",
"doc": "The bytes that were used to generate the log probability.",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": false,
"readOnly": false,
@@ -97741,7 +104646,7 @@
]
},
{
- "$id": "7470",
+ "$id": "8067",
"kind": "model",
"name": "DotNetRealtimeLogProbsProperties",
"namespace": "OpenAI",
@@ -97751,12 +104656,12 @@
"decorators": [],
"properties": [
{
- "$id": "7471",
+ "$id": "8068",
"kind": "property",
"name": "token",
"doc": "The token that was used to generate the log probability.",
"type": {
- "$id": "7472",
+ "$id": "8069",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97772,12 +104677,12 @@
"isHttpMetadata": false
},
{
- "$id": "7473",
+ "$id": "8070",
"kind": "property",
"name": "logprob",
"doc": "The log probability of the token.",
"type": {
- "$id": "7474",
+ "$id": "8071",
"kind": "float32",
"name": "float32",
"crossLanguageDefinitionId": "TypeSpec.float32",
@@ -97793,12 +104698,12 @@
"isHttpMetadata": false
},
{
- "$id": "7475",
+ "$id": "8072",
"kind": "property",
"name": "bytes",
"doc": "The bytes that were used to generate the log probability.",
"type": {
- "$ref": "2565"
+ "$ref": "2606"
},
"optional": false,
"readOnly": false,
@@ -97812,7 +104717,7 @@
]
},
{
- "$id": "7476",
+ "$id": "8073",
"kind": "model",
"name": "ResponseItemCollectionOptions",
"namespace": "OpenAI",
@@ -97822,12 +104727,12 @@
"decorators": [],
"properties": [
{
- "$id": "7477",
+ "$id": "8074",
"kind": "property",
"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": "7478",
+ "$id": "8075",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97843,12 +104748,12 @@
"isHttpMetadata": true
},
{
- "$id": "7479",
+ "$id": "8076",
"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": "7480",
+ "$id": "8077",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -97864,12 +104769,12 @@
"isHttpMetadata": true
},
{
- "$id": "7481",
+ "$id": "8078",
"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": "7482",
+ "$id": "8079",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -97885,12 +104790,12 @@
"isHttpMetadata": true
},
{
- "$id": "7483",
+ "$id": "8080",
"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": "1351"
+ "$ref": "1375"
},
"optional": true,
"readOnly": false,
@@ -97904,7 +104809,7 @@
]
},
{
- "$id": "7484",
+ "$id": "8081",
"kind": "model",
"name": "DotNetCustomToolCallApprovalPolicy",
"namespace": "OpenAI",
@@ -97914,12 +104819,12 @@
"decorators": [],
"properties": [
{
- "$id": "7485",
+ "$id": "8082",
"kind": "property",
"name": "always",
"doc": "A list of tools that always require approval.",
"type": {
- "$ref": "4276"
+ "$ref": "4458"
},
"optional": true,
"readOnly": false,
@@ -97931,12 +104836,12 @@
"isHttpMetadata": false
},
{
- "$id": "7486",
+ "$id": "8083",
"kind": "property",
"name": "never",
"doc": "A list of tools that never require approval.",
"type": {
- "$ref": "4276"
+ "$ref": "4458"
},
"optional": true,
"readOnly": false,
@@ -97950,7 +104855,7 @@
]
},
{
- "$id": "7487",
+ "$id": "8084",
"kind": "model",
"name": "DotNetToolCallApprovalPolicy",
"namespace": "OpenAI",
@@ -97960,11 +104865,11 @@
"decorators": [],
"properties": [
{
- "$id": "7488",
+ "$id": "8085",
"kind": "property",
"name": "global_policy",
"type": {
- "$ref": "1355"
+ "$ref": "1379"
},
"optional": true,
"readOnly": false,
@@ -97976,11 +104881,11 @@
"isHttpMetadata": false
},
{
- "$id": "7489",
+ "$id": "8086",
"kind": "property",
"name": "custom_policy",
"type": {
- "$ref": "7484"
+ "$ref": "8081"
},
"optional": true,
"readOnly": false,
@@ -97994,7 +104899,7 @@
]
},
{
- "$id": "7490",
+ "$id": "8087",
"kind": "model",
"name": "DotNetCodeInterpreterToolContainer",
"namespace": "OpenAI",
@@ -98004,11 +104909,11 @@
"decorators": [],
"properties": [
{
- "$id": "7491",
+ "$id": "8088",
"kind": "property",
"name": "container_id",
"type": {
- "$id": "7492",
+ "$id": "8089",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98024,11 +104929,11 @@
"isHttpMetadata": false
},
{
- "$id": "7493",
+ "$id": "8090",
"kind": "property",
"name": "container",
"type": {
- "$ref": "4235"
+ "$ref": "4411"
},
"optional": true,
"readOnly": false,
@@ -98042,7 +104947,7 @@
]
},
{
- "$id": "7494",
+ "$id": "8091",
"kind": "model",
"name": "DotNetCombinedChunkingStrategyParam",
"namespace": "OpenAI",
@@ -98050,11 +104955,11 @@
"usage": "Input,Output",
"decorators": [],
"discriminatorProperty": {
- "$id": "7495",
+ "$id": "8092",
"kind": "property",
"name": "type",
"type": {
- "$ref": "1359"
+ "$ref": "1383"
},
"optional": false,
"readOnly": false,
@@ -98067,12 +104972,12 @@
},
"properties": [
{
- "$ref": "7495"
+ "$ref": "8092"
}
],
"discriminatedSubtypes": {
"auto": {
- "$id": "7496",
+ "$id": "8093",
"kind": "model",
"name": "DotNetCombinedAutoChunkingStrategyParam",
"namespace": "OpenAI",
@@ -98082,16 +104987,88 @@
"discriminatorValue": "auto",
"decorators": [],
"baseModel": {
- "$ref": "7494"
+ "$ref": "8091"
},
"properties": [
{
- "$id": "7497",
+ "$id": "8094",
"kind": "property",
"name": "type",
"doc": "Always `auto`.",
"type": {
- "$ref": "1361"
+ "$id": "8095",
+ "kind": "enumvalue",
+ "name": "auto",
+ "value": "auto",
+ "valueType": {
+ "$ref": "1384"
+ },
+ "enumType": {
+ "$id": "8096",
+ "kind": "enum",
+ "decorators": [],
+ "name": "DotNetCombinedChunkingStrategyParamType",
+ "isGeneratedName": true,
+ "namespace": "OpenAI",
+ "valueType": {
+ "$id": "8097",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "values": [
+ {
+ "$id": "8098",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "auto",
+ "value": "auto",
+ "valueType": {
+ "$ref": "8097"
+ },
+ "enumType": {
+ "$ref": "8096"
+ }
+ },
+ {
+ "$id": "8099",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "static",
+ "value": "static",
+ "valueType": {
+ "$ref": "8097"
+ },
+ "enumType": {
+ "$ref": "8096"
+ }
+ },
+ {
+ "$id": "8100",
+ "kind": "enumvalue",
+ "decorators": [],
+ "name": "other",
+ "value": "other",
+ "valueType": {
+ "$ref": "8097"
+ },
+ "enumType": {
+ "$ref": "8096"
+ }
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output",
+ "access": "public",
+ "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam.type.anonymous",
+ "apiVersions": [],
+ "isUnionAsEnum": true,
+ "__accessSet": true
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -98105,7 +105082,7 @@
]
},
"static": {
- "$id": "7498",
+ "$id": "8101",
"kind": "model",
"name": "DotNetCombinedStaticChunkingStrategyParam",
"namespace": "OpenAI",
@@ -98115,16 +105092,26 @@
"discriminatorValue": "static",
"decorators": [],
"baseModel": {
- "$ref": "7494"
+ "$ref": "8091"
},
"properties": [
{
- "$id": "7499",
+ "$id": "8102",
"kind": "property",
"name": "type",
"doc": "Always `static`.",
"type": {
- "$ref": "1362"
+ "$id": "8103",
+ "kind": "enumvalue",
+ "name": "static",
+ "value": "static",
+ "valueType": {
+ "$ref": "1384"
+ },
+ "enumType": {
+ "$ref": "8096"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -98136,11 +105123,11 @@
"isHttpMetadata": false
},
{
- "$id": "7500",
+ "$id": "8104",
"kind": "property",
"name": "static",
"type": {
- "$ref": "2439"
+ "$ref": "2480"
},
"optional": false,
"readOnly": false,
@@ -98154,7 +105141,7 @@
]
},
"other": {
- "$id": "7501",
+ "$id": "8105",
"kind": "model",
"name": "DotNetCombinedOtherChunkingStrategyParam",
"namespace": "OpenAI",
@@ -98164,16 +105151,26 @@
"discriminatorValue": "other",
"decorators": [],
"baseModel": {
- "$ref": "7494"
+ "$ref": "8091"
},
"properties": [
{
- "$id": "7502",
+ "$id": "8106",
"kind": "property",
"name": "type",
"doc": "Always `other`.",
"type": {
- "$ref": "1363"
+ "$id": "8107",
+ "kind": "enumvalue",
+ "name": "other",
+ "value": "other",
+ "valueType": {
+ "$ref": "1384"
+ },
+ "enumType": {
+ "$ref": "8096"
+ },
+ "decorators": []
},
"optional": false,
"readOnly": false,
@@ -98189,16 +105186,16 @@
}
},
{
- "$ref": "7496"
+ "$ref": "8093"
},
{
- "$ref": "7498"
+ "$ref": "8101"
},
{
- "$ref": "7501"
+ "$ref": "8105"
},
{
- "$id": "7503",
+ "$id": "8108",
"kind": "model",
"name": "VectorStoreCollectionOptions",
"namespace": "OpenAI",
@@ -98208,12 +105205,12 @@
"decorators": [],
"properties": [
{
- "$id": "7504",
+ "$id": "8109",
"kind": "property",
"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": "7505",
+ "$id": "8110",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98229,12 +105226,12 @@
"isHttpMetadata": true
},
{
- "$id": "7506",
+ "$id": "8111",
"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": "7507",
+ "$id": "8112",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98250,12 +105247,12 @@
"isHttpMetadata": true
},
{
- "$id": "7508",
+ "$id": "8113",
"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": "7509",
+ "$id": "8114",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -98271,12 +105268,12 @@
"isHttpMetadata": true
},
{
- "$id": "7510",
+ "$id": "8115",
"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": "1364"
+ "$ref": "1388"
},
"optional": true,
"readOnly": false,
@@ -98290,7 +105287,7 @@
]
},
{
- "$id": "7511",
+ "$id": "8116",
"kind": "model",
"name": "VectorStoreFileCollectionOptions",
"namespace": "OpenAI",
@@ -98300,12 +105297,12 @@
"decorators": [],
"properties": [
{
- "$id": "7512",
+ "$id": "8117",
"kind": "property",
"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": "7513",
+ "$id": "8118",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98321,12 +105318,12 @@
"isHttpMetadata": true
},
{
- "$id": "7514",
+ "$id": "8119",
"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": "7515",
+ "$id": "8120",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98342,12 +105339,12 @@
"isHttpMetadata": true
},
{
- "$id": "7516",
+ "$id": "8121",
"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": "7517",
+ "$id": "8122",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -98363,12 +105360,12 @@
"isHttpMetadata": true
},
{
- "$id": "7518",
+ "$id": "8123",
"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": "1368"
+ "$ref": "1392"
},
"optional": true,
"readOnly": false,
@@ -98380,11 +105377,11 @@
"isHttpMetadata": true
},
{
- "$id": "7519",
+ "$id": "8124",
"kind": "property",
"name": "filter",
"type": {
- "$ref": "1372"
+ "$ref": "1396"
},
"optional": true,
"readOnly": false,
@@ -98400,20 +105397,20 @@
],
"clients": [
{
- "$id": "7520",
+ "$id": "8125",
"kind": "client",
"name": "OpenAIClient",
"namespace": "OpenAI",
"methods": [],
"parameters": [
{
- "$id": "7521",
+ "$id": "8126",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7522",
+ "$id": "8127",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -98424,7 +105421,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7523",
+ "$id": "8128",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -98437,37 +105434,38 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 1,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI",
"apiVersions": [],
"children": [
{
- "$id": "7524",
+ "$id": "8129",
"kind": "client",
"name": "Assistants",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7525",
+ "$id": "8130",
"kind": "paging",
"name": "GetAssistants",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of assistants.",
"operation": {
- "$id": "7526",
+ "$id": "8131",
"name": "GetAssistants",
"resourceName": "Assistants",
"summary": "Returns a list of assistants.",
"accessibility": "public",
"parameters": [
{
- "$id": "7527",
+ "$id": "8132",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1731"
+ "$ref": "1751"
},
"isApiVersion": false,
"optional": false,
@@ -98478,12 +105476,12 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.accept"
},
{
- "$id": "7528",
+ "$id": "8133",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1733"
+ "$ref": "1753"
},
"isApiVersion": false,
"optional": false,
@@ -98494,13 +105492,13 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.openAIBeta"
},
{
- "$id": "7529",
+ "$id": "8134",
"kind": "query",
"name": "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": "7530",
+ "$id": "8135",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -98515,13 +105513,13 @@
"readOnly": false
},
{
- "$id": "7531",
+ "$id": "8136",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -98532,13 +105530,13 @@
"readOnly": false
},
{
- "$id": "7532",
+ "$id": "8137",
"kind": "query",
"name": "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": "7533",
+ "$id": "8138",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98553,13 +105551,13 @@
"readOnly": false
},
{
- "$id": "7534",
+ "$id": "8139",
"kind": "query",
"name": "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": "7535",
+ "$id": "8140",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98580,7 +105578,7 @@
200
],
"bodyType": {
- "$ref": "2287"
+ "$ref": "2307"
},
"headers": [],
"isErrorResponse": false,
@@ -98600,12 +105598,12 @@
},
"parameters": [
{
- "$id": "7536",
+ "$id": "8141",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1735"
+ "$ref": "1755"
},
"location": "Header",
"isApiVersion": false,
@@ -98617,12 +105615,12 @@
"decorators": []
},
{
- "$id": "7537",
+ "$id": "8142",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1737"
+ "$ref": "1757"
},
"location": "Header",
"isApiVersion": false,
@@ -98634,13 +105632,13 @@
"decorators": []
},
{
- "$id": "7538",
+ "$id": "8143",
"kind": "method",
"name": "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": "7539",
+ "$id": "8144",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -98656,13 +105654,13 @@
"decorators": []
},
{
- "$id": "7540",
+ "$id": "8145",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -98674,13 +105672,13 @@
"decorators": []
},
{
- "$id": "7541",
+ "$id": "8146",
"kind": "method",
"name": "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": "7542",
+ "$id": "8147",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98696,13 +105694,13 @@
"decorators": []
},
{
- "$id": "7543",
+ "$id": "8148",
"kind": "method",
"name": "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": "7544",
+ "$id": "8149",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -98720,7 +105718,7 @@
],
"response": {
"type": {
- "$ref": "2290"
+ "$ref": "2310"
},
"resultSegments": [
"data"
@@ -98736,7 +105734,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "7532"
+ "$ref": "8137"
},
"responseSegments": [
"last_id"
@@ -98746,26 +105744,26 @@
}
},
{
- "$id": "7545",
+ "$id": "8150",
"kind": "basic",
"name": "createAssistant",
"accessibility": "public",
"apiVersions": [],
"summary": "Create an assistant with a model and instructions.",
"operation": {
- "$id": "7546",
+ "$id": "8151",
"name": "createAssistant",
"resourceName": "Assistants",
"summary": "Create an assistant with a model and instructions.",
"accessibility": "public",
"parameters": [
{
- "$id": "7547",
+ "$id": "8152",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1739"
+ "$ref": "1759"
},
"isApiVersion": false,
"optional": false,
@@ -98776,12 +105774,12 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.accept"
},
{
- "$id": "7548",
+ "$id": "8153",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1741"
+ "$ref": "1761"
},
"isApiVersion": false,
"optional": false,
@@ -98792,13 +105790,13 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.openAIBeta"
},
{
- "$id": "7549",
+ "$id": "8154",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1743"
+ "$ref": "1763"
},
"isApiVersion": false,
"optional": false,
@@ -98809,12 +105807,12 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.contentType"
},
{
- "$id": "7550",
+ "$id": "8155",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2404"
+ "$ref": "2439"
},
"isApiVersion": false,
"contentTypes": [
@@ -98834,7 +105832,7 @@
200
],
"bodyType": {
- "$ref": "2291"
+ "$ref": "2311"
},
"headers": [],
"isErrorResponse": false,
@@ -98857,12 +105855,12 @@
},
"parameters": [
{
- "$id": "7551",
+ "$id": "8156",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1745"
+ "$ref": "1765"
},
"location": "Header",
"isApiVersion": false,
@@ -98874,12 +105872,12 @@
"decorators": []
},
{
- "$id": "7552",
+ "$id": "8157",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1747"
+ "$ref": "1767"
},
"location": "Header",
"isApiVersion": false,
@@ -98891,12 +105889,12 @@
"decorators": []
},
{
- "$id": "7553",
+ "$id": "8158",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2404"
+ "$ref": "2439"
},
"location": "Body",
"isApiVersion": false,
@@ -98908,13 +105906,13 @@
"decorators": []
},
{
- "$id": "7554",
+ "$id": "8159",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1743"
+ "$ref": "1763"
},
"location": "Header",
"isApiVersion": false,
@@ -98928,7 +105926,7 @@
],
"response": {
"type": {
- "$ref": "2291"
+ "$ref": "2311"
}
},
"isOverride": false,
@@ -98937,26 +105935,26 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant"
},
{
- "$id": "7555",
+ "$id": "8160",
"kind": "basic",
"name": "getAssistant",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves an assistant.",
"operation": {
- "$id": "7556",
+ "$id": "8161",
"name": "getAssistant",
"resourceName": "Assistants",
"summary": "Retrieves an assistant.",
"accessibility": "public",
"parameters": [
{
- "$id": "7557",
+ "$id": "8162",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1749"
+ "$ref": "1769"
},
"isApiVersion": false,
"optional": false,
@@ -98967,12 +105965,12 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.accept"
},
{
- "$id": "7558",
+ "$id": "8163",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1751"
+ "$ref": "1771"
},
"isApiVersion": false,
"optional": false,
@@ -98983,13 +105981,13 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.openAIBeta"
},
{
- "$id": "7559",
+ "$id": "8164",
"kind": "path",
"name": "assistant_id",
"serializedName": "assistant_id",
"doc": "The ID of the assistant to retrieve.",
"type": {
- "$id": "7560",
+ "$id": "8165",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99013,7 +106011,7 @@
200
],
"bodyType": {
- "$ref": "2291"
+ "$ref": "2311"
},
"headers": [],
"isErrorResponse": false,
@@ -99033,12 +106031,12 @@
},
"parameters": [
{
- "$id": "7561",
+ "$id": "8166",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1753"
+ "$ref": "1773"
},
"location": "Header",
"isApiVersion": false,
@@ -99050,12 +106048,12 @@
"decorators": []
},
{
- "$id": "7562",
+ "$id": "8167",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1755"
+ "$ref": "1775"
},
"location": "Header",
"isApiVersion": false,
@@ -99067,13 +106065,13 @@
"decorators": []
},
{
- "$id": "7563",
+ "$id": "8168",
"kind": "method",
"name": "assistant_id",
"serializedName": "assistant_id",
"doc": "The ID of the assistant to retrieve.",
"type": {
- "$id": "7564",
+ "$id": "8169",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99091,7 +106089,7 @@
],
"response": {
"type": {
- "$ref": "2291"
+ "$ref": "2311"
}
},
"isOverride": false,
@@ -99100,26 +106098,26 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant"
},
{
- "$id": "7565",
+ "$id": "8170",
"kind": "basic",
"name": "modifyAssistant",
"accessibility": "public",
"apiVersions": [],
"summary": "Modifies an assistant.",
"operation": {
- "$id": "7566",
+ "$id": "8171",
"name": "modifyAssistant",
"resourceName": "Assistants",
"summary": "Modifies an assistant.",
"accessibility": "public",
"parameters": [
{
- "$id": "7567",
+ "$id": "8172",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1757"
+ "$ref": "1777"
},
"isApiVersion": false,
"optional": false,
@@ -99130,12 +106128,12 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.accept"
},
{
- "$id": "7568",
+ "$id": "8173",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1759"
+ "$ref": "1779"
},
"isApiVersion": false,
"optional": false,
@@ -99146,13 +106144,13 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.openAIBeta"
},
{
- "$id": "7569",
+ "$id": "8174",
"kind": "path",
"name": "assistant_id",
"serializedName": "assistant_id",
"doc": "The ID of the assistant to modify.",
"type": {
- "$id": "7570",
+ "$id": "8175",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99170,13 +106168,13 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.assistant_id"
},
{
- "$id": "7571",
+ "$id": "8176",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1761"
+ "$ref": "1781"
},
"isApiVersion": false,
"optional": false,
@@ -99187,12 +106185,12 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.contentType"
},
{
- "$id": "7572",
+ "$id": "8177",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2454"
+ "$ref": "2495"
},
"isApiVersion": false,
"contentTypes": [
@@ -99212,7 +106210,7 @@
200
],
"bodyType": {
- "$ref": "2291"
+ "$ref": "2311"
},
"headers": [],
"isErrorResponse": false,
@@ -99235,12 +106233,12 @@
},
"parameters": [
{
- "$id": "7573",
+ "$id": "8178",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1763"
+ "$ref": "1783"
},
"location": "Header",
"isApiVersion": false,
@@ -99252,12 +106250,12 @@
"decorators": []
},
{
- "$id": "7574",
+ "$id": "8179",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1765"
+ "$ref": "1785"
},
"location": "Header",
"isApiVersion": false,
@@ -99269,13 +106267,13 @@
"decorators": []
},
{
- "$id": "7575",
+ "$id": "8180",
"kind": "method",
"name": "assistant_id",
"serializedName": "assistant_id",
"doc": "The ID of the assistant to modify.",
"type": {
- "$id": "7576",
+ "$id": "8181",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99291,12 +106289,12 @@
"decorators": []
},
{
- "$id": "7577",
+ "$id": "8182",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2454"
+ "$ref": "2495"
},
"location": "Body",
"isApiVersion": false,
@@ -99308,13 +106306,13 @@
"decorators": []
},
{
- "$id": "7578",
+ "$id": "8183",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1761"
+ "$ref": "1781"
},
"location": "Header",
"isApiVersion": false,
@@ -99328,7 +106326,7 @@
],
"response": {
"type": {
- "$ref": "2291"
+ "$ref": "2311"
}
},
"isOverride": false,
@@ -99337,26 +106335,26 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant"
},
{
- "$id": "7579",
+ "$id": "8184",
"kind": "basic",
"name": "deleteAssistant",
"accessibility": "public",
"apiVersions": [],
"summary": "Delete an assistant.",
"operation": {
- "$id": "7580",
+ "$id": "8185",
"name": "deleteAssistant",
"resourceName": "Assistants",
"summary": "Delete an assistant.",
"accessibility": "public",
"parameters": [
{
- "$id": "7581",
+ "$id": "8186",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1767"
+ "$ref": "1787"
},
"isApiVersion": false,
"optional": false,
@@ -99367,12 +106365,12 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.accept"
},
{
- "$id": "7582",
+ "$id": "8187",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1769"
+ "$ref": "1789"
},
"isApiVersion": false,
"optional": false,
@@ -99383,13 +106381,13 @@
"crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.openAIBeta"
},
{
- "$id": "7583",
+ "$id": "8188",
"kind": "path",
"name": "assistant_id",
"serializedName": "assistant_id",
"doc": "The ID of the assistant to delete.",
"type": {
- "$id": "7584",
+ "$id": "8189",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99413,7 +106411,7 @@
200
],
"bodyType": {
- "$ref": "2484"
+ "$ref": "2525"
},
"headers": [],
"isErrorResponse": false,
@@ -99433,12 +106431,12 @@
},
"parameters": [
{
- "$id": "7585",
+ "$id": "8190",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1771"
+ "$ref": "1791"
},
"location": "Header",
"isApiVersion": false,
@@ -99450,12 +106448,12 @@
"decorators": []
},
{
- "$id": "7586",
+ "$id": "8191",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "1773"
+ "$ref": "1793"
},
"location": "Header",
"isApiVersion": false,
@@ -99467,13 +106465,13 @@
"decorators": []
},
{
- "$id": "7587",
+ "$id": "8192",
"kind": "method",
"name": "assistant_id",
"serializedName": "assistant_id",
"doc": "The ID of the assistant to delete.",
"type": {
- "$id": "7588",
+ "$id": "8193",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99491,7 +106489,7 @@
],
"response": {
"type": {
- "$ref": "2484"
+ "$ref": "2525"
}
},
"isOverride": false,
@@ -99502,13 +106500,13 @@
],
"parameters": [
{
- "$id": "7589",
+ "$id": "8194",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7590",
+ "$id": "8195",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -99519,7 +106517,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7591",
+ "$id": "8196",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -99532,40 +106530,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Assistants",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "7592",
+ "$id": "8197",
"kind": "client",
"name": "Audio",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7593",
+ "$id": "8198",
"kind": "basic",
"name": "GenerateSpeech",
"accessibility": "public",
"apiVersions": [],
"summary": "Generates audio from the input text.",
"operation": {
- "$id": "7594",
+ "$id": "8199",
"name": "GenerateSpeech",
"resourceName": "Audio",
"summary": "Generates audio from the input text.",
"accessibility": "public",
"parameters": [
{
- "$id": "7595",
+ "$id": "8200",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1775"
+ "$ref": "1795"
},
"isApiVersion": false,
"optional": false,
@@ -99576,13 +106575,13 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.accept"
},
{
- "$id": "7596",
+ "$id": "8201",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1777"
+ "$ref": "1797"
},
"isApiVersion": false,
"optional": false,
@@ -99593,12 +106592,12 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.contentType"
},
{
- "$id": "7597",
+ "$id": "8202",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2490"
+ "$ref": "2531"
},
"isApiVersion": false,
"contentTypes": [
@@ -99618,7 +106617,7 @@
200
],
"bodyType": {
- "$id": "7598",
+ "$id": "8203",
"kind": "bytes",
"name": "bytes",
"crossLanguageDefinitionId": "TypeSpec.bytes",
@@ -99630,7 +106629,7 @@
"nameInResponse": "Transfer-Encoding",
"doc": "chunked",
"type": {
- "$id": "7599",
+ "$id": "8204",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99641,7 +106640,7 @@
"name": "contentType",
"nameInResponse": "content-type",
"type": {
- "$ref": "1779"
+ "$ref": "1799"
}
}
],
@@ -99665,12 +106664,12 @@
},
"parameters": [
{
- "$id": "7600",
+ "$id": "8205",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1781"
+ "$ref": "1801"
},
"location": "Header",
"isApiVersion": false,
@@ -99682,12 +106681,12 @@
"decorators": []
},
{
- "$id": "7601",
+ "$id": "8206",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2490"
+ "$ref": "2531"
},
"location": "Body",
"isApiVersion": false,
@@ -99699,13 +106698,13 @@
"decorators": []
},
{
- "$id": "7602",
+ "$id": "8207",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1777"
+ "$ref": "1797"
},
"location": "Header",
"isApiVersion": false,
@@ -99719,7 +106718,7 @@
],
"response": {
"type": {
- "$ref": "7598"
+ "$ref": "8203"
}
},
"isOverride": false,
@@ -99728,26 +106727,26 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createSpeech"
},
{
- "$id": "7603",
+ "$id": "8208",
"kind": "basic",
"name": "TranscribeAudio",
"accessibility": "public",
"apiVersions": [],
"summary": "Transcribes audio into the input language.",
"operation": {
- "$id": "7604",
+ "$id": "8209",
"name": "TranscribeAudio",
"resourceName": "Audio",
"summary": "Transcribes audio into the input language.",
"accessibility": "public",
"parameters": [
{
- "$id": "7605",
+ "$id": "8210",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"isApiVersion": false,
"optional": false,
@@ -99758,12 +106757,12 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.accept"
},
{
- "$id": "7606",
+ "$id": "8211",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1783"
+ "$ref": "1803"
},
"isApiVersion": false,
"optional": false,
@@ -99774,12 +106773,12 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.contentType"
},
{
- "$id": "7607",
+ "$id": "8212",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2500"
+ "$ref": "2541"
},
"isApiVersion": false,
"contentTypes": [
@@ -99799,39 +106798,39 @@
200
],
"bodyType": {
- "$id": "7608",
+ "$id": "8213",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$id": "7609",
+ "$id": "8214",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$id": "7610",
+ "$id": "8215",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$ref": "2529"
+ "$ref": "2570"
},
{
- "$ref": "2575"
+ "$ref": "2616"
}
],
"namespace": "",
"decorators": []
},
{
- "$ref": "2588"
+ "$ref": "2629"
}
],
"namespace": "",
"decorators": []
},
{
- "$id": "7611",
+ "$id": "8216",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -99846,14 +106845,14 @@
"name": "contentType",
"nameInResponse": "Content-Type",
"type": {
- "$ref": "1785"
+ "$ref": "1805"
}
},
{
"name": "contentType",
"nameInResponse": "content-type",
"type": {
- "$ref": "1787"
+ "$ref": "1807"
}
}
],
@@ -99880,12 +106879,12 @@
},
"parameters": [
{
- "$id": "7612",
+ "$id": "8217",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"location": "Header",
"isApiVersion": false,
@@ -99897,12 +106896,12 @@
"decorators": []
},
{
- "$id": "7613",
+ "$id": "8218",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1789"
+ "$ref": "1809"
},
"location": "Header",
"isApiVersion": false,
@@ -99914,12 +106913,12 @@
"decorators": []
},
{
- "$id": "7614",
+ "$id": "8219",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2500"
+ "$ref": "2541"
},
"location": "Body",
"isApiVersion": false,
@@ -99933,7 +106932,7 @@
],
"response": {
"type": {
- "$ref": "7608"
+ "$ref": "8213"
}
},
"isOverride": false,
@@ -99942,26 +106941,26 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createTranscription"
},
{
- "$id": "7615",
+ "$id": "8220",
"kind": "basic",
"name": "TranslateAudio",
"accessibility": "public",
"apiVersions": [],
"summary": "Translates audio into English..",
"operation": {
- "$id": "7616",
+ "$id": "8221",
"name": "TranslateAudio",
"resourceName": "Audio",
"summary": "Translates audio into English..",
"accessibility": "public",
"parameters": [
{
- "$id": "7617",
+ "$id": "8222",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1791"
+ "$ref": "1811"
},
"isApiVersion": false,
"optional": false,
@@ -99972,12 +106971,12 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.accept"
},
{
- "$id": "7618",
+ "$id": "8223",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1793"
+ "$ref": "1813"
},
"isApiVersion": false,
"optional": false,
@@ -99988,12 +106987,12 @@
"crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.contentType"
},
{
- "$id": "7619",
+ "$id": "8224",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2614"
+ "$ref": "2661"
},
"isApiVersion": false,
"contentTypes": [
@@ -100013,27 +107012,27 @@
200
],
"bodyType": {
- "$id": "7620",
+ "$id": "8225",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$id": "7621",
+ "$id": "8226",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$ref": "2624"
+ "$ref": "2671"
},
{
- "$ref": "2634"
+ "$ref": "2681"
}
],
"namespace": "",
"decorators": []
},
{
- "$id": "7622",
+ "$id": "8227",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100048,7 +107047,7 @@
"name": "contentType",
"nameInResponse": "content-type",
"type": {
- "$ref": "1795"
+ "$ref": "1815"
}
}
],
@@ -100074,12 +107073,12 @@
},
"parameters": [
{
- "$id": "7623",
+ "$id": "8228",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1797"
+ "$ref": "1817"
},
"location": "Header",
"isApiVersion": false,
@@ -100091,12 +107090,12 @@
"decorators": []
},
{
- "$id": "7624",
+ "$id": "8229",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1799"
+ "$ref": "1819"
},
"location": "Header",
"isApiVersion": false,
@@ -100108,12 +107107,12 @@
"decorators": []
},
{
- "$id": "7625",
+ "$id": "8230",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2614"
+ "$ref": "2661"
},
"location": "Body",
"isApiVersion": false,
@@ -100127,7 +107126,7 @@
],
"response": {
"type": {
- "$ref": "7620"
+ "$ref": "8225"
}
},
"isOverride": false,
@@ -100138,13 +107137,13 @@
],
"parameters": [
{
- "$id": "7626",
+ "$id": "8231",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7627",
+ "$id": "8232",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -100155,7 +107154,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7628",
+ "$id": "8233",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -100168,40 +107167,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Audio",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "7629",
+ "$id": "8234",
"kind": "client",
"name": "Batches",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7630",
+ "$id": "8235",
"kind": "basic",
"name": "createBatch",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates and executes a batch from an uploaded file of requests",
"operation": {
- "$id": "7631",
+ "$id": "8236",
"name": "createBatch",
"resourceName": "Batches",
"summary": "Creates and executes a batch from an uploaded file of requests",
"accessibility": "public",
"parameters": [
{
- "$id": "7632",
+ "$id": "8237",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1801"
+ "$ref": "1821"
},
"isApiVersion": false,
"optional": false,
@@ -100212,13 +107212,13 @@
"crossLanguageDefinitionId": "OpenAI.Batches.createBatch.accept"
},
{
- "$id": "7633",
+ "$id": "8238",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1803"
+ "$ref": "1823"
},
"isApiVersion": false,
"optional": false,
@@ -100229,12 +107229,12 @@
"crossLanguageDefinitionId": "OpenAI.Batches.createBatch.contentType"
},
{
- "$id": "7634",
+ "$id": "8239",
"kind": "body",
"name": "createBatchRequest",
"serializedName": "createBatchRequest",
"type": {
- "$ref": "2637"
+ "$ref": "2684"
},
"isApiVersion": false,
"contentTypes": [
@@ -100254,7 +107254,7 @@
200
],
"bodyType": {
- "$ref": "2643"
+ "$ref": "2690"
},
"headers": [],
"isErrorResponse": false,
@@ -100277,12 +107277,12 @@
},
"parameters": [
{
- "$id": "7635",
+ "$id": "8240",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1805"
+ "$ref": "1825"
},
"location": "Header",
"isApiVersion": false,
@@ -100294,13 +107294,13 @@
"decorators": []
},
{
- "$id": "7636",
+ "$id": "8241",
"kind": "method",
"name": "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": "7637",
+ "$id": "8242",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100316,7 +107316,7 @@
"decorators": []
},
{
- "$id": "7638",
+ "$id": "8243",
"kind": "method",
"name": "endpoint",
"serializedName": "endpoint",
@@ -100334,13 +107334,13 @@
"decorators": []
},
{
- "$id": "7639",
+ "$id": "8244",
"kind": "method",
"name": "completion_window",
"serializedName": "completion_window",
"doc": "The time frame within which the batch should be processed. Currently only `24h` is supported.",
"type": {
- "$ref": "1483"
+ "$ref": "1523"
},
"location": "Body",
"isApiVersion": false,
@@ -100352,13 +107352,13 @@
"decorators": []
},
{
- "$id": "7640",
+ "$id": "8245",
"kind": "method",
"name": "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": "2352"
+ "$ref": "2380"
},
"location": "Body",
"isApiVersion": false,
@@ -100370,13 +107370,13 @@
"decorators": []
},
{
- "$id": "7641",
+ "$id": "8246",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1803"
+ "$ref": "1823"
},
"location": "Header",
"isApiVersion": false,
@@ -100390,7 +107390,7 @@
],
"response": {
"type": {
- "$ref": "2643"
+ "$ref": "2690"
}
},
"isOverride": false,
@@ -100399,26 +107399,26 @@
"crossLanguageDefinitionId": "OpenAI.Batches.createBatch"
},
{
- "$id": "7642",
+ "$id": "8247",
"kind": "basic",
"name": "GetBatches",
"accessibility": "public",
"apiVersions": [],
"summary": "List your organization's batches.",
"operation": {
- "$id": "7643",
+ "$id": "8248",
"name": "GetBatches",
"resourceName": "Batches",
"summary": "List your organization's batches.",
"accessibility": "public",
"parameters": [
{
- "$id": "7644",
+ "$id": "8249",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1809"
+ "$ref": "1829"
},
"isApiVersion": false,
"optional": false,
@@ -100429,13 +107429,13 @@
"crossLanguageDefinitionId": "OpenAI.Batches.listBatches.accept"
},
{
- "$id": "7645",
+ "$id": "8250",
"kind": "query",
"name": "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": "7646",
+ "$id": "8251",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100450,13 +107450,13 @@
"readOnly": false
},
{
- "$id": "7647",
+ "$id": "8252",
"kind": "query",
"name": "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": "7648",
+ "$id": "8253",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -100477,7 +107477,7 @@
200
],
"bodyType": {
- "$ref": "2710"
+ "$ref": "2757"
},
"headers": [],
"isErrorResponse": false,
@@ -100497,12 +107497,12 @@
},
"parameters": [
{
- "$id": "7649",
+ "$id": "8254",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1811"
+ "$ref": "1831"
},
"location": "Header",
"isApiVersion": false,
@@ -100514,13 +107514,13 @@
"decorators": []
},
{
- "$id": "7650",
+ "$id": "8255",
"kind": "method",
"name": "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": "7651",
+ "$id": "8256",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100536,13 +107536,13 @@
"decorators": []
},
{
- "$id": "7652",
+ "$id": "8257",
"kind": "method",
"name": "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": "7653",
+ "$id": "8258",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -100560,7 +107560,7 @@
],
"response": {
"type": {
- "$ref": "2710"
+ "$ref": "2757"
}
},
"isOverride": false,
@@ -100569,26 +107569,26 @@
"crossLanguageDefinitionId": "OpenAI.Batches.listBatches"
},
{
- "$id": "7654",
+ "$id": "8259",
"kind": "basic",
"name": "GetBatch",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a batch.",
"operation": {
- "$id": "7655",
+ "$id": "8260",
"name": "GetBatch",
"resourceName": "Batches",
"summary": "Retrieves a batch.",
"accessibility": "public",
"parameters": [
{
- "$id": "7656",
+ "$id": "8261",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1813"
+ "$ref": "1833"
},
"isApiVersion": false,
"optional": false,
@@ -100599,13 +107599,13 @@
"crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.accept"
},
{
- "$id": "7657",
+ "$id": "8262",
"kind": "path",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the batch to retrieve.",
"type": {
- "$id": "7658",
+ "$id": "8263",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100629,7 +107629,7 @@
200
],
"bodyType": {
- "$ref": "2643"
+ "$ref": "2690"
},
"headers": [],
"isErrorResponse": false,
@@ -100649,12 +107649,12 @@
},
"parameters": [
{
- "$id": "7659",
+ "$id": "8264",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1815"
+ "$ref": "1835"
},
"location": "Header",
"isApiVersion": false,
@@ -100666,13 +107666,13 @@
"decorators": []
},
{
- "$id": "7660",
+ "$id": "8265",
"kind": "method",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the batch to retrieve.",
"type": {
- "$id": "7661",
+ "$id": "8266",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100690,7 +107690,7 @@
],
"response": {
"type": {
- "$ref": "2643"
+ "$ref": "2690"
}
},
"isOverride": false,
@@ -100699,26 +107699,26 @@
"crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch"
},
{
- "$id": "7662",
+ "$id": "8267",
"kind": "basic",
"name": "cancelBatch",
"accessibility": "public",
"apiVersions": [],
"summary": "Cancels an in-progress batch.",
"operation": {
- "$id": "7663",
+ "$id": "8268",
"name": "cancelBatch",
"resourceName": "Batches",
"summary": "Cancels an in-progress batch.",
"accessibility": "public",
"parameters": [
{
- "$id": "7664",
+ "$id": "8269",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1817"
+ "$ref": "1837"
},
"isApiVersion": false,
"optional": false,
@@ -100729,13 +107729,13 @@
"crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.accept"
},
{
- "$id": "7665",
+ "$id": "8270",
"kind": "path",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the batch to cancel.",
"type": {
- "$id": "7666",
+ "$id": "8271",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100759,7 +107759,7 @@
200
],
"bodyType": {
- "$ref": "2643"
+ "$ref": "2690"
},
"headers": [],
"isErrorResponse": false,
@@ -100779,12 +107779,12 @@
},
"parameters": [
{
- "$id": "7667",
+ "$id": "8272",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1819"
+ "$ref": "1839"
},
"location": "Header",
"isApiVersion": false,
@@ -100796,13 +107796,13 @@
"decorators": []
},
{
- "$id": "7668",
+ "$id": "8273",
"kind": "method",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the batch to cancel.",
"type": {
- "$id": "7669",
+ "$id": "8274",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100820,7 +107820,7 @@
],
"response": {
"type": {
- "$ref": "2643"
+ "$ref": "2690"
}
},
"isOverride": false,
@@ -100831,13 +107831,13 @@
],
"parameters": [
{
- "$id": "7670",
+ "$id": "8275",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7671",
+ "$id": "8276",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -100848,7 +107848,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7672",
+ "$id": "8277",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -100861,41 +107861,42 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Batches",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "7673",
+ "$id": "8278",
"kind": "client",
"name": "Chat",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7674",
+ "$id": "8279",
"kind": "paging",
"name": "listChatCompletions",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of chat completions.",
"operation": {
- "$id": "7675",
+ "$id": "8280",
"name": "listChatCompletions",
"resourceName": "Chat",
"summary": "Returns a list of chat completions.",
"accessibility": "public",
"parameters": [
{
- "$id": "7676",
+ "$id": "8281",
"kind": "query",
"name": "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": "7677",
+ "$id": "8282",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100910,13 +107911,13 @@
"readOnly": false
},
{
- "$id": "7678",
+ "$id": "8283",
"kind": "query",
"name": "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": "7679",
+ "$id": "8284",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -100931,13 +107932,13 @@
"readOnly": false
},
{
- "$id": "7680",
+ "$id": "8285",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -100948,12 +107949,12 @@
"readOnly": false
},
{
- "$id": "7681",
+ "$id": "8286",
"kind": "query",
"name": "metadata",
"serializedName": "metadata",
"type": {
- "$ref": "2352"
+ "$ref": "2380"
},
"isApiVersion": false,
"explode": false,
@@ -100964,12 +107965,12 @@
"readOnly": false
},
{
- "$id": "7682",
+ "$id": "8287",
"kind": "query",
"name": "model",
"serializedName": "model",
"type": {
- "$id": "7683",
+ "$id": "8288",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100984,12 +107985,12 @@
"readOnly": false
},
{
- "$id": "7684",
+ "$id": "8289",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1821"
+ "$ref": "1841"
},
"isApiVersion": false,
"optional": false,
@@ -101006,7 +108007,7 @@
200
],
"bodyType": {
- "$ref": "2720"
+ "$ref": "2767"
},
"headers": [],
"isErrorResponse": false,
@@ -101026,13 +108027,13 @@
},
"parameters": [
{
- "$id": "7685",
+ "$id": "8290",
"kind": "method",
"name": "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": "7686",
+ "$id": "8291",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101048,13 +108049,13 @@
"decorators": []
},
{
- "$id": "7687",
+ "$id": "8292",
"kind": "method",
"name": "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": "7688",
+ "$id": "8293",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -101070,13 +108071,13 @@
"decorators": []
},
{
- "$id": "7689",
+ "$id": "8294",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -101088,12 +108089,12 @@
"decorators": []
},
{
- "$id": "7690",
+ "$id": "8295",
"kind": "method",
"name": "metadata",
"serializedName": "metadata",
"type": {
- "$ref": "2352"
+ "$ref": "2380"
},
"location": "Query",
"isApiVersion": false,
@@ -101105,12 +108106,12 @@
"decorators": []
},
{
- "$id": "7691",
+ "$id": "8296",
"kind": "method",
"name": "model",
"serializedName": "model",
"type": {
- "$id": "7692",
+ "$id": "8297",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101126,12 +108127,12 @@
"decorators": []
},
{
- "$id": "7693",
+ "$id": "8298",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1821"
+ "$ref": "1841"
},
"location": "Header",
"isApiVersion": false,
@@ -101145,7 +108146,7 @@
],
"response": {
"type": {
- "$ref": "2723"
+ "$ref": "2770"
},
"resultSegments": [
"data"
@@ -101161,7 +108162,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "7676"
+ "$ref": "8281"
},
"responseSegments": [
"last_id"
@@ -101171,26 +108172,26 @@
}
},
{
- "$id": "7694",
+ "$id": "8299",
"kind": "basic",
"name": "CompleteChat",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates a model response for the given chat conversation.",
"operation": {
- "$id": "7695",
+ "$id": "8300",
"name": "CompleteChat",
"resourceName": "Chat",
"summary": "Creates a model response for the given chat conversation.",
"accessibility": "public",
"parameters": [
{
- "$id": "7696",
+ "$id": "8301",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1823"
+ "$ref": "1843"
},
"isApiVersion": false,
"optional": false,
@@ -101201,13 +108202,13 @@
"crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.accept"
},
{
- "$id": "7697",
+ "$id": "8302",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1825"
+ "$ref": "1845"
},
"isApiVersion": false,
"optional": false,
@@ -101218,12 +108219,12 @@
"crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.contentType"
},
{
- "$id": "7698",
+ "$id": "8303",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2851"
+ "$ref": "2909"
},
"isApiVersion": false,
"contentTypes": [
@@ -101243,15 +108244,15 @@
200
],
"bodyType": {
- "$id": "7699",
+ "$id": "8304",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$ref": "2724"
+ "$ref": "2771"
},
{
- "$ref": "3092"
+ "$ref": "3169"
}
],
"namespace": "",
@@ -101262,7 +108263,7 @@
"name": "contentType",
"nameInResponse": "Content-Type",
"type": {
- "$ref": "1827"
+ "$ref": "1847"
}
}
],
@@ -101287,12 +108288,12 @@
},
"parameters": [
{
- "$id": "7700",
+ "$id": "8305",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1829"
+ "$ref": "1849"
},
"location": "Header",
"isApiVersion": false,
@@ -101304,12 +108305,12 @@
"decorators": []
},
{
- "$id": "7701",
+ "$id": "8306",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "2851"
+ "$ref": "2909"
},
"location": "Body",
"isApiVersion": false,
@@ -101321,13 +108322,13 @@
"decorators": []
},
{
- "$id": "7702",
+ "$id": "8307",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1825"
+ "$ref": "1845"
},
"location": "Header",
"isApiVersion": false,
@@ -101341,7 +108342,7 @@
],
"response": {
"type": {
- "$ref": "7699"
+ "$ref": "8304"
}
},
"isOverride": false,
@@ -101350,27 +108351,27 @@
"crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion"
},
{
- "$id": "7703",
+ "$id": "8308",
"kind": "basic",
"name": "getChatCompletion",
"accessibility": "public",
"apiVersions": [],
"summary": "Get a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.",
"operation": {
- "$id": "7704",
+ "$id": "8309",
"name": "getChatCompletion",
"resourceName": "Chat",
"summary": "Get a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.",
"accessibility": "public",
"parameters": [
{
- "$id": "7705",
+ "$id": "8310",
"kind": "path",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to retrieve.",
"type": {
- "$id": "7706",
+ "$id": "8311",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101388,12 +108389,12 @@
"crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.completion_id"
},
{
- "$id": "7707",
+ "$id": "8312",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1831"
+ "$ref": "1851"
},
"isApiVersion": false,
"optional": false,
@@ -101410,7 +108411,7 @@
200
],
"bodyType": {
- "$ref": "2724"
+ "$ref": "2771"
},
"headers": [],
"isErrorResponse": false,
@@ -101430,13 +108431,13 @@
},
"parameters": [
{
- "$id": "7708",
+ "$id": "8313",
"kind": "method",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to retrieve.",
"type": {
- "$id": "7709",
+ "$id": "8314",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101452,12 +108453,12 @@
"decorators": []
},
{
- "$id": "7710",
+ "$id": "8315",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1831"
+ "$ref": "1851"
},
"location": "Header",
"isApiVersion": false,
@@ -101471,7 +108472,7 @@
],
"response": {
"type": {
- "$ref": "2724"
+ "$ref": "2771"
}
},
"isOverride": false,
@@ -101480,27 +108481,27 @@
"crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion"
},
{
- "$id": "7711",
+ "$id": "8316",
"kind": "basic",
"name": "updateChatCompletion",
"accessibility": "public",
"apiVersions": [],
"summary": "Modify a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be modified. Currently, the only supported modification is to update the `metadata` field.\")",
"operation": {
- "$id": "7712",
+ "$id": "8317",
"name": "updateChatCompletion",
"resourceName": "Chat",
"summary": "Modify a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be modified. Currently, the only supported modification is to update the `metadata` field.\")",
"accessibility": "public",
"parameters": [
{
- "$id": "7713",
+ "$id": "8318",
"kind": "path",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to update.",
"type": {
- "$id": "7714",
+ "$id": "8319",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101518,13 +108519,13 @@
"crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.completion_id"
},
{
- "$id": "7715",
+ "$id": "8320",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1833"
+ "$ref": "1853"
},
"isApiVersion": false,
"optional": false,
@@ -101535,12 +108536,12 @@
"crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.contentType"
},
{
- "$id": "7716",
+ "$id": "8321",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1835"
+ "$ref": "1855"
},
"isApiVersion": false,
"optional": false,
@@ -101551,12 +108552,12 @@
"crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.accept"
},
{
- "$id": "7717",
+ "$id": "8322",
"kind": "body",
"name": "updateChatCompletionRequest",
"serializedName": "updateChatCompletionRequest",
"type": {
- "$ref": "3160"
+ "$ref": "3237"
},
"isApiVersion": false,
"contentTypes": [
@@ -101576,7 +108577,7 @@
200
],
"bodyType": {
- "$ref": "2724"
+ "$ref": "2771"
},
"headers": [],
"isErrorResponse": false,
@@ -101599,13 +108600,13 @@
},
"parameters": [
{
- "$id": "7718",
+ "$id": "8323",
"kind": "method",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to update.",
"type": {
- "$id": "7719",
+ "$id": "8324",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101621,13 +108622,13 @@
"decorators": []
},
{
- "$id": "7720",
+ "$id": "8325",
"kind": "method",
"name": "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": "2352"
+ "$ref": "2380"
},
"location": "Body",
"isApiVersion": false,
@@ -101639,13 +108640,13 @@
"decorators": []
},
{
- "$id": "7721",
+ "$id": "8326",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1833"
+ "$ref": "1853"
},
"location": "Header",
"isApiVersion": false,
@@ -101657,12 +108658,12 @@
"decorators": []
},
{
- "$id": "7722",
+ "$id": "8327",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1835"
+ "$ref": "1855"
},
"location": "Header",
"isApiVersion": false,
@@ -101676,7 +108677,7 @@
],
"response": {
"type": {
- "$ref": "2724"
+ "$ref": "2771"
}
},
"isOverride": false,
@@ -101685,27 +108686,27 @@
"crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion"
},
{
- "$id": "7723",
+ "$id": "8328",
"kind": "basic",
"name": "deleteChatCompletion",
"accessibility": "public",
"apiVersions": [],
"summary": "Delete a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be deleted.",
"operation": {
- "$id": "7724",
+ "$id": "8329",
"name": "deleteChatCompletion",
"resourceName": "Chat",
"summary": "Delete a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be deleted.",
"accessibility": "public",
"parameters": [
{
- "$id": "7725",
+ "$id": "8330",
"kind": "path",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to delete.",
"type": {
- "$id": "7726",
+ "$id": "8331",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101723,12 +108724,12 @@
"crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.completion_id"
},
{
- "$id": "7727",
+ "$id": "8332",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1837"
+ "$ref": "1857"
},
"isApiVersion": false,
"optional": false,
@@ -101745,7 +108746,7 @@
200
],
"bodyType": {
- "$ref": "3162"
+ "$ref": "3239"
},
"headers": [],
"isErrorResponse": false,
@@ -101765,13 +108766,13 @@
},
"parameters": [
{
- "$id": "7728",
+ "$id": "8333",
"kind": "method",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to delete.",
"type": {
- "$id": "7729",
+ "$id": "8334",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101787,12 +108788,12 @@
"decorators": []
},
{
- "$id": "7730",
+ "$id": "8335",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1837"
+ "$ref": "1857"
},
"location": "Header",
"isApiVersion": false,
@@ -101806,7 +108807,7 @@
],
"response": {
"type": {
- "$ref": "3162"
+ "$ref": "3239"
}
},
"isOverride": false,
@@ -101815,27 +108816,27 @@
"crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion"
},
{
- "$id": "7731",
+ "$id": "8336",
"kind": "paging",
"name": "getChatCompletionMessages",
"accessibility": "public",
"apiVersions": [],
"summary": "Get the messages of a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.",
"operation": {
- "$id": "7732",
+ "$id": "8337",
"name": "getChatCompletionMessages",
"resourceName": "Chat",
"summary": "Get the messages of a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.",
"accessibility": "public",
"parameters": [
{
- "$id": "7733",
+ "$id": "8338",
"kind": "path",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to retrieve messages for.",
"type": {
- "$id": "7734",
+ "$id": "8339",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101853,13 +108854,13 @@
"crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.completion_id"
},
{
- "$id": "7735",
+ "$id": "8340",
"kind": "query",
"name": "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": "7736",
+ "$id": "8341",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101874,13 +108875,13 @@
"readOnly": false
},
{
- "$id": "7737",
+ "$id": "8342",
"kind": "query",
"name": "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": "7738",
+ "$id": "8343",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -101895,13 +108896,13 @@
"readOnly": false
},
{
- "$id": "7739",
+ "$id": "8344",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -101912,12 +108913,12 @@
"readOnly": false
},
{
- "$id": "7740",
+ "$id": "8345",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1839"
+ "$ref": "1859"
},
"isApiVersion": false,
"optional": false,
@@ -101934,7 +108935,7 @@
200
],
"bodyType": {
- "$ref": "3168"
+ "$ref": "3245"
},
"headers": [],
"isErrorResponse": false,
@@ -101954,13 +108955,13 @@
},
"parameters": [
{
- "$id": "7741",
+ "$id": "8346",
"kind": "method",
"name": "completion_id",
"serializedName": "completion_id",
"doc": "The ID of the stored chat completion to retrieve messages for.",
"type": {
- "$id": "7742",
+ "$id": "8347",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101976,13 +108977,13 @@
"decorators": []
},
{
- "$id": "7743",
+ "$id": "8348",
"kind": "method",
"name": "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": "7744",
+ "$id": "8349",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -101998,13 +108999,13 @@
"decorators": []
},
{
- "$id": "7745",
+ "$id": "8350",
"kind": "method",
"name": "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": "7746",
+ "$id": "8351",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -102020,13 +109021,13 @@
"decorators": []
},
{
- "$id": "7747",
+ "$id": "8352",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -102038,12 +109039,12 @@
"decorators": []
},
{
- "$id": "7748",
+ "$id": "8353",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1839"
+ "$ref": "1859"
},
"location": "Header",
"isApiVersion": false,
@@ -102057,7 +109058,7 @@
],
"response": {
"type": {
- "$ref": "3171"
+ "$ref": "3248"
},
"resultSegments": [
"data"
@@ -102073,7 +109074,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "7735"
+ "$ref": "8340"
},
"responseSegments": [
"last_id"
@@ -102085,13 +109086,13 @@
],
"parameters": [
{
- "$id": "7749",
+ "$id": "8354",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7750",
+ "$id": "8355",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -102102,7 +109103,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7751",
+ "$id": "8356",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -102115,39 +109116,40 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Chat",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "7752",
+ "$id": "8357",
"kind": "client",
"name": "Containers",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7753",
+ "$id": "8358",
"kind": "paging",
"name": "listContainers",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7754",
+ "$id": "8359",
"name": "listContainers",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7755",
+ "$id": "8360",
"kind": "query",
"name": "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": "7756",
+ "$id": "8361",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -102162,13 +109164,13 @@
"readOnly": false
},
{
- "$id": "7757",
+ "$id": "8362",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -102179,13 +109181,13 @@
"readOnly": false
},
{
- "$id": "7758",
+ "$id": "8363",
"kind": "query",
"name": "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": "7759",
+ "$id": "8364",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102200,12 +109202,12 @@
"readOnly": false
},
{
- "$id": "7760",
+ "$id": "8365",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1841"
+ "$ref": "1861"
},
"isApiVersion": false,
"optional": false,
@@ -102222,7 +109224,7 @@
200
],
"bodyType": {
- "$ref": "3189"
+ "$ref": "3266"
},
"headers": [],
"isErrorResponse": false,
@@ -102242,13 +109244,13 @@
},
"parameters": [
{
- "$id": "7761",
+ "$id": "8366",
"kind": "method",
"name": "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": "7762",
+ "$id": "8367",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -102264,13 +109266,13 @@
"decorators": []
},
{
- "$id": "7763",
+ "$id": "8368",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -102282,13 +109284,13 @@
"decorators": []
},
{
- "$id": "7764",
+ "$id": "8369",
"kind": "method",
"name": "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": "7765",
+ "$id": "8370",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102304,12 +109306,12 @@
"decorators": []
},
{
- "$id": "7766",
+ "$id": "8371",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1841"
+ "$ref": "1861"
},
"location": "Header",
"isApiVersion": false,
@@ -102323,7 +109325,7 @@
],
"response": {
"type": {
- "$ref": "3192"
+ "$ref": "3269"
},
"resultSegments": [
"data"
@@ -102339,7 +109341,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "7758"
+ "$ref": "8363"
},
"responseSegments": [
"last_id"
@@ -102349,25 +109351,25 @@
}
},
{
- "$id": "7767",
+ "$id": "8372",
"kind": "basic",
"name": "createContainer",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7768",
+ "$id": "8373",
"name": "createContainer",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7769",
+ "$id": "8374",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1843"
+ "$ref": "1863"
},
"isApiVersion": false,
"optional": false,
@@ -102378,12 +109380,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.createContainer.contentType"
},
{
- "$id": "7770",
+ "$id": "8375",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1845"
+ "$ref": "1865"
},
"isApiVersion": false,
"optional": false,
@@ -102394,12 +109396,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.createContainer.accept"
},
{
- "$id": "7771",
+ "$id": "8376",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3216"
+ "$ref": "3293"
},
"isApiVersion": false,
"contentTypes": [
@@ -102419,7 +109421,7 @@
200
],
"bodyType": {
- "$ref": "3193"
+ "$ref": "3270"
},
"headers": [],
"isErrorResponse": false,
@@ -102442,12 +109444,12 @@
},
"parameters": [
{
- "$id": "7772",
+ "$id": "8377",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3216"
+ "$ref": "3293"
},
"location": "Body",
"isApiVersion": false,
@@ -102459,13 +109461,13 @@
"decorators": []
},
{
- "$id": "7773",
+ "$id": "8378",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1843"
+ "$ref": "1863"
},
"location": "Header",
"isApiVersion": false,
@@ -102477,12 +109479,12 @@
"decorators": []
},
{
- "$id": "7774",
+ "$id": "8379",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1845"
+ "$ref": "1865"
},
"location": "Header",
"isApiVersion": false,
@@ -102496,7 +109498,7 @@
],
"response": {
"type": {
- "$ref": "3193"
+ "$ref": "3270"
}
},
"isOverride": false,
@@ -102505,24 +109507,24 @@
"crossLanguageDefinitionId": "OpenAI.Containers.createContainer"
},
{
- "$id": "7775",
+ "$id": "8380",
"kind": "basic",
"name": "GetContainer",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7776",
+ "$id": "8381",
"name": "GetContainer",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7777",
+ "$id": "8382",
"kind": "path",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7778",
+ "$id": "8383",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102540,12 +109542,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.container_id"
},
{
- "$id": "7779",
+ "$id": "8384",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1847"
+ "$ref": "1867"
},
"isApiVersion": false,
"optional": false,
@@ -102562,7 +109564,7 @@
200
],
"bodyType": {
- "$ref": "3193"
+ "$ref": "3270"
},
"headers": [],
"isErrorResponse": false,
@@ -102582,12 +109584,12 @@
},
"parameters": [
{
- "$id": "7780",
+ "$id": "8385",
"kind": "method",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7781",
+ "$id": "8386",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102603,12 +109605,12 @@
"decorators": []
},
{
- "$id": "7782",
+ "$id": "8387",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1847"
+ "$ref": "1867"
},
"location": "Header",
"isApiVersion": false,
@@ -102622,7 +109624,7 @@
],
"response": {
"type": {
- "$ref": "3193"
+ "$ref": "3270"
}
},
"isOverride": false,
@@ -102631,24 +109633,24 @@
"crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer"
},
{
- "$id": "7783",
+ "$id": "8388",
"kind": "basic",
"name": "deleteContainer",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7784",
+ "$id": "8389",
"name": "deleteContainer",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7785",
+ "$id": "8390",
"kind": "path",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7786",
+ "$id": "8391",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102666,12 +109668,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.container_id"
},
{
- "$id": "7787",
+ "$id": "8392",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1849"
+ "$ref": "1869"
},
"isApiVersion": false,
"optional": false,
@@ -102688,7 +109690,7 @@
200
],
"bodyType": {
- "$ref": "3225"
+ "$ref": "3302"
},
"headers": [],
"isErrorResponse": false,
@@ -102708,12 +109710,12 @@
},
"parameters": [
{
- "$id": "7788",
+ "$id": "8393",
"kind": "method",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7789",
+ "$id": "8394",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102729,12 +109731,12 @@
"decorators": []
},
{
- "$id": "7790",
+ "$id": "8395",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1849"
+ "$ref": "1869"
},
"location": "Header",
"isApiVersion": false,
@@ -102748,7 +109750,7 @@
],
"response": {
"type": {
- "$ref": "3225"
+ "$ref": "3302"
}
},
"isOverride": false,
@@ -102757,24 +109759,24 @@
"crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer"
},
{
- "$id": "7791",
+ "$id": "8396",
"kind": "basic",
"name": "createContainerFile",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7792",
+ "$id": "8397",
"name": "createContainerFile",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7793",
+ "$id": "8398",
"kind": "path",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7794",
+ "$id": "8399",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102792,12 +109794,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.container_id"
},
{
- "$id": "7795",
+ "$id": "8400",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1851"
+ "$ref": "1871"
},
"isApiVersion": false,
"optional": false,
@@ -102808,12 +109810,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.contentType"
},
{
- "$id": "7796",
+ "$id": "8401",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1853"
+ "$ref": "1873"
},
"isApiVersion": false,
"optional": false,
@@ -102824,12 +109826,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.accept"
},
{
- "$id": "7797",
+ "$id": "8402",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3230"
+ "$ref": "3307"
},
"isApiVersion": false,
"contentTypes": [
@@ -102849,7 +109851,7 @@
200
],
"bodyType": {
- "$ref": "3235"
+ "$ref": "3312"
},
"headers": [],
"isErrorResponse": false,
@@ -102872,12 +109874,12 @@
},
"parameters": [
{
- "$id": "7798",
+ "$id": "8403",
"kind": "method",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7799",
+ "$id": "8404",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102893,12 +109895,12 @@
"decorators": []
},
{
- "$id": "7800",
+ "$id": "8405",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1855"
+ "$ref": "1875"
},
"location": "Header",
"isApiVersion": false,
@@ -102910,12 +109912,12 @@
"decorators": []
},
{
- "$id": "7801",
+ "$id": "8406",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3230"
+ "$ref": "3307"
},
"location": "Body",
"isApiVersion": false,
@@ -102927,12 +109929,12 @@
"decorators": []
},
{
- "$id": "7802",
+ "$id": "8407",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1853"
+ "$ref": "1873"
},
"location": "Header",
"isApiVersion": false,
@@ -102946,7 +109948,7 @@
],
"response": {
"type": {
- "$ref": "3235"
+ "$ref": "3312"
}
},
"isOverride": false,
@@ -102955,24 +109957,24 @@
"crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile"
},
{
- "$id": "7803",
+ "$id": "8408",
"kind": "paging",
"name": "listContainerFiles",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7804",
+ "$id": "8409",
"name": "listContainerFiles",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7805",
+ "$id": "8410",
"kind": "path",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7806",
+ "$id": "8411",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -102990,13 +109992,13 @@
"crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.container_id"
},
{
- "$id": "7807",
+ "$id": "8412",
"kind": "query",
"name": "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": "7808",
+ "$id": "8413",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -103011,13 +110013,13 @@
"readOnly": false
},
{
- "$id": "7809",
+ "$id": "8414",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -103028,13 +110030,13 @@
"readOnly": false
},
{
- "$id": "7810",
+ "$id": "8415",
"kind": "query",
"name": "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": "7811",
+ "$id": "8416",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103049,12 +110051,12 @@
"readOnly": false
},
{
- "$id": "7812",
+ "$id": "8417",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1857"
+ "$ref": "1877"
},
"isApiVersion": false,
"optional": false,
@@ -103071,7 +110073,7 @@
200
],
"bodyType": {
- "$ref": "3251"
+ "$ref": "3328"
},
"headers": [],
"isErrorResponse": false,
@@ -103091,12 +110093,12 @@
},
"parameters": [
{
- "$id": "7813",
+ "$id": "8418",
"kind": "method",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7814",
+ "$id": "8419",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103112,13 +110114,13 @@
"decorators": []
},
{
- "$id": "7815",
+ "$id": "8420",
"kind": "method",
"name": "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": "7816",
+ "$id": "8421",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -103134,13 +110136,13 @@
"decorators": []
},
{
- "$id": "7817",
+ "$id": "8422",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -103152,13 +110154,13 @@
"decorators": []
},
{
- "$id": "7818",
+ "$id": "8423",
"kind": "method",
"name": "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": "7819",
+ "$id": "8424",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103174,12 +110176,12 @@
"decorators": []
},
{
- "$id": "7820",
+ "$id": "8425",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1857"
+ "$ref": "1877"
},
"location": "Header",
"isApiVersion": false,
@@ -103193,7 +110195,7 @@
],
"response": {
"type": {
- "$ref": "3254"
+ "$ref": "3331"
},
"resultSegments": [
"data"
@@ -103209,7 +110211,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "7810"
+ "$ref": "8415"
},
"responseSegments": [
"last_id"
@@ -103219,24 +110221,24 @@
}
},
{
- "$id": "7821",
+ "$id": "8426",
"kind": "basic",
"name": "GetContainerFile",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7822",
+ "$id": "8427",
"name": "GetContainerFile",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7823",
+ "$id": "8428",
"kind": "path",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7824",
+ "$id": "8429",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103254,12 +110256,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.container_id"
},
{
- "$id": "7825",
+ "$id": "8430",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"type": {
- "$id": "7826",
+ "$id": "8431",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103277,12 +110279,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.file_id"
},
{
- "$id": "7827",
+ "$id": "8432",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1859"
+ "$ref": "1879"
},
"isApiVersion": false,
"optional": false,
@@ -103299,7 +110301,7 @@
200
],
"bodyType": {
- "$ref": "3235"
+ "$ref": "3312"
},
"headers": [],
"isErrorResponse": false,
@@ -103319,12 +110321,12 @@
},
"parameters": [
{
- "$id": "7828",
+ "$id": "8433",
"kind": "method",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7829",
+ "$id": "8434",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103340,12 +110342,12 @@
"decorators": []
},
{
- "$id": "7830",
+ "$id": "8435",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"type": {
- "$id": "7831",
+ "$id": "8436",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103361,12 +110363,12 @@
"decorators": []
},
{
- "$id": "7832",
+ "$id": "8437",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1859"
+ "$ref": "1879"
},
"location": "Header",
"isApiVersion": false,
@@ -103380,7 +110382,7 @@
],
"response": {
"type": {
- "$ref": "3235"
+ "$ref": "3312"
}
},
"isOverride": false,
@@ -103389,24 +110391,24 @@
"crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile"
},
{
- "$id": "7833",
+ "$id": "8438",
"kind": "basic",
"name": "deleteContainerFile",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7834",
+ "$id": "8439",
"name": "deleteContainerFile",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7835",
+ "$id": "8440",
"kind": "path",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7836",
+ "$id": "8441",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103424,12 +110426,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.container_id"
},
{
- "$id": "7837",
+ "$id": "8442",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"type": {
- "$id": "7838",
+ "$id": "8443",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103447,12 +110449,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.file_id"
},
{
- "$id": "7839",
+ "$id": "8444",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1861"
+ "$ref": "1881"
},
"isApiVersion": false,
"optional": false,
@@ -103469,7 +110471,7 @@
200
],
"bodyType": {
- "$ref": "3261"
+ "$ref": "3338"
},
"headers": [],
"isErrorResponse": false,
@@ -103489,12 +110491,12 @@
},
"parameters": [
{
- "$id": "7840",
+ "$id": "8445",
"kind": "method",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7841",
+ "$id": "8446",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103510,12 +110512,12 @@
"decorators": []
},
{
- "$id": "7842",
+ "$id": "8447",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"type": {
- "$id": "7843",
+ "$id": "8448",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103531,12 +110533,12 @@
"decorators": []
},
{
- "$id": "7844",
+ "$id": "8449",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1861"
+ "$ref": "1881"
},
"location": "Header",
"isApiVersion": false,
@@ -103550,7 +110552,7 @@
],
"response": {
"type": {
- "$ref": "3261"
+ "$ref": "3338"
}
},
"isOverride": false,
@@ -103559,24 +110561,24 @@
"crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile"
},
{
- "$id": "7845",
+ "$id": "8450",
"kind": "basic",
"name": "GetContainerFileContent",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "7846",
+ "$id": "8451",
"name": "GetContainerFileContent",
"resourceName": "Containers",
"accessibility": "public",
"parameters": [
{
- "$id": "7847",
+ "$id": "8452",
"kind": "path",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7848",
+ "$id": "8453",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103594,12 +110596,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.container_id"
},
{
- "$id": "7849",
+ "$id": "8454",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"type": {
- "$id": "7850",
+ "$id": "8455",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103617,12 +110619,12 @@
"crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.file_id"
},
{
- "$id": "7851",
+ "$id": "8456",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1863"
+ "$ref": "1883"
},
"isApiVersion": false,
"optional": false,
@@ -103639,7 +110641,7 @@
200
],
"bodyType": {
- "$id": "7852",
+ "$id": "8457",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -103664,12 +110666,12 @@
},
"parameters": [
{
- "$id": "7853",
+ "$id": "8458",
"kind": "method",
"name": "container_id",
"serializedName": "container_id",
"type": {
- "$id": "7854",
+ "$id": "8459",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103685,12 +110687,12 @@
"decorators": []
},
{
- "$id": "7855",
+ "$id": "8460",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"type": {
- "$id": "7856",
+ "$id": "8461",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -103706,12 +110708,12 @@
"decorators": []
},
{
- "$id": "7857",
+ "$id": "8462",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1863"
+ "$ref": "1883"
},
"location": "Header",
"isApiVersion": false,
@@ -103725,7 +110727,7 @@
],
"response": {
"type": {
- "$ref": "7852"
+ "$ref": "8457"
}
},
"isOverride": false,
@@ -103736,13 +110738,13 @@
],
"parameters": [
{
- "$id": "7858",
+ "$id": "8463",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7859",
+ "$id": "8464",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -103753,7 +110755,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7860",
+ "$id": "8465",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -103766,40 +110768,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Containers",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "7861",
+ "$id": "8466",
"kind": "client",
"name": "Embeddings",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7862",
+ "$id": "8467",
"kind": "basic",
"name": "GenerateEmbeddings",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates an embedding vector representing the input text.",
"operation": {
- "$id": "7863",
+ "$id": "8468",
"name": "GenerateEmbeddings",
"resourceName": "Embeddings",
"summary": "Creates an embedding vector representing the input text.",
"accessibility": "public",
"parameters": [
{
- "$id": "7864",
+ "$id": "8469",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1865"
+ "$ref": "1885"
},
"isApiVersion": false,
"optional": false,
@@ -103810,13 +110813,13 @@
"crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.accept"
},
{
- "$id": "7865",
+ "$id": "8470",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1867"
+ "$ref": "1887"
},
"isApiVersion": false,
"optional": false,
@@ -103827,12 +110830,12 @@
"crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.contentType"
},
{
- "$id": "7866",
+ "$id": "8471",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "3266"
+ "$ref": "3343"
},
"isApiVersion": false,
"contentTypes": [
@@ -103852,7 +110855,7 @@
200
],
"bodyType": {
- "$ref": "3277"
+ "$ref": "3354"
},
"headers": [],
"isErrorResponse": false,
@@ -103875,12 +110878,12 @@
},
"parameters": [
{
- "$id": "7867",
+ "$id": "8472",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1869"
+ "$ref": "1889"
},
"location": "Header",
"isApiVersion": false,
@@ -103892,12 +110895,12 @@
"decorators": []
},
{
- "$id": "7868",
+ "$id": "8473",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "3266"
+ "$ref": "3343"
},
"location": "Body",
"isApiVersion": false,
@@ -103909,13 +110912,13 @@
"decorators": []
},
{
- "$id": "7869",
+ "$id": "8474",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1867"
+ "$ref": "1887"
},
"location": "Header",
"isApiVersion": false,
@@ -103929,7 +110932,7 @@
],
"response": {
"type": {
- "$ref": "3277"
+ "$ref": "3354"
}
},
"isOverride": false,
@@ -103940,13 +110943,13 @@
],
"parameters": [
{
- "$id": "7870",
+ "$id": "8475",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7871",
+ "$id": "8476",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -103957,7 +110960,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7872",
+ "$id": "8477",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -103970,40 +110973,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Embeddings",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "7873",
+ "$id": "8478",
"kind": "client",
"name": "Files",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7874",
+ "$id": "8479",
"kind": "basic",
"name": "GetFiles",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of files that belong to the user's organization.",
"operation": {
- "$id": "7875",
+ "$id": "8480",
"name": "GetFiles",
"resourceName": "Files",
"summary": "Returns a list of files that belong to the user's organization.",
"accessibility": "public",
"parameters": [
{
- "$id": "7876",
+ "$id": "8481",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1871"
+ "$ref": "1891"
},
"isApiVersion": false,
"optional": false,
@@ -104014,13 +111018,13 @@
"crossLanguageDefinitionId": "OpenAI.Files.listFiles.accept"
},
{
- "$id": "7877",
+ "$id": "8482",
"kind": "query",
"name": "purpose",
"serializedName": "purpose",
"doc": "Only return files with the given purpose.",
"type": {
- "$id": "7878",
+ "$id": "8483",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104041,7 +111045,7 @@
200
],
"bodyType": {
- "$ref": "3298"
+ "$ref": "3375"
},
"headers": [],
"isErrorResponse": false,
@@ -104061,12 +111065,12 @@
},
"parameters": [
{
- "$id": "7879",
+ "$id": "8484",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1873"
+ "$ref": "1893"
},
"location": "Header",
"isApiVersion": false,
@@ -104078,13 +111082,13 @@
"decorators": []
},
{
- "$id": "7880",
+ "$id": "8485",
"kind": "method",
"name": "purpose",
"serializedName": "purpose",
"doc": "Only return files with the given purpose.",
"type": {
- "$id": "7881",
+ "$id": "8486",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104102,7 +111106,7 @@
],
"response": {
"type": {
- "$ref": "3298"
+ "$ref": "3375"
}
},
"isOverride": false,
@@ -104111,26 +111115,26 @@
"crossLanguageDefinitionId": "OpenAI.Files.listFiles"
},
{
- "$id": "7882",
+ "$id": "8487",
"kind": "basic",
"name": "UploadFile",
"accessibility": "public",
"apiVersions": [],
"summary": "Upload a file that can be used across various endpoints. The size of all the files uploaded by\none organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See\nthe [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files\nsupported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.",
"operation": {
- "$id": "7883",
+ "$id": "8488",
"name": "UploadFile",
"resourceName": "Files",
"summary": "Upload a file that can be used across various endpoints. The size of all the files uploaded by\none organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See\nthe [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files\nsupported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.",
"accessibility": "public",
"parameters": [
{
- "$id": "7884",
+ "$id": "8489",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1875"
+ "$ref": "1895"
},
"isApiVersion": false,
"optional": false,
@@ -104141,12 +111145,12 @@
"crossLanguageDefinitionId": "OpenAI.Files.createFile.accept"
},
{
- "$id": "7885",
+ "$id": "8490",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1877"
+ "$ref": "1897"
},
"isApiVersion": false,
"optional": false,
@@ -104157,12 +111161,12 @@
"crossLanguageDefinitionId": "OpenAI.Files.createFile.contentType"
},
{
- "$id": "7886",
+ "$id": "8491",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "3327"
+ "$ref": "3404"
},
"isApiVersion": false,
"contentTypes": [
@@ -104182,7 +111186,7 @@
200
],
"bodyType": {
- "$ref": "3302"
+ "$ref": "3379"
},
"headers": [],
"isErrorResponse": false,
@@ -104205,12 +111209,12 @@
},
"parameters": [
{
- "$id": "7887",
+ "$id": "8492",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1879"
+ "$ref": "1899"
},
"location": "Header",
"isApiVersion": false,
@@ -104222,12 +111226,12 @@
"decorators": []
},
{
- "$id": "7888",
+ "$id": "8493",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1881"
+ "$ref": "1901"
},
"location": "Header",
"isApiVersion": false,
@@ -104239,12 +111243,12 @@
"decorators": []
},
{
- "$id": "7889",
+ "$id": "8494",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "3327"
+ "$ref": "3404"
},
"location": "Body",
"isApiVersion": false,
@@ -104258,7 +111262,7 @@
],
"response": {
"type": {
- "$ref": "3302"
+ "$ref": "3379"
}
},
"isOverride": false,
@@ -104267,26 +111271,26 @@
"crossLanguageDefinitionId": "OpenAI.Files.createFile"
},
{
- "$id": "7890",
+ "$id": "8495",
"kind": "basic",
"name": "deleteFile",
"accessibility": "public",
"apiVersions": [],
"summary": "Delete a file",
"operation": {
- "$id": "7891",
+ "$id": "8496",
"name": "deleteFile",
"resourceName": "Files",
"summary": "Delete a file",
"accessibility": "public",
"parameters": [
{
- "$id": "7892",
+ "$id": "8497",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1883"
+ "$ref": "1903"
},
"isApiVersion": false,
"optional": false,
@@ -104297,13 +111301,13 @@
"crossLanguageDefinitionId": "OpenAI.Files.deleteFile.accept"
},
{
- "$id": "7893",
+ "$id": "8498",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to use for this request.",
"type": {
- "$id": "7894",
+ "$id": "8499",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104327,7 +111331,7 @@
200
],
"bodyType": {
- "$ref": "3331"
+ "$ref": "3408"
},
"headers": [],
"isErrorResponse": false,
@@ -104347,12 +111351,12 @@
},
"parameters": [
{
- "$id": "7895",
+ "$id": "8500",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1885"
+ "$ref": "1905"
},
"location": "Header",
"isApiVersion": false,
@@ -104364,13 +111368,13 @@
"decorators": []
},
{
- "$id": "7896",
+ "$id": "8501",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to use for this request.",
"type": {
- "$id": "7897",
+ "$id": "8502",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104388,7 +111392,7 @@
],
"response": {
"type": {
- "$ref": "3331"
+ "$ref": "3408"
}
},
"isOverride": false,
@@ -104397,26 +111401,26 @@
"crossLanguageDefinitionId": "OpenAI.Files.deleteFile"
},
{
- "$id": "7898",
+ "$id": "8503",
"kind": "basic",
"name": "GetFile",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns information about a specific file.",
"operation": {
- "$id": "7899",
+ "$id": "8504",
"name": "GetFile",
"resourceName": "Files",
"summary": "Returns information about a specific file.",
"accessibility": "public",
"parameters": [
{
- "$id": "7900",
+ "$id": "8505",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1887"
+ "$ref": "1907"
},
"isApiVersion": false,
"optional": false,
@@ -104427,13 +111431,13 @@
"crossLanguageDefinitionId": "OpenAI.Files.retrieveFile.accept"
},
{
- "$id": "7901",
+ "$id": "8506",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to use for this request.",
"type": {
- "$id": "7902",
+ "$id": "8507",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104457,7 +111461,7 @@
200
],
"bodyType": {
- "$ref": "3302"
+ "$ref": "3379"
},
"headers": [],
"isErrorResponse": false,
@@ -104477,12 +111481,12 @@
},
"parameters": [
{
- "$id": "7903",
+ "$id": "8508",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1889"
+ "$ref": "1909"
},
"location": "Header",
"isApiVersion": false,
@@ -104494,13 +111498,13 @@
"decorators": []
},
{
- "$id": "7904",
+ "$id": "8509",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to use for this request.",
"type": {
- "$id": "7905",
+ "$id": "8510",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104518,7 +111522,7 @@
],
"response": {
"type": {
- "$ref": "3302"
+ "$ref": "3379"
}
},
"isOverride": false,
@@ -104527,26 +111531,26 @@
"crossLanguageDefinitionId": "OpenAI.Files.retrieveFile"
},
{
- "$id": "7906",
+ "$id": "8511",
"kind": "basic",
"name": "downloadFile",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns the contents of the specified file.",
"operation": {
- "$id": "7907",
+ "$id": "8512",
"name": "downloadFile",
"resourceName": "Files",
"summary": "Returns the contents of the specified file.",
"accessibility": "public",
"parameters": [
{
- "$id": "7908",
+ "$id": "8513",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1891"
+ "$ref": "1911"
},
"isApiVersion": false,
"optional": false,
@@ -104557,13 +111561,13 @@
"crossLanguageDefinitionId": "OpenAI.Files.downloadFile.accept"
},
{
- "$id": "7909",
+ "$id": "8514",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to use for this request.",
"type": {
- "$id": "7910",
+ "$id": "8515",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104587,7 +111591,7 @@
200
],
"bodyType": {
- "$id": "7911",
+ "$id": "8516",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -104612,12 +111616,12 @@
},
"parameters": [
{
- "$id": "7912",
+ "$id": "8517",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1893"
+ "$ref": "1913"
},
"location": "Header",
"isApiVersion": false,
@@ -104629,13 +111633,13 @@
"decorators": []
},
{
- "$id": "7913",
+ "$id": "8518",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to use for this request.",
"type": {
- "$id": "7914",
+ "$id": "8519",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104653,7 +111657,7 @@
],
"response": {
"type": {
- "$ref": "7911"
+ "$ref": "8516"
}
},
"isOverride": false,
@@ -104664,13 +111668,13 @@
],
"parameters": [
{
- "$id": "7915",
+ "$id": "8520",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "7916",
+ "$id": "8521",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -104681,7 +111685,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "7917",
+ "$id": "8522",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -104694,41 +111698,42 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Files",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "7918",
+ "$id": "8523",
"kind": "client",
"name": "FineTuning",
"namespace": "OpenAI",
"methods": [
{
- "$id": "7919",
+ "$id": "8524",
"kind": "basic",
"name": "listFineTuningCheckpointPermissions",
"accessibility": "public",
"apiVersions": [],
"summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.",
"operation": {
- "$id": "7920",
+ "$id": "8525",
"name": "listFineTuningCheckpointPermissions",
"resourceName": "FineTuning",
"summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.",
"accessibility": "public",
"parameters": [
{
- "$id": "7921",
+ "$id": "8526",
"kind": "path",
"name": "fine_tuned_model_checkpoint",
"serializedName": "fine_tuned_model_checkpoint",
"doc": "The ID of the fine-tuned model checkpoint to get permissions for.",
"type": {
- "$id": "7922",
+ "$id": "8527",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104746,13 +111751,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.fine_tuned_model_checkpoint"
},
{
- "$id": "7923",
+ "$id": "8528",
"kind": "query",
"name": "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": "7924",
+ "$id": "8529",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104767,13 +111772,13 @@
"readOnly": false
},
{
- "$id": "7925",
+ "$id": "8530",
"kind": "query",
"name": "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": "7926",
+ "$id": "8531",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -104788,13 +111793,13 @@
"readOnly": false
},
{
- "$id": "7927",
+ "$id": "8532",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -104805,13 +111810,13 @@
"readOnly": false
},
{
- "$id": "7928",
+ "$id": "8533",
"kind": "query",
"name": "project_id",
"serializedName": "project_id",
"doc": "The ID of the project to get permissions for.",
"type": {
- "$id": "7929",
+ "$id": "8534",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104826,12 +111831,12 @@
"readOnly": false
},
{
- "$id": "7930",
+ "$id": "8535",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1895"
+ "$ref": "1915"
},
"isApiVersion": false,
"optional": false,
@@ -104848,7 +111853,7 @@
200
],
"bodyType": {
- "$ref": "3337"
+ "$ref": "3414"
},
"headers": [],
"isErrorResponse": false,
@@ -104868,13 +111873,13 @@
},
"parameters": [
{
- "$id": "7931",
+ "$id": "8536",
"kind": "method",
"name": "fine_tuned_model_checkpoint",
"serializedName": "fine_tuned_model_checkpoint",
"doc": "The ID of the fine-tuned model checkpoint to get permissions for.",
"type": {
- "$id": "7932",
+ "$id": "8537",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104890,13 +111895,13 @@
"decorators": []
},
{
- "$id": "7933",
+ "$id": "8538",
"kind": "method",
"name": "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": "7934",
+ "$id": "8539",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104912,13 +111917,13 @@
"decorators": []
},
{
- "$id": "7935",
+ "$id": "8540",
"kind": "method",
"name": "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": "7936",
+ "$id": "8541",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -104934,13 +111939,13 @@
"decorators": []
},
{
- "$id": "7937",
+ "$id": "8542",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -104952,13 +111957,13 @@
"decorators": []
},
{
- "$id": "7938",
+ "$id": "8543",
"kind": "method",
"name": "project_id",
"serializedName": "project_id",
"doc": "The ID of the project to get permissions for.",
"type": {
- "$id": "7939",
+ "$id": "8544",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -104974,12 +111979,12 @@
"decorators": []
},
{
- "$id": "7940",
+ "$id": "8545",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1895"
+ "$ref": "1915"
},
"location": "Header",
"isApiVersion": false,
@@ -104993,7 +111998,7 @@
],
"response": {
"type": {
- "$ref": "3337"
+ "$ref": "3414"
}
},
"isOverride": false,
@@ -105002,27 +112007,27 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions"
},
{
- "$id": "7941",
+ "$id": "8546",
"kind": "basic",
"name": "createFineTuningCheckpointPermission",
"accessibility": "public",
"apiVersions": [],
"summary": "NOTE: This endpoint requires an admin API key.\nThis enables organization owners to share fine-tuned models with other projects in their organization.",
"operation": {
- "$id": "7942",
+ "$id": "8547",
"name": "createFineTuningCheckpointPermission",
"resourceName": "FineTuning",
"summary": "NOTE: This endpoint requires an admin API key.\nThis enables organization owners to share fine-tuned models with other projects in their organization.",
"accessibility": "public",
"parameters": [
{
- "$id": "7943",
+ "$id": "8548",
"kind": "path",
"name": "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": "7944",
+ "$id": "8549",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105040,13 +112045,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.fine_tuned_model_checkpoint"
},
{
- "$id": "7945",
+ "$id": "8550",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1897"
+ "$ref": "1917"
},
"isApiVersion": false,
"optional": false,
@@ -105057,12 +112062,12 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.contentType"
},
{
- "$id": "7946",
+ "$id": "8551",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1899"
+ "$ref": "1919"
},
"isApiVersion": false,
"optional": false,
@@ -105073,12 +112078,12 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.accept"
},
{
- "$id": "7947",
+ "$id": "8552",
"kind": "body",
"name": "createFineTuningCheckpointPermissionRequest",
"serializedName": "createFineTuningCheckpointPermissionRequest",
"type": {
- "$ref": "3358"
+ "$ref": "3435"
},
"isApiVersion": false,
"contentTypes": [
@@ -105098,7 +112103,7 @@
200
],
"bodyType": {
- "$ref": "3337"
+ "$ref": "3414"
},
"headers": [],
"isErrorResponse": false,
@@ -105121,13 +112126,13 @@
},
"parameters": [
{
- "$id": "7948",
+ "$id": "8553",
"kind": "method",
"name": "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": "7949",
+ "$id": "8554",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105143,13 +112148,13 @@
"decorators": []
},
{
- "$id": "7950",
+ "$id": "8555",
"kind": "method",
"name": "project_ids",
"serializedName": "project_ids",
"doc": "The project identifiers to grant access to.",
"type": {
- "$ref": "2345"
+ "$ref": "2373"
},
"location": "Body",
"isApiVersion": false,
@@ -105161,13 +112166,13 @@
"decorators": []
},
{
- "$id": "7951",
+ "$id": "8556",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1897"
+ "$ref": "1917"
},
"location": "Header",
"isApiVersion": false,
@@ -105179,12 +112184,12 @@
"decorators": []
},
{
- "$id": "7952",
+ "$id": "8557",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1899"
+ "$ref": "1919"
},
"location": "Header",
"isApiVersion": false,
@@ -105198,7 +112203,7 @@
],
"response": {
"type": {
- "$ref": "3337"
+ "$ref": "3414"
}
},
"isOverride": false,
@@ -105207,27 +112212,27 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission"
},
{
- "$id": "7953",
+ "$id": "8558",
"kind": "basic",
"name": "deleteFineTuningCheckpointPermission",
"accessibility": "public",
"apiVersions": [],
"summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.",
"operation": {
- "$id": "7954",
+ "$id": "8559",
"name": "deleteFineTuningCheckpointPermission",
"resourceName": "FineTuning",
"summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.",
"accessibility": "public",
"parameters": [
{
- "$id": "7955",
+ "$id": "8560",
"kind": "path",
"name": "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": "7956",
+ "$id": "8561",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105245,13 +112250,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.fine_tuned_model_checkpoint"
},
{
- "$id": "7957",
+ "$id": "8562",
"kind": "path",
"name": "permission_id",
"serializedName": "permission_id",
"doc": "The ID of the permission to delete.",
"type": {
- "$id": "7958",
+ "$id": "8563",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105269,12 +112274,12 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.permission_id"
},
{
- "$id": "7959",
+ "$id": "8564",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1901"
+ "$ref": "1921"
},
"isApiVersion": false,
"optional": false,
@@ -105291,7 +112296,7 @@
200
],
"bodyType": {
- "$ref": "3360"
+ "$ref": "3437"
},
"headers": [],
"isErrorResponse": false,
@@ -105311,13 +112316,13 @@
},
"parameters": [
{
- "$id": "7960",
+ "$id": "8565",
"kind": "method",
"name": "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": "7961",
+ "$id": "8566",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105333,13 +112338,13 @@
"decorators": []
},
{
- "$id": "7962",
+ "$id": "8567",
"kind": "method",
"name": "permission_id",
"serializedName": "permission_id",
"doc": "The ID of the permission to delete.",
"type": {
- "$id": "7963",
+ "$id": "8568",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105355,12 +112360,12 @@
"decorators": []
},
{
- "$id": "7964",
+ "$id": "8569",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1901"
+ "$ref": "1921"
},
"location": "Header",
"isApiVersion": false,
@@ -105374,7 +112379,7 @@
],
"response": {
"type": {
- "$ref": "3360"
+ "$ref": "3437"
}
},
"isOverride": false,
@@ -105383,26 +112388,26 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission"
},
{
- "$id": "7965",
+ "$id": "8570",
"kind": "basic",
"name": "createFineTuningJob",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)",
"operation": {
- "$id": "7966",
+ "$id": "8571",
"name": "createFineTuningJob",
"resourceName": "FineTuning",
"summary": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)",
"accessibility": "public",
"parameters": [
{
- "$id": "7967",
+ "$id": "8572",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1903"
+ "$ref": "1923"
},
"isApiVersion": false,
"optional": false,
@@ -105413,13 +112418,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.accept"
},
{
- "$id": "7968",
+ "$id": "8573",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1905"
+ "$ref": "1925"
},
"isApiVersion": false,
"optional": false,
@@ -105430,12 +112435,12 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.contentType"
},
{
- "$id": "7969",
+ "$id": "8574",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "3366"
+ "$ref": "3443"
},
"isApiVersion": false,
"contentTypes": [
@@ -105455,7 +112460,7 @@
200
],
"bodyType": {
- "$ref": "3539"
+ "$ref": "3639"
},
"headers": [],
"isErrorResponse": false,
@@ -105478,12 +112483,12 @@
},
"parameters": [
{
- "$id": "7970",
+ "$id": "8575",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1907"
+ "$ref": "1927"
},
"location": "Header",
"isApiVersion": false,
@@ -105495,12 +112500,12 @@
"decorators": []
},
{
- "$id": "7971",
+ "$id": "8576",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "3366"
+ "$ref": "3443"
},
"location": "Body",
"isApiVersion": false,
@@ -105512,13 +112517,13 @@
"decorators": []
},
{
- "$id": "7972",
+ "$id": "8577",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1905"
+ "$ref": "1925"
},
"location": "Header",
"isApiVersion": false,
@@ -105532,7 +112537,7 @@
],
"response": {
"type": {
- "$ref": "3539"
+ "$ref": "3639"
}
},
"isOverride": false,
@@ -105541,26 +112546,26 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob"
},
{
- "$id": "7973",
+ "$id": "8578",
"kind": "basic",
"name": "listPaginatedFineTuningJobs",
"accessibility": "public",
"apiVersions": [],
"summary": "List your organization's fine-tuning jobs",
"operation": {
- "$id": "7974",
+ "$id": "8579",
"name": "listPaginatedFineTuningJobs",
"resourceName": "FineTuning",
"summary": "List your organization's fine-tuning jobs",
"accessibility": "public",
"parameters": [
{
- "$id": "7975",
+ "$id": "8580",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1909"
+ "$ref": "1929"
},
"isApiVersion": false,
"optional": false,
@@ -105571,13 +112576,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.accept"
},
{
- "$id": "7976",
+ "$id": "8581",
"kind": "query",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last job from the previous pagination request.",
"type": {
- "$id": "7977",
+ "$id": "8582",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105592,13 +112597,13 @@
"readOnly": false
},
{
- "$id": "7978",
+ "$id": "8583",
"kind": "query",
"name": "limit",
"serializedName": "limit",
"doc": "Number of fine-tuning jobs to retrieve.",
"type": {
- "$id": "7979",
+ "$id": "8584",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -105619,7 +112624,7 @@
200
],
"bodyType": {
- "$ref": "3618"
+ "$ref": "3722"
},
"headers": [],
"isErrorResponse": false,
@@ -105639,12 +112644,12 @@
},
"parameters": [
{
- "$id": "7980",
+ "$id": "8585",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1911"
+ "$ref": "1931"
},
"location": "Header",
"isApiVersion": false,
@@ -105656,13 +112661,13 @@
"decorators": []
},
{
- "$id": "7981",
+ "$id": "8586",
"kind": "method",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last job from the previous pagination request.",
"type": {
- "$id": "7982",
+ "$id": "8587",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105678,13 +112683,13 @@
"decorators": []
},
{
- "$id": "7983",
+ "$id": "8588",
"kind": "method",
"name": "limit",
"serializedName": "limit",
"doc": "Number of fine-tuning jobs to retrieve.",
"type": {
- "$id": "7984",
+ "$id": "8589",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -105702,7 +112707,7 @@
],
"response": {
"type": {
- "$ref": "3618"
+ "$ref": "3722"
}
},
"isOverride": false,
@@ -105711,26 +112716,26 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs"
},
{
- "$id": "7985",
+ "$id": "8590",
"kind": "basic",
"name": "retrieveFineTuningJob",
"accessibility": "public",
"apiVersions": [],
"summary": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)",
"operation": {
- "$id": "7986",
+ "$id": "8591",
"name": "retrieveFineTuningJob",
"resourceName": "FineTuning",
"summary": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)",
"accessibility": "public",
"parameters": [
{
- "$id": "7987",
+ "$id": "8592",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1913"
+ "$ref": "1933"
},
"isApiVersion": false,
"optional": false,
@@ -105741,13 +112746,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.accept"
},
{
- "$id": "7988",
+ "$id": "8593",
"kind": "path",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job.",
"type": {
- "$id": "7989",
+ "$id": "8594",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105771,7 +112776,7 @@
200
],
"bodyType": {
- "$ref": "3539"
+ "$ref": "3639"
},
"headers": [],
"isErrorResponse": false,
@@ -105791,12 +112796,12 @@
},
"parameters": [
{
- "$id": "7990",
+ "$id": "8595",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1915"
+ "$ref": "1935"
},
"location": "Header",
"isApiVersion": false,
@@ -105808,13 +112813,13 @@
"decorators": []
},
{
- "$id": "7991",
+ "$id": "8596",
"kind": "method",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job.",
"type": {
- "$id": "7992",
+ "$id": "8597",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105832,7 +112837,7 @@
],
"response": {
"type": {
- "$ref": "3539"
+ "$ref": "3639"
}
},
"isOverride": false,
@@ -105841,26 +112846,26 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob"
},
{
- "$id": "7993",
+ "$id": "8598",
"kind": "basic",
"name": "cancelFineTuningJob",
"accessibility": "public",
"apiVersions": [],
"summary": "Immediately cancel a fine-tune job.",
"operation": {
- "$id": "7994",
+ "$id": "8599",
"name": "cancelFineTuningJob",
"resourceName": "FineTuning",
"summary": "Immediately cancel a fine-tune job.",
"accessibility": "public",
"parameters": [
{
- "$id": "7995",
+ "$id": "8600",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1917"
+ "$ref": "1937"
},
"isApiVersion": false,
"optional": false,
@@ -105871,13 +112876,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.accept"
},
{
- "$id": "7996",
+ "$id": "8601",
"kind": "path",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to cancel.",
"type": {
- "$id": "7997",
+ "$id": "8602",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105901,7 +112906,7 @@
200
],
"bodyType": {
- "$ref": "3539"
+ "$ref": "3639"
},
"headers": [],
"isErrorResponse": false,
@@ -105921,12 +112926,12 @@
},
"parameters": [
{
- "$id": "7998",
+ "$id": "8603",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1919"
+ "$ref": "1939"
},
"location": "Header",
"isApiVersion": false,
@@ -105938,13 +112943,13 @@
"decorators": []
},
{
- "$id": "7999",
+ "$id": "8604",
"kind": "method",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to cancel.",
"type": {
- "$id": "8000",
+ "$id": "8605",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -105962,7 +112967,7 @@
],
"response": {
"type": {
- "$ref": "3539"
+ "$ref": "3639"
}
},
"isOverride": false,
@@ -105971,26 +112976,26 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob"
},
{
- "$id": "8001",
+ "$id": "8606",
"kind": "basic",
"name": "listFineTuningJobCheckpoints",
"accessibility": "public",
"apiVersions": [],
"summary": "List the checkpoints for a fine-tuning job.",
"operation": {
- "$id": "8002",
+ "$id": "8607",
"name": "listFineTuningJobCheckpoints",
"resourceName": "FineTuning",
"summary": "List the checkpoints for a fine-tuning job.",
"accessibility": "public",
"parameters": [
{
- "$id": "8003",
+ "$id": "8608",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1921"
+ "$ref": "1941"
},
"isApiVersion": false,
"optional": false,
@@ -106001,13 +113006,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.accept"
},
{
- "$id": "8004",
+ "$id": "8609",
"kind": "path",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to get checkpoints for.",
"type": {
- "$id": "8005",
+ "$id": "8610",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106025,13 +113030,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.fine_tuning_job_id"
},
{
- "$id": "8006",
+ "$id": "8611",
"kind": "query",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last checkpoint ID from the previous pagination request.",
"type": {
- "$id": "8007",
+ "$id": "8612",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106046,13 +113051,13 @@
"readOnly": false
},
{
- "$id": "8008",
+ "$id": "8613",
"kind": "query",
"name": "limit",
"serializedName": "limit",
"doc": "Number of checkpoints to retrieve.",
"type": {
- "$id": "8009",
+ "$id": "8614",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -106073,7 +113078,7 @@
200
],
"bodyType": {
- "$ref": "3624"
+ "$ref": "3728"
},
"headers": [],
"isErrorResponse": false,
@@ -106093,12 +113098,12 @@
},
"parameters": [
{
- "$id": "8010",
+ "$id": "8615",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1923"
+ "$ref": "1943"
},
"location": "Header",
"isApiVersion": false,
@@ -106110,13 +113115,13 @@
"decorators": []
},
{
- "$id": "8011",
+ "$id": "8616",
"kind": "method",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to get checkpoints for.",
"type": {
- "$id": "8012",
+ "$id": "8617",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106132,13 +113137,13 @@
"decorators": []
},
{
- "$id": "8013",
+ "$id": "8618",
"kind": "method",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last checkpoint ID from the previous pagination request.",
"type": {
- "$id": "8014",
+ "$id": "8619",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106154,13 +113159,13 @@
"decorators": []
},
{
- "$id": "8015",
+ "$id": "8620",
"kind": "method",
"name": "limit",
"serializedName": "limit",
"doc": "Number of checkpoints to retrieve.",
"type": {
- "$id": "8016",
+ "$id": "8621",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -106178,7 +113183,7 @@
],
"response": {
"type": {
- "$ref": "3624"
+ "$ref": "3728"
}
},
"isOverride": false,
@@ -106187,26 +113192,26 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints"
},
{
- "$id": "8017",
+ "$id": "8622",
"kind": "basic",
"name": "listFineTuningEvents",
"accessibility": "public",
"apiVersions": [],
"summary": "Get status updates for a fine-tuning job.",
"operation": {
- "$id": "8018",
+ "$id": "8623",
"name": "listFineTuningEvents",
"resourceName": "FineTuning",
"summary": "Get status updates for a fine-tuning job.",
"accessibility": "public",
"parameters": [
{
- "$id": "8019",
+ "$id": "8624",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1925"
+ "$ref": "1945"
},
"isApiVersion": false,
"optional": false,
@@ -106217,13 +113222,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.accept"
},
{
- "$id": "8020",
+ "$id": "8625",
"kind": "path",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to get events for.",
"type": {
- "$id": "8021",
+ "$id": "8626",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106241,13 +113246,13 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.fine_tuning_job_id"
},
{
- "$id": "8022",
+ "$id": "8627",
"kind": "query",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last event from the previous pagination request.",
"type": {
- "$id": "8023",
+ "$id": "8628",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106262,13 +113267,13 @@
"readOnly": false
},
{
- "$id": "8024",
+ "$id": "8629",
"kind": "query",
"name": "limit",
"serializedName": "limit",
"doc": "Number of events to retrieve.",
"type": {
- "$id": "8025",
+ "$id": "8630",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -106289,7 +113294,7 @@
200
],
"bodyType": {
- "$ref": "3665"
+ "$ref": "3769"
},
"headers": [],
"isErrorResponse": false,
@@ -106309,12 +113314,12 @@
},
"parameters": [
{
- "$id": "8026",
+ "$id": "8631",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1927"
+ "$ref": "1947"
},
"location": "Header",
"isApiVersion": false,
@@ -106326,13 +113331,13 @@
"decorators": []
},
{
- "$id": "8027",
+ "$id": "8632",
"kind": "method",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to get events for.",
"type": {
- "$id": "8028",
+ "$id": "8633",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106348,13 +113353,13 @@
"decorators": []
},
{
- "$id": "8029",
+ "$id": "8634",
"kind": "method",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last event from the previous pagination request.",
"type": {
- "$id": "8030",
+ "$id": "8635",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106370,13 +113375,13 @@
"decorators": []
},
{
- "$id": "8031",
+ "$id": "8636",
"kind": "method",
"name": "limit",
"serializedName": "limit",
"doc": "Number of events to retrieve.",
"type": {
- "$id": "8032",
+ "$id": "8637",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -106394,7 +113399,7 @@
],
"response": {
"type": {
- "$ref": "3665"
+ "$ref": "3769"
}
},
"isOverride": false,
@@ -106403,27 +113408,27 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents"
},
{
- "$id": "8033",
+ "$id": "8638",
"kind": "basic",
"name": "pauseFineTuningJob",
"accessibility": "public",
"apiVersions": [],
"summary": "Pause a fine-tune job.",
"operation": {
- "$id": "8034",
+ "$id": "8639",
"name": "pauseFineTuningJob",
"resourceName": "FineTuning",
"summary": "Pause a fine-tune job.",
"accessibility": "public",
"parameters": [
{
- "$id": "8035",
+ "$id": "8640",
"kind": "path",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to pause.",
"type": {
- "$id": "8036",
+ "$id": "8641",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106441,12 +113446,12 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.fine_tuning_job_id"
},
{
- "$id": "8037",
+ "$id": "8642",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1929"
+ "$ref": "1949"
},
"isApiVersion": false,
"optional": false,
@@ -106463,7 +113468,7 @@
200
],
"bodyType": {
- "$ref": "3539"
+ "$ref": "3639"
},
"headers": [],
"isErrorResponse": false,
@@ -106483,13 +113488,13 @@
},
"parameters": [
{
- "$id": "8038",
+ "$id": "8643",
"kind": "method",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to pause.",
"type": {
- "$id": "8039",
+ "$id": "8644",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106505,12 +113510,12 @@
"decorators": []
},
{
- "$id": "8040",
+ "$id": "8645",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1929"
+ "$ref": "1949"
},
"location": "Header",
"isApiVersion": false,
@@ -106524,7 +113529,7 @@
],
"response": {
"type": {
- "$ref": "3539"
+ "$ref": "3639"
}
},
"isOverride": false,
@@ -106533,27 +113538,27 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob"
},
{
- "$id": "8041",
+ "$id": "8646",
"kind": "basic",
"name": "resumeFineTuningJob",
"accessibility": "public",
"apiVersions": [],
"summary": "Resume a paused fine-tune job.",
"operation": {
- "$id": "8042",
+ "$id": "8647",
"name": "resumeFineTuningJob",
"resourceName": "FineTuning",
"summary": "Resume a paused fine-tune job.",
"accessibility": "public",
"parameters": [
{
- "$id": "8043",
+ "$id": "8648",
"kind": "path",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to resume.",
"type": {
- "$id": "8044",
+ "$id": "8649",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106571,12 +113576,12 @@
"crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.fine_tuning_job_id"
},
{
- "$id": "8045",
+ "$id": "8650",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1931"
+ "$ref": "1951"
},
"isApiVersion": false,
"optional": false,
@@ -106593,7 +113598,7 @@
200
],
"bodyType": {
- "$ref": "3539"
+ "$ref": "3639"
},
"headers": [],
"isErrorResponse": false,
@@ -106613,13 +113618,13 @@
},
"parameters": [
{
- "$id": "8046",
+ "$id": "8651",
"kind": "method",
"name": "fine_tuning_job_id",
"serializedName": "fine_tuning_job_id",
"doc": "The ID of the fine-tuning job to resume.",
"type": {
- "$id": "8047",
+ "$id": "8652",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -106635,12 +113640,12 @@
"decorators": []
},
{
- "$id": "8048",
+ "$id": "8653",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1931"
+ "$ref": "1951"
},
"location": "Header",
"isApiVersion": false,
@@ -106654,7 +113659,7 @@
],
"response": {
"type": {
- "$ref": "3539"
+ "$ref": "3639"
}
},
"isOverride": false,
@@ -106665,13 +113670,13 @@
],
"parameters": [
{
- "$id": "8049",
+ "$id": "8654",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8050",
+ "$id": "8655",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -106682,7 +113687,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8051",
+ "$id": "8656",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -106695,41 +113700,42 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.FineTuning",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8052",
+ "$id": "8657",
"kind": "client",
"name": "Graders",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8053",
+ "$id": "8658",
"kind": "basic",
"name": "runGrader",
"accessibility": "public",
"apiVersions": [],
"summary": "Run a grader.",
"operation": {
- "$id": "8054",
+ "$id": "8659",
"name": "runGrader",
"resourceName": "Graders",
"summary": "Run a grader.",
"accessibility": "public",
"parameters": [
{
- "$id": "8055",
+ "$id": "8660",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1933"
+ "$ref": "1953"
},
"isApiVersion": false,
"optional": false,
@@ -106740,12 +113746,12 @@
"crossLanguageDefinitionId": "OpenAI.Graders.runGrader.contentType"
},
{
- "$id": "8056",
+ "$id": "8661",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1935"
+ "$ref": "1955"
},
"isApiVersion": false,
"optional": false,
@@ -106756,12 +113762,12 @@
"crossLanguageDefinitionId": "OpenAI.Graders.runGrader.accept"
},
{
- "$id": "8057",
+ "$id": "8662",
"kind": "body",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "3684"
+ "$ref": "3788"
},
"isApiVersion": false,
"contentTypes": [
@@ -106781,7 +113787,7 @@
200
],
"bodyType": {
- "$ref": "3691"
+ "$ref": "3795"
},
"headers": [],
"isErrorResponse": false,
@@ -106804,12 +113810,12 @@
},
"parameters": [
{
- "$id": "8058",
+ "$id": "8663",
"kind": "method",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "3684"
+ "$ref": "3788"
},
"location": "Body",
"isApiVersion": false,
@@ -106821,13 +113827,13 @@
"decorators": []
},
{
- "$id": "8059",
+ "$id": "8664",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1933"
+ "$ref": "1953"
},
"location": "Header",
"isApiVersion": false,
@@ -106839,12 +113845,12 @@
"decorators": []
},
{
- "$id": "8060",
+ "$id": "8665",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1935"
+ "$ref": "1955"
},
"location": "Header",
"isApiVersion": false,
@@ -106858,7 +113864,7 @@
],
"response": {
"type": {
- "$ref": "3691"
+ "$ref": "3795"
}
},
"isOverride": false,
@@ -106867,27 +113873,27 @@
"crossLanguageDefinitionId": "OpenAI.Graders.runGrader"
},
{
- "$id": "8061",
+ "$id": "8666",
"kind": "basic",
"name": "validateGrader",
"accessibility": "public",
"apiVersions": [],
"summary": "Validate a grader.",
"operation": {
- "$id": "8062",
+ "$id": "8667",
"name": "validateGrader",
"resourceName": "Graders",
"summary": "Validate a grader.",
"accessibility": "public",
"parameters": [
{
- "$id": "8063",
+ "$id": "8668",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1937"
+ "$ref": "1957"
},
"isApiVersion": false,
"optional": false,
@@ -106898,12 +113904,12 @@
"crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.contentType"
},
{
- "$id": "8064",
+ "$id": "8669",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1939"
+ "$ref": "1959"
},
"isApiVersion": false,
"optional": false,
@@ -106914,12 +113920,12 @@
"crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.accept"
},
{
- "$id": "8065",
+ "$id": "8670",
"kind": "body",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "3747"
+ "$ref": "3851"
},
"isApiVersion": false,
"contentTypes": [
@@ -106939,7 +113945,7 @@
200
],
"bodyType": {
- "$ref": "3750"
+ "$ref": "3854"
},
"headers": [],
"isErrorResponse": false,
@@ -106962,12 +113968,12 @@
},
"parameters": [
{
- "$id": "8066",
+ "$id": "8671",
"kind": "method",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "3747"
+ "$ref": "3851"
},
"location": "Body",
"isApiVersion": false,
@@ -106979,13 +113985,13 @@
"decorators": []
},
{
- "$id": "8067",
+ "$id": "8672",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1937"
+ "$ref": "1957"
},
"location": "Header",
"isApiVersion": false,
@@ -106997,12 +114003,12 @@
"decorators": []
},
{
- "$id": "8068",
+ "$id": "8673",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1939"
+ "$ref": "1959"
},
"location": "Header",
"isApiVersion": false,
@@ -107016,7 +114022,7 @@
],
"response": {
"type": {
- "$ref": "3750"
+ "$ref": "3854"
}
},
"isOverride": false,
@@ -107027,13 +114033,13 @@
],
"parameters": [
{
- "$id": "8069",
+ "$id": "8674",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8070",
+ "$id": "8675",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -107044,7 +114050,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8071",
+ "$id": "8676",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -107057,41 +114063,42 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Graders",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8072",
+ "$id": "8677",
"kind": "client",
"name": "Evals",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8073",
+ "$id": "8678",
"kind": "basic",
"name": "listEvals",
"accessibility": "public",
"apiVersions": [],
"summary": "List evaluations for a project.",
"operation": {
- "$id": "8074",
+ "$id": "8679",
"name": "listEvals",
"resourceName": "Evals",
"summary": "List evaluations for a project.",
"accessibility": "public",
"parameters": [
{
- "$id": "8075",
+ "$id": "8680",
"kind": "query",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last eval from the previous pagination request.",
"type": {
- "$id": "8076",
+ "$id": "8681",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107106,13 +114113,13 @@
"readOnly": false
},
{
- "$id": "8077",
+ "$id": "8682",
"kind": "query",
"name": "limit",
"serializedName": "limit",
"doc": "A limit on the number of evals to be returned in a single pagination response.",
"type": {
- "$id": "8078",
+ "$id": "8683",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -107127,13 +114134,13 @@
"readOnly": false
},
{
- "$id": "8079",
+ "$id": "8684",
"kind": "query",
"name": "order",
"serializedName": "order",
"doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.",
"type": {
- "$ref": "1382"
+ "$ref": "1412"
},
"isApiVersion": false,
"explode": false,
@@ -107144,13 +114151,13 @@
"readOnly": false
},
{
- "$id": "8080",
+ "$id": "8685",
"kind": "query",
"name": "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": "1386"
+ "$ref": "1416"
},
"isApiVersion": false,
"explode": false,
@@ -107161,12 +114168,12 @@
"readOnly": false
},
{
- "$id": "8081",
+ "$id": "8686",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1941"
+ "$ref": "1961"
},
"isApiVersion": false,
"optional": false,
@@ -107183,7 +114190,7 @@
200
],
"bodyType": {
- "$ref": "3753"
+ "$ref": "3857"
},
"headers": [],
"isErrorResponse": false,
@@ -107203,13 +114210,13 @@
},
"parameters": [
{
- "$id": "8082",
+ "$id": "8687",
"kind": "method",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last eval from the previous pagination request.",
"type": {
- "$id": "8083",
+ "$id": "8688",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107225,13 +114232,13 @@
"decorators": []
},
{
- "$id": "8084",
+ "$id": "8689",
"kind": "method",
"name": "limit",
"serializedName": "limit",
"doc": "A limit on the number of evals to be returned in a single pagination response.",
"type": {
- "$id": "8085",
+ "$id": "8690",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -107247,13 +114254,13 @@
"decorators": []
},
{
- "$id": "8086",
+ "$id": "8691",
"kind": "method",
"name": "order",
"serializedName": "order",
"doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.",
"type": {
- "$ref": "1382"
+ "$ref": "1412"
},
"location": "Query",
"isApiVersion": false,
@@ -107265,13 +114272,13 @@
"decorators": []
},
{
- "$id": "8087",
+ "$id": "8692",
"kind": "method",
"name": "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": "1386"
+ "$ref": "1416"
},
"location": "Query",
"isApiVersion": false,
@@ -107283,12 +114290,12 @@
"decorators": []
},
{
- "$id": "8088",
+ "$id": "8693",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1941"
+ "$ref": "1961"
},
"location": "Header",
"isApiVersion": false,
@@ -107302,7 +114309,7 @@
],
"response": {
"type": {
- "$ref": "3753"
+ "$ref": "3857"
}
},
"isOverride": false,
@@ -107311,27 +114318,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.listEvals"
},
{
- "$id": "8089",
+ "$id": "8694",
"kind": "basic",
"name": "createEval",
"accessibility": "public",
"apiVersions": [],
"doc": "Create the structure of an evaluation that can be used to test a model's\nperformance.\n\nAn evaluation is a set of testing criteria and a datasource. After\ncreating an evaluation, you can run it on different models and model\nparameters. We support several types of graders and datasources.\n\nFor more information, see the [Evals guide](/docs/guides/evals).",
"operation": {
- "$id": "8090",
+ "$id": "8695",
"name": "createEval",
"resourceName": "Evals",
"doc": "Create the structure of an evaluation that can be used to test a model's\nperformance.\n\nAn evaluation is a set of testing criteria and a datasource. After\ncreating an evaluation, you can run it on different models and model\nparameters. We support several types of graders and datasources.\n\nFor more information, see the [Evals guide](/docs/guides/evals).",
"accessibility": "public",
"parameters": [
{
- "$id": "8091",
+ "$id": "8696",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1943"
+ "$ref": "1963"
},
"isApiVersion": false,
"optional": false,
@@ -107342,12 +114349,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.createEval.contentType"
},
{
- "$id": "8092",
+ "$id": "8697",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1945"
+ "$ref": "1965"
},
"isApiVersion": false,
"optional": false,
@@ -107358,12 +114365,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.createEval.accept"
},
{
- "$id": "8093",
+ "$id": "8698",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3837"
+ "$ref": "3949"
},
"isApiVersion": false,
"contentTypes": [
@@ -107383,7 +114390,7 @@
201
],
"bodyType": {
- "$ref": "3757"
+ "$ref": "3861"
},
"headers": [],
"isErrorResponse": false,
@@ -107406,12 +114413,12 @@
},
"parameters": [
{
- "$id": "8094",
+ "$id": "8699",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3837"
+ "$ref": "3949"
},
"location": "Body",
"isApiVersion": false,
@@ -107423,13 +114430,13 @@
"decorators": []
},
{
- "$id": "8095",
+ "$id": "8700",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1943"
+ "$ref": "1963"
},
"location": "Header",
"isApiVersion": false,
@@ -107441,12 +114448,12 @@
"decorators": []
},
{
- "$id": "8096",
+ "$id": "8701",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1945"
+ "$ref": "1965"
},
"location": "Header",
"isApiVersion": false,
@@ -107460,7 +114467,7 @@
],
"response": {
"type": {
- "$ref": "3757"
+ "$ref": "3861"
}
},
"isOverride": false,
@@ -107469,26 +114476,26 @@
"crossLanguageDefinitionId": "OpenAI.Evals.createEval"
},
{
- "$id": "8097",
+ "$id": "8702",
"kind": "basic",
"name": "getEval",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieve an evaluation by its ID.",
"operation": {
- "$id": "8098",
+ "$id": "8703",
"name": "getEval",
"resourceName": "Evals",
"summary": "Retrieve an evaluation by its ID.",
"accessibility": "public",
"parameters": [
{
- "$id": "8099",
+ "$id": "8704",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"type": {
- "$id": "8100",
+ "$id": "8705",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107506,12 +114513,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEval.eval_id"
},
{
- "$id": "8101",
+ "$id": "8706",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1947"
+ "$ref": "1967"
},
"isApiVersion": false,
"optional": false,
@@ -107528,7 +114535,7 @@
200
],
"bodyType": {
- "$ref": "3757"
+ "$ref": "3861"
},
"headers": [],
"isErrorResponse": false,
@@ -107548,12 +114555,12 @@
},
"parameters": [
{
- "$id": "8102",
+ "$id": "8707",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"type": {
- "$id": "8103",
+ "$id": "8708",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107569,12 +114576,12 @@
"decorators": []
},
{
- "$id": "8104",
+ "$id": "8709",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1947"
+ "$ref": "1967"
},
"location": "Header",
"isApiVersion": false,
@@ -107588,7 +114595,7 @@
],
"response": {
"type": {
- "$ref": "3757"
+ "$ref": "3861"
}
},
"isOverride": false,
@@ -107597,27 +114604,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEval"
},
{
- "$id": "8105",
+ "$id": "8710",
"kind": "basic",
"name": "updateEval",
"accessibility": "public",
"apiVersions": [],
"doc": "Update select, mutable properties of a specified evaluation.",
"operation": {
- "$id": "8106",
+ "$id": "8711",
"name": "updateEval",
"resourceName": "Evals",
"doc": "Update select, mutable properties of a specified evaluation.",
"accessibility": "public",
"parameters": [
{
- "$id": "8107",
+ "$id": "8712",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to update.",
"type": {
- "$id": "8108",
+ "$id": "8713",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107635,13 +114642,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.updateEval.eval_id"
},
{
- "$id": "8109",
+ "$id": "8714",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1949"
+ "$ref": "1969"
},
"isApiVersion": false,
"optional": false,
@@ -107652,12 +114659,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.updateEval.contentType"
},
{
- "$id": "8110",
+ "$id": "8715",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1951"
+ "$ref": "1971"
},
"isApiVersion": false,
"optional": false,
@@ -107668,12 +114675,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.updateEval.accept"
},
{
- "$id": "8111",
+ "$id": "8716",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3917"
+ "$ref": "4029"
},
"isApiVersion": false,
"contentTypes": [
@@ -107693,7 +114700,7 @@
200
],
"bodyType": {
- "$ref": "3757"
+ "$ref": "3861"
},
"headers": [],
"isErrorResponse": false,
@@ -107716,13 +114723,13 @@
},
"parameters": [
{
- "$id": "8112",
+ "$id": "8717",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to update.",
"type": {
- "$id": "8113",
+ "$id": "8718",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107738,12 +114745,12 @@
"decorators": []
},
{
- "$id": "8114",
+ "$id": "8719",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "3917"
+ "$ref": "4029"
},
"location": "Body",
"isApiVersion": false,
@@ -107755,13 +114762,13 @@
"decorators": []
},
{
- "$id": "8115",
+ "$id": "8720",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1949"
+ "$ref": "1969"
},
"location": "Header",
"isApiVersion": false,
@@ -107773,12 +114780,12 @@
"decorators": []
},
{
- "$id": "8116",
+ "$id": "8721",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1951"
+ "$ref": "1971"
},
"location": "Header",
"isApiVersion": false,
@@ -107792,7 +114799,7 @@
],
"response": {
"type": {
- "$ref": "3757"
+ "$ref": "3861"
}
},
"isOverride": false,
@@ -107801,27 +114808,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.updateEval"
},
{
- "$id": "8117",
+ "$id": "8722",
"kind": "basic",
"name": "deleteEval",
"accessibility": "public",
"apiVersions": [],
"doc": "Delete a specified evaluation.",
"operation": {
- "$id": "8118",
+ "$id": "8723",
"name": "deleteEval",
"resourceName": "Evals",
"doc": "Delete a specified evaluation.",
"accessibility": "public",
"parameters": [
{
- "$id": "8119",
+ "$id": "8724",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to delete.",
"type": {
- "$id": "8120",
+ "$id": "8725",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107839,12 +114846,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.eval_id"
},
{
- "$id": "8121",
+ "$id": "8726",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1953"
+ "$ref": "1973"
},
"isApiVersion": false,
"optional": false,
@@ -107861,7 +114868,7 @@
200
],
"bodyType": {
- "$ref": "3923"
+ "$ref": "4035"
},
"headers": [],
"isErrorResponse": false,
@@ -107881,13 +114888,13 @@
},
"parameters": [
{
- "$id": "8122",
+ "$id": "8727",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to delete.",
"type": {
- "$id": "8123",
+ "$id": "8728",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107903,12 +114910,12 @@
"decorators": []
},
{
- "$id": "8124",
+ "$id": "8729",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1953"
+ "$ref": "1973"
},
"location": "Header",
"isApiVersion": false,
@@ -107922,7 +114929,7 @@
],
"response": {
"type": {
- "$ref": "3923"
+ "$ref": "4035"
}
},
"isOverride": false,
@@ -107931,7 +114938,7 @@
"crossLanguageDefinitionId": "OpenAI.Evals.deleteEval"
},
{
- "$id": "8125",
+ "$id": "8730",
"kind": "basic",
"name": "getEvalRuns",
"accessibility": "public",
@@ -107939,7 +114946,7 @@
"doc": "Retrieve a list of runs for a specified evaluation.",
"summary": "",
"operation": {
- "$id": "8126",
+ "$id": "8731",
"name": "getEvalRuns",
"resourceName": "Evals",
"summary": "",
@@ -107947,13 +114954,13 @@
"accessibility": "public",
"parameters": [
{
- "$id": "8127",
+ "$id": "8732",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to retrieve runs for.",
"type": {
- "$id": "8128",
+ "$id": "8733",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107971,13 +114978,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.eval_id"
},
{
- "$id": "8129",
+ "$id": "8734",
"kind": "query",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last run from the previous pagination request.",
"type": {
- "$id": "8130",
+ "$id": "8735",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -107992,13 +114999,13 @@
"readOnly": false
},
{
- "$id": "8131",
+ "$id": "8736",
"kind": "query",
"name": "limit",
"serializedName": "limit",
"doc": "A limit on the number of runs to be returned in a single pagination response.",
"type": {
- "$id": "8132",
+ "$id": "8737",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -108013,13 +115020,13 @@
"readOnly": false
},
{
- "$id": "8133",
+ "$id": "8738",
"kind": "query",
"name": "order",
"serializedName": "order",
"doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.",
"type": {
- "$ref": "1390"
+ "$ref": "1420"
},
"isApiVersion": false,
"explode": false,
@@ -108030,13 +115037,13 @@
"readOnly": false
},
{
- "$id": "8134",
+ "$id": "8739",
"kind": "query",
"name": "status",
"serializedName": "status",
"doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.",
"type": {
- "$ref": "1394"
+ "$ref": "1424"
},
"isApiVersion": false,
"explode": false,
@@ -108047,12 +115054,12 @@
"readOnly": false
},
{
- "$id": "8135",
+ "$id": "8740",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1955"
+ "$ref": "1975"
},
"isApiVersion": false,
"optional": false,
@@ -108069,7 +115076,7 @@
200
],
"bodyType": {
- "$ref": "3929"
+ "$ref": "4041"
},
"headers": [],
"isErrorResponse": false,
@@ -108089,13 +115096,13 @@
},
"parameters": [
{
- "$id": "8136",
+ "$id": "8741",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to retrieve runs for.",
"type": {
- "$id": "8137",
+ "$id": "8742",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108111,13 +115118,13 @@
"decorators": []
},
{
- "$id": "8138",
+ "$id": "8743",
"kind": "method",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last run from the previous pagination request.",
"type": {
- "$id": "8139",
+ "$id": "8744",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108133,13 +115140,13 @@
"decorators": []
},
{
- "$id": "8140",
+ "$id": "8745",
"kind": "method",
"name": "limit",
"serializedName": "limit",
"doc": "A limit on the number of runs to be returned in a single pagination response.",
"type": {
- "$id": "8141",
+ "$id": "8746",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -108155,13 +115162,13 @@
"decorators": []
},
{
- "$id": "8142",
+ "$id": "8747",
"kind": "method",
"name": "order",
"serializedName": "order",
"doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.",
"type": {
- "$ref": "1390"
+ "$ref": "1420"
},
"location": "Query",
"isApiVersion": false,
@@ -108173,13 +115180,13 @@
"decorators": []
},
{
- "$id": "8143",
+ "$id": "8748",
"kind": "method",
"name": "status",
"serializedName": "status",
"doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.",
"type": {
- "$ref": "1394"
+ "$ref": "1424"
},
"location": "Query",
"isApiVersion": false,
@@ -108191,12 +115198,12 @@
"decorators": []
},
{
- "$id": "8144",
+ "$id": "8749",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1955"
+ "$ref": "1975"
},
"location": "Header",
"isApiVersion": false,
@@ -108210,7 +115217,7 @@
],
"response": {
"type": {
- "$ref": "3929"
+ "$ref": "4041"
}
},
"isOverride": false,
@@ -108219,27 +115226,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns"
},
{
- "$id": "8145",
+ "$id": "8750",
"kind": "basic",
"name": "createEvalRun",
"accessibility": "public",
"apiVersions": [],
"doc": "Create a new evaluation run, beginning the grading process.",
"operation": {
- "$id": "8146",
+ "$id": "8751",
"name": "createEvalRun",
"resourceName": "Evals",
"doc": "Create a new evaluation run, beginning the grading process.",
"accessibility": "public",
"parameters": [
{
- "$id": "8147",
+ "$id": "8752",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to run.",
"type": {
- "$id": "8148",
+ "$id": "8753",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108257,13 +115264,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.eval_id"
},
{
- "$id": "8149",
+ "$id": "8754",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1957"
+ "$ref": "1977"
},
"isApiVersion": false,
"optional": false,
@@ -108274,12 +115281,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.contentType"
},
{
- "$id": "8150",
+ "$id": "8755",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1959"
+ "$ref": "1979"
},
"isApiVersion": false,
"optional": false,
@@ -108290,12 +115297,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.accept"
},
{
- "$id": "8151",
+ "$id": "8756",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "4000"
+ "$ref": "4112"
},
"isApiVersion": false,
"contentTypes": [
@@ -108315,7 +115322,7 @@
201
],
"bodyType": {
- "$ref": "3933"
+ "$ref": "4045"
},
"headers": [],
"isErrorResponse": false,
@@ -108338,13 +115345,13 @@
},
"parameters": [
{
- "$id": "8152",
+ "$id": "8757",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation to run.",
"type": {
- "$id": "8153",
+ "$id": "8758",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108360,12 +115367,12 @@
"decorators": []
},
{
- "$id": "8154",
+ "$id": "8759",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "4000"
+ "$ref": "4112"
},
"location": "Body",
"isApiVersion": false,
@@ -108377,13 +115384,13 @@
"decorators": []
},
{
- "$id": "8155",
+ "$id": "8760",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1957"
+ "$ref": "1977"
},
"location": "Header",
"isApiVersion": false,
@@ -108395,12 +115402,12 @@
"decorators": []
},
{
- "$id": "8156",
+ "$id": "8761",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1959"
+ "$ref": "1979"
},
"location": "Header",
"isApiVersion": false,
@@ -108414,7 +115421,7 @@
],
"response": {
"type": {
- "$ref": "3933"
+ "$ref": "4045"
}
},
"isOverride": false,
@@ -108423,27 +115430,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun"
},
{
- "$id": "8157",
+ "$id": "8762",
"kind": "basic",
"name": "getEvalRun",
"accessibility": "public",
"apiVersions": [],
"doc": "Retrieve a specific evaluation run by its ID.",
"operation": {
- "$id": "8158",
+ "$id": "8763",
"name": "getEvalRun",
"resourceName": "Evals",
"doc": "Retrieve a specific evaluation run by its ID.",
"accessibility": "public",
"parameters": [
{
- "$id": "8159",
+ "$id": "8764",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8160",
+ "$id": "8765",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108461,13 +115468,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.eval_id"
},
{
- "$id": "8161",
+ "$id": "8766",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to retrieve.",
"type": {
- "$id": "8162",
+ "$id": "8767",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108485,12 +115492,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.run_id"
},
{
- "$id": "8163",
+ "$id": "8768",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1961"
+ "$ref": "1981"
},
"isApiVersion": false,
"optional": false,
@@ -108507,7 +115514,7 @@
200
],
"bodyType": {
- "$ref": "3933"
+ "$ref": "4045"
},
"headers": [],
"isErrorResponse": false,
@@ -108527,13 +115534,13 @@
},
"parameters": [
{
- "$id": "8164",
+ "$id": "8769",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8165",
+ "$id": "8770",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108549,13 +115556,13 @@
"decorators": []
},
{
- "$id": "8166",
+ "$id": "8771",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to retrieve.",
"type": {
- "$id": "8167",
+ "$id": "8772",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108571,12 +115578,12 @@
"decorators": []
},
{
- "$id": "8168",
+ "$id": "8773",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1961"
+ "$ref": "1981"
},
"location": "Header",
"isApiVersion": false,
@@ -108590,7 +115597,7 @@
],
"response": {
"type": {
- "$ref": "3933"
+ "$ref": "4045"
}
},
"isOverride": false,
@@ -108599,27 +115606,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun"
},
{
- "$id": "8169",
+ "$id": "8774",
"kind": "basic",
"name": "cancelEvalRun",
"accessibility": "public",
"apiVersions": [],
"doc": "Cancel a specific evaluation run by its ID.",
"operation": {
- "$id": "8170",
+ "$id": "8775",
"name": "cancelEvalRun",
"resourceName": "Evals",
"doc": "Cancel a specific evaluation run by its ID.",
"accessibility": "public",
"parameters": [
{
- "$id": "8171",
+ "$id": "8776",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8172",
+ "$id": "8777",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108637,13 +115644,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.eval_id"
},
{
- "$id": "8173",
+ "$id": "8778",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to cancel.",
"type": {
- "$id": "8174",
+ "$id": "8779",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108661,12 +115668,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.run_id"
},
{
- "$id": "8175",
+ "$id": "8780",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1963"
+ "$ref": "1983"
},
"isApiVersion": false,
"optional": false,
@@ -108683,7 +115690,7 @@
200
],
"bodyType": {
- "$ref": "3933"
+ "$ref": "4045"
},
"headers": [],
"isErrorResponse": false,
@@ -108703,13 +115710,13 @@
},
"parameters": [
{
- "$id": "8176",
+ "$id": "8781",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8177",
+ "$id": "8782",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108725,13 +115732,13 @@
"decorators": []
},
{
- "$id": "8178",
+ "$id": "8783",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to cancel.",
"type": {
- "$id": "8179",
+ "$id": "8784",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108747,12 +115754,12 @@
"decorators": []
},
{
- "$id": "8180",
+ "$id": "8785",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1963"
+ "$ref": "1983"
},
"location": "Header",
"isApiVersion": false,
@@ -108766,7 +115773,7 @@
],
"response": {
"type": {
- "$ref": "3933"
+ "$ref": "4045"
}
},
"isOverride": false,
@@ -108775,27 +115782,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun"
},
{
- "$id": "8181",
+ "$id": "8786",
"kind": "basic",
"name": "deleteEvalRun",
"accessibility": "public",
"apiVersions": [],
"doc": "Delete a specific evaluation run by its ID.",
"operation": {
- "$id": "8182",
+ "$id": "8787",
"name": "deleteEvalRun",
"resourceName": "Evals",
"doc": "Delete a specific evaluation run by its ID.",
"accessibility": "public",
"parameters": [
{
- "$id": "8183",
+ "$id": "8788",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8184",
+ "$id": "8789",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108813,13 +115820,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.eval_id"
},
{
- "$id": "8185",
+ "$id": "8790",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to delete.",
"type": {
- "$id": "8186",
+ "$id": "8791",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108837,12 +115844,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.run_id"
},
{
- "$id": "8187",
+ "$id": "8792",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1965"
+ "$ref": "1985"
},
"isApiVersion": false,
"optional": false,
@@ -108859,7 +115866,7 @@
200
],
"bodyType": {
- "$ref": "4293"
+ "$ref": "4475"
},
"headers": [],
"isErrorResponse": false,
@@ -108879,13 +115886,13 @@
},
"parameters": [
{
- "$id": "8188",
+ "$id": "8793",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8189",
+ "$id": "8794",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108901,13 +115908,13 @@
"decorators": []
},
{
- "$id": "8190",
+ "$id": "8795",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to delete.",
"type": {
- "$id": "8191",
+ "$id": "8796",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108923,12 +115930,12 @@
"decorators": []
},
{
- "$id": "8192",
+ "$id": "8797",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1965"
+ "$ref": "1985"
},
"location": "Header",
"isApiVersion": false,
@@ -108942,7 +115949,7 @@
],
"response": {
"type": {
- "$ref": "4293"
+ "$ref": "4475"
}
},
"isOverride": false,
@@ -108951,27 +115958,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun"
},
{
- "$id": "8193",
+ "$id": "8798",
"kind": "basic",
"name": "getEvalRunOutputItems",
"accessibility": "public",
"apiVersions": [],
"doc": "Get a list of output items for a specified evaluation run.",
"operation": {
- "$id": "8194",
+ "$id": "8799",
"name": "getEvalRunOutputItems",
"resourceName": "Evals",
"doc": "Get a list of output items for a specified evaluation run.",
"accessibility": "public",
"parameters": [
{
- "$id": "8195",
+ "$id": "8800",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8196",
+ "$id": "8801",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -108989,13 +115996,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.eval_id"
},
{
- "$id": "8197",
+ "$id": "8802",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to retrieve output items for.",
"type": {
- "$id": "8198",
+ "$id": "8803",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109013,13 +116020,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.run_id"
},
{
- "$id": "8199",
+ "$id": "8804",
"kind": "query",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last output item from the previous pagination request.",
"type": {
- "$id": "8200",
+ "$id": "8805",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109034,13 +116041,13 @@
"readOnly": false
},
{
- "$id": "8201",
+ "$id": "8806",
"kind": "query",
"name": "limit",
"serializedName": "limit",
"doc": "A limit on the number of output items to be returned in a single pagination response.",
"type": {
- "$id": "8202",
+ "$id": "8807",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -109055,13 +116062,13 @@
"readOnly": false
},
{
- "$id": "8203",
+ "$id": "8808",
"kind": "query",
"name": "status",
"serializedName": "status",
"doc": "Filter output items by their status. Possible values are `fail` and `pass`.",
"type": {
- "$ref": "1401"
+ "$ref": "1431"
},
"isApiVersion": false,
"explode": false,
@@ -109072,13 +116079,13 @@
"readOnly": false
},
{
- "$id": "8204",
+ "$id": "8809",
"kind": "query",
"name": "order",
"serializedName": "order",
"doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.",
"type": {
- "$ref": "1405"
+ "$ref": "1435"
},
"isApiVersion": false,
"explode": false,
@@ -109089,12 +116096,12 @@
"readOnly": false
},
{
- "$id": "8205",
+ "$id": "8810",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1967"
+ "$ref": "1987"
},
"isApiVersion": false,
"optional": false,
@@ -109111,7 +116118,7 @@
200
],
"bodyType": {
- "$ref": "4299"
+ "$ref": "4481"
},
"headers": [],
"isErrorResponse": false,
@@ -109131,13 +116138,13 @@
},
"parameters": [
{
- "$id": "8206",
+ "$id": "8811",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8207",
+ "$id": "8812",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109153,13 +116160,13 @@
"decorators": []
},
{
- "$id": "8208",
+ "$id": "8813",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run to retrieve output items for.",
"type": {
- "$id": "8209",
+ "$id": "8814",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109175,13 +116182,13 @@
"decorators": []
},
{
- "$id": "8210",
+ "$id": "8815",
"kind": "method",
"name": "after",
"serializedName": "after",
"doc": "Identifier for the last output item from the previous pagination request.",
"type": {
- "$id": "8211",
+ "$id": "8816",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109197,13 +116204,13 @@
"decorators": []
},
{
- "$id": "8212",
+ "$id": "8817",
"kind": "method",
"name": "limit",
"serializedName": "limit",
"doc": "A limit on the number of output items to be returned in a single pagination response.",
"type": {
- "$id": "8213",
+ "$id": "8818",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -109219,13 +116226,13 @@
"decorators": []
},
{
- "$id": "8214",
+ "$id": "8819",
"kind": "method",
"name": "status",
"serializedName": "status",
"doc": "Filter output items by their status. Possible values are `fail` and `pass`.",
"type": {
- "$ref": "1401"
+ "$ref": "1431"
},
"location": "Query",
"isApiVersion": false,
@@ -109237,13 +116244,13 @@
"decorators": []
},
{
- "$id": "8215",
+ "$id": "8820",
"kind": "method",
"name": "order",
"serializedName": "order",
"doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.",
"type": {
- "$ref": "1405"
+ "$ref": "1435"
},
"location": "Query",
"isApiVersion": false,
@@ -109255,12 +116262,12 @@
"decorators": []
},
{
- "$id": "8216",
+ "$id": "8821",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1967"
+ "$ref": "1987"
},
"location": "Header",
"isApiVersion": false,
@@ -109274,7 +116281,7 @@
],
"response": {
"type": {
- "$ref": "4299"
+ "$ref": "4481"
}
},
"isOverride": false,
@@ -109283,27 +116290,27 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems"
},
{
- "$id": "8217",
+ "$id": "8822",
"kind": "basic",
"name": "getEvalRunOutputItem",
"accessibility": "public",
"apiVersions": [],
"doc": "Retrieve a specific output item from an evaluation run by its ID.",
"operation": {
- "$id": "8218",
+ "$id": "8823",
"name": "getEvalRunOutputItem",
"resourceName": "Evals",
"doc": "Retrieve a specific output item from an evaluation run by its ID.",
"accessibility": "public",
"parameters": [
{
- "$id": "8219",
+ "$id": "8824",
"kind": "path",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8220",
+ "$id": "8825",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109321,13 +116328,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.eval_id"
},
{
- "$id": "8221",
+ "$id": "8826",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run the output item belongs to.",
"type": {
- "$id": "8222",
+ "$id": "8827",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109345,13 +116352,13 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.run_id"
},
{
- "$id": "8223",
+ "$id": "8828",
"kind": "path",
"name": "output_item_id",
"serializedName": "output_item_id",
"doc": "The ID of the output item to retrieve.",
"type": {
- "$id": "8224",
+ "$id": "8829",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109369,12 +116376,12 @@
"crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.output_item_id"
},
{
- "$id": "8225",
+ "$id": "8830",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1969"
+ "$ref": "1989"
},
"isApiVersion": false,
"optional": false,
@@ -109391,7 +116398,7 @@
200
],
"bodyType": {
- "$ref": "4303"
+ "$ref": "4485"
},
"headers": [],
"isErrorResponse": false,
@@ -109411,13 +116418,13 @@
},
"parameters": [
{
- "$id": "8226",
+ "$id": "8831",
"kind": "method",
"name": "eval_id",
"serializedName": "eval_id",
"doc": "The ID of the evaluation the run belongs to.",
"type": {
- "$id": "8227",
+ "$id": "8832",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109433,13 +116440,13 @@
"decorators": []
},
{
- "$id": "8228",
+ "$id": "8833",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the evaluation run the output item belongs to.",
"type": {
- "$id": "8229",
+ "$id": "8834",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109455,13 +116462,13 @@
"decorators": []
},
{
- "$id": "8230",
+ "$id": "8835",
"kind": "method",
"name": "output_item_id",
"serializedName": "output_item_id",
"doc": "The ID of the output item to retrieve.",
"type": {
- "$id": "8231",
+ "$id": "8836",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109477,12 +116484,12 @@
"decorators": []
},
{
- "$id": "8232",
+ "$id": "8837",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1969"
+ "$ref": "1989"
},
"location": "Header",
"isApiVersion": false,
@@ -109496,7 +116503,7 @@
],
"response": {
"type": {
- "$ref": "4303"
+ "$ref": "4485"
}
},
"isOverride": false,
@@ -109507,13 +116514,13 @@
],
"parameters": [
{
- "$id": "8233",
+ "$id": "8838",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8234",
+ "$id": "8839",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -109524,7 +116531,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8235",
+ "$id": "8840",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -109537,40 +116544,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Evals",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8236",
+ "$id": "8841",
"kind": "client",
"name": "Responses",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8237",
+ "$id": "8842",
"kind": "basic",
"name": "createResponse",
"accessibility": "public",
"apiVersions": [],
"doc": "Creates a model response.",
"operation": {
- "$id": "8238",
+ "$id": "8843",
"name": "createResponse",
"resourceName": "Responses",
"doc": "Creates a model response.",
"accessibility": "public",
"parameters": [
{
- "$id": "8239",
+ "$id": "8844",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"isApiVersion": false,
"optional": false,
@@ -109581,13 +116589,13 @@
"crossLanguageDefinitionId": "OpenAI.Responses.createResponse.accept"
},
{
- "$id": "8240",
+ "$id": "8845",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1971"
+ "$ref": "1991"
},
"isApiVersion": false,
"optional": false,
@@ -109598,12 +116606,12 @@
"crossLanguageDefinitionId": "OpenAI.Responses.createResponse.contentType"
},
{
- "$id": "8241",
+ "$id": "8846",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "4366"
+ "$ref": "4548"
},
"isApiVersion": false,
"contentTypes": [
@@ -109623,15 +116631,15 @@
200
],
"bodyType": {
- "$id": "8242",
+ "$id": "8847",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$ref": "4769"
+ "$ref": "5072"
},
{
- "$ref": "4954"
+ "$ref": "5257"
}
],
"namespace": "",
@@ -109642,7 +116650,7 @@
"name": "contentType",
"nameInResponse": "Content-Type",
"type": {
- "$ref": "1973"
+ "$ref": "1993"
}
}
],
@@ -109667,12 +116675,12 @@
},
"parameters": [
{
- "$id": "8243",
+ "$id": "8848",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"location": "Header",
"isApiVersion": false,
@@ -109684,12 +116692,12 @@
"decorators": []
},
{
- "$id": "8244",
+ "$id": "8849",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "4366"
+ "$ref": "4548"
},
"location": "Body",
"isApiVersion": false,
@@ -109701,13 +116709,13 @@
"decorators": []
},
{
- "$id": "8245",
+ "$id": "8850",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1971"
+ "$ref": "1991"
},
"location": "Header",
"isApiVersion": false,
@@ -109721,7 +116729,7 @@
],
"response": {
"type": {
- "$ref": "8242"
+ "$ref": "8847"
}
},
"isOverride": false,
@@ -109730,27 +116738,27 @@
"crossLanguageDefinitionId": "OpenAI.Responses.createResponse"
},
{
- "$id": "8246",
+ "$id": "8851",
"kind": "basic",
"name": "getResponse",
"accessibility": "public",
"apiVersions": [],
"doc": "Retrieves a model response with the given ID.",
"operation": {
- "$id": "8247",
+ "$id": "8852",
"name": "getResponse",
"resourceName": "Responses",
"doc": "Retrieves a model response with the given ID.",
"accessibility": "public",
"parameters": [
{
- "$id": "8248",
+ "$id": "8853",
"kind": "path",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to retrieve.",
"type": {
- "$id": "8249",
+ "$id": "8854",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109768,12 +116776,12 @@
"crossLanguageDefinitionId": "OpenAI.Responses.getResponse.response_id"
},
{
- "$id": "8250",
+ "$id": "8855",
"kind": "query",
"name": "includables",
"serializedName": "include[]",
"type": {
- "$ref": "4759"
+ "$ref": "5062"
},
"isApiVersion": false,
"explode": true,
@@ -109784,13 +116792,13 @@
"readOnly": false
},
{
- "$id": "8251",
+ "$id": "8856",
"kind": "query",
"name": "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": "8252",
+ "$id": "8857",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -109805,13 +116813,13 @@
"readOnly": false
},
{
- "$id": "8253",
+ "$id": "8858",
"kind": "query",
"name": "starting_after",
"serializedName": "starting_after",
"doc": "The sequence number of the event after which to start streaming.",
"type": {
- "$id": "8254",
+ "$id": "8859",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -109826,12 +116834,12 @@
"readOnly": false
},
{
- "$id": "8255",
+ "$id": "8860",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$id": "8256",
+ "$id": "8861",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109852,15 +116860,15 @@
200
],
"bodyType": {
- "$id": "8257",
+ "$id": "8862",
"kind": "union",
"name": "",
"variantTypes": [
{
- "$ref": "4769"
+ "$ref": "5072"
},
{
- "$ref": "4954"
+ "$ref": "5257"
}
],
"namespace": "",
@@ -109871,7 +116879,7 @@
"name": "contentType",
"nameInResponse": "Content-Type",
"type": {
- "$ref": "1975"
+ "$ref": "1995"
}
}
],
@@ -109893,13 +116901,13 @@
},
"parameters": [
{
- "$id": "8258",
+ "$id": "8863",
"kind": "method",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to retrieve.",
"type": {
- "$id": "8259",
+ "$id": "8864",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -109915,12 +116923,12 @@
"decorators": []
},
{
- "$id": "8260",
+ "$id": "8865",
"kind": "method",
"name": "includables",
"serializedName": "include[]",
"type": {
- "$ref": "4759"
+ "$ref": "5062"
},
"location": "Query",
"isApiVersion": false,
@@ -109932,13 +116940,13 @@
"decorators": []
},
{
- "$id": "8261",
+ "$id": "8866",
"kind": "method",
"name": "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": "8262",
+ "$id": "8867",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -109954,13 +116962,13 @@
"decorators": []
},
{
- "$id": "8263",
+ "$id": "8868",
"kind": "method",
"name": "starting_after",
"serializedName": "starting_after",
"doc": "The sequence number of the event after which to start streaming.",
"type": {
- "$id": "8264",
+ "$id": "8869",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -109976,12 +116984,12 @@
"decorators": []
},
{
- "$id": "8265",
+ "$id": "8870",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "8256"
+ "$ref": "8861"
},
"location": "Header",
"isApiVersion": false,
@@ -109995,7 +117003,7 @@
],
"response": {
"type": {
- "$ref": "8257"
+ "$ref": "8862"
}
},
"isOverride": false,
@@ -110004,25 +117012,25 @@
"crossLanguageDefinitionId": "OpenAI.Responses.getResponse"
},
{
- "$id": "8266",
+ "$id": "8871",
"kind": "basic",
"name": "deleteResponse",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "8267",
+ "$id": "8872",
"name": "deleteResponse",
"resourceName": "Responses",
"accessibility": "public",
"parameters": [
{
- "$id": "8268",
+ "$id": "8873",
"kind": "path",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to delete.",
"type": {
- "$id": "8269",
+ "$id": "8874",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110040,12 +117048,12 @@
"crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.response_id"
},
{
- "$id": "8270",
+ "$id": "8875",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1977"
+ "$ref": "1997"
},
"isApiVersion": false,
"optional": false,
@@ -110062,7 +117070,7 @@
200
],
"bodyType": {
- "$ref": "5312"
+ "$ref": "5719"
},
"headers": [],
"isErrorResponse": false,
@@ -110082,13 +117090,13 @@
},
"parameters": [
{
- "$id": "8271",
+ "$id": "8876",
"kind": "method",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to delete.",
"type": {
- "$id": "8272",
+ "$id": "8877",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110104,12 +117112,12 @@
"decorators": []
},
{
- "$id": "8273",
+ "$id": "8878",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1977"
+ "$ref": "1997"
},
"location": "Header",
"isApiVersion": false,
@@ -110123,7 +117131,7 @@
],
"response": {
"type": {
- "$ref": "5312"
+ "$ref": "5719"
}
},
"isOverride": false,
@@ -110132,25 +117140,25 @@
"crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse"
},
{
- "$id": "8274",
+ "$id": "8879",
"kind": "basic",
"name": "cancelResponse",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "8275",
+ "$id": "8880",
"name": "cancelResponse",
"resourceName": "Responses",
"accessibility": "public",
"parameters": [
{
- "$id": "8276",
+ "$id": "8881",
"kind": "path",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to cancel.",
"type": {
- "$id": "8277",
+ "$id": "8882",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110168,12 +117176,12 @@
"crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.response_id"
},
{
- "$id": "8278",
+ "$id": "8883",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1979"
+ "$ref": "1999"
},
"isApiVersion": false,
"optional": false,
@@ -110190,7 +117198,7 @@
200
],
"bodyType": {
- "$ref": "4769"
+ "$ref": "5072"
},
"headers": [],
"isErrorResponse": false,
@@ -110210,13 +117218,13 @@
},
"parameters": [
{
- "$id": "8279",
+ "$id": "8884",
"kind": "method",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to cancel.",
"type": {
- "$id": "8280",
+ "$id": "8885",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110232,12 +117240,12 @@
"decorators": []
},
{
- "$id": "8281",
+ "$id": "8886",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1979"
+ "$ref": "1999"
},
"location": "Header",
"isApiVersion": false,
@@ -110251,7 +117259,7 @@
],
"response": {
"type": {
- "$ref": "4769"
+ "$ref": "5072"
}
},
"isOverride": false,
@@ -110260,27 +117268,27 @@
"crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse"
},
{
- "$id": "8282",
+ "$id": "8887",
"kind": "paging",
"name": "listInputItems",
"accessibility": "public",
"apiVersions": [],
"doc": "Returns a list of input items for a given response.",
"operation": {
- "$id": "8283",
+ "$id": "8888",
"name": "listInputItems",
"resourceName": "Responses",
"doc": "Returns a list of input items for a given response.",
"accessibility": "public",
"parameters": [
{
- "$id": "8284",
+ "$id": "8889",
"kind": "path",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to retrieve.",
"type": {
- "$id": "8285",
+ "$id": "8890",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110298,13 +117306,13 @@
"crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.response_id"
},
{
- "$id": "8286",
+ "$id": "8891",
"kind": "query",
"name": "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": "8287",
+ "$id": "8892",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -110319,13 +117327,13 @@
"readOnly": false
},
{
- "$id": "8288",
+ "$id": "8893",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -110336,13 +117344,13 @@
"readOnly": false
},
{
- "$id": "8289",
+ "$id": "8894",
"kind": "query",
"name": "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": "8290",
+ "$id": "8895",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110357,13 +117365,13 @@
"readOnly": false
},
{
- "$id": "8291",
+ "$id": "8896",
"kind": "query",
"name": "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": "8292",
+ "$id": "8897",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110378,12 +117386,12 @@
"readOnly": false
},
{
- "$id": "8293",
+ "$id": "8898",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1981"
+ "$ref": "2001"
},
"isApiVersion": false,
"optional": false,
@@ -110400,7 +117408,7 @@
200
],
"bodyType": {
- "$ref": "5317"
+ "$ref": "5724"
},
"headers": [],
"isErrorResponse": false,
@@ -110420,13 +117428,13 @@
},
"parameters": [
{
- "$id": "8294",
+ "$id": "8899",
"kind": "method",
"name": "response_id",
"serializedName": "response_id",
"doc": "The ID of the response to retrieve.",
"type": {
- "$id": "8295",
+ "$id": "8900",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110442,13 +117450,13 @@
"decorators": []
},
{
- "$id": "8296",
+ "$id": "8901",
"kind": "method",
"name": "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": "8297",
+ "$id": "8902",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -110464,13 +117472,13 @@
"decorators": []
},
{
- "$id": "8298",
+ "$id": "8903",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -110482,13 +117490,13 @@
"decorators": []
},
{
- "$id": "8299",
+ "$id": "8904",
"kind": "method",
"name": "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": "8300",
+ "$id": "8905",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110504,13 +117512,13 @@
"decorators": []
},
{
- "$id": "8301",
+ "$id": "8906",
"kind": "method",
"name": "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": "8302",
+ "$id": "8907",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -110526,12 +117534,12 @@
"decorators": []
},
{
- "$id": "8303",
+ "$id": "8908",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1981"
+ "$ref": "2001"
},
"location": "Header",
"isApiVersion": false,
@@ -110545,7 +117553,7 @@
],
"response": {
"type": {
- "$ref": "4809"
+ "$ref": "5112"
},
"resultSegments": [
"data"
@@ -110561,7 +117569,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "8289"
+ "$ref": "8894"
},
"responseSegments": [
"last_id"
@@ -110573,13 +117581,13 @@
],
"parameters": [
{
- "$id": "8304",
+ "$id": "8909",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8305",
+ "$id": "8910",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -110590,7 +117598,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8306",
+ "$id": "8911",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -110603,40 +117611,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Responses",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8307",
+ "$id": "8912",
"kind": "client",
"name": "Images",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8308",
+ "$id": "8913",
"kind": "basic",
"name": "GenerateImages",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates an image given a prompt",
"operation": {
- "$id": "8309",
+ "$id": "8914",
"name": "GenerateImages",
"resourceName": "Images",
"summary": "Creates an image given a prompt",
"accessibility": "public",
"parameters": [
{
- "$id": "8310",
+ "$id": "8915",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1983"
+ "$ref": "2003"
},
"isApiVersion": false,
"optional": false,
@@ -110647,13 +117656,13 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImage.accept"
},
{
- "$id": "8311",
+ "$id": "8916",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1985"
+ "$ref": "2005"
},
"isApiVersion": false,
"optional": false,
@@ -110664,12 +117673,12 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImage.contentType"
},
{
- "$id": "8312",
+ "$id": "8917",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5326"
+ "$ref": "5733"
},
"isApiVersion": false,
"contentTypes": [
@@ -110689,7 +117698,7 @@
200
],
"bodyType": {
- "$ref": "5353"
+ "$ref": "5760"
},
"headers": [],
"isErrorResponse": false,
@@ -110712,12 +117721,12 @@
},
"parameters": [
{
- "$id": "8313",
+ "$id": "8918",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1987"
+ "$ref": "2007"
},
"location": "Header",
"isApiVersion": false,
@@ -110729,12 +117738,12 @@
"decorators": []
},
{
- "$id": "8314",
+ "$id": "8919",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5326"
+ "$ref": "5733"
},
"location": "Body",
"isApiVersion": false,
@@ -110746,13 +117755,13 @@
"decorators": []
},
{
- "$id": "8315",
+ "$id": "8920",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1985"
+ "$ref": "2005"
},
"location": "Header",
"isApiVersion": false,
@@ -110766,7 +117775,7 @@
],
"response": {
"type": {
- "$ref": "5353"
+ "$ref": "5760"
}
},
"isOverride": false,
@@ -110775,26 +117784,26 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImage"
},
{
- "$id": "8316",
+ "$id": "8921",
"kind": "basic",
"name": "GenerateImageEdits",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates an edited or extended image given an original image and a prompt.",
"operation": {
- "$id": "8317",
+ "$id": "8922",
"name": "GenerateImageEdits",
"resourceName": "Images",
"summary": "Creates an edited or extended image given an original image and a prompt.",
"accessibility": "public",
"parameters": [
{
- "$id": "8318",
+ "$id": "8923",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1989"
+ "$ref": "2009"
},
"isApiVersion": false,
"optional": false,
@@ -110805,12 +117814,12 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.accept"
},
{
- "$id": "8319",
+ "$id": "8924",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1991"
+ "$ref": "2011"
},
"isApiVersion": false,
"optional": false,
@@ -110821,12 +117830,12 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.contentType"
},
{
- "$id": "8320",
+ "$id": "8925",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5380"
+ "$ref": "5787"
},
"isApiVersion": false,
"contentTypes": [
@@ -110846,7 +117855,7 @@
200
],
"bodyType": {
- "$ref": "5353"
+ "$ref": "5760"
},
"headers": [],
"isErrorResponse": false,
@@ -110869,12 +117878,12 @@
},
"parameters": [
{
- "$id": "8321",
+ "$id": "8926",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1993"
+ "$ref": "2013"
},
"location": "Header",
"isApiVersion": false,
@@ -110886,12 +117895,12 @@
"decorators": []
},
{
- "$id": "8322",
+ "$id": "8927",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1995"
+ "$ref": "2015"
},
"location": "Header",
"isApiVersion": false,
@@ -110903,12 +117912,12 @@
"decorators": []
},
{
- "$id": "8323",
+ "$id": "8928",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5380"
+ "$ref": "5787"
},
"location": "Body",
"isApiVersion": false,
@@ -110922,7 +117931,7 @@
],
"response": {
"type": {
- "$ref": "5353"
+ "$ref": "5760"
}
},
"isOverride": false,
@@ -110931,26 +117940,26 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImageEdit"
},
{
- "$id": "8324",
+ "$id": "8929",
"kind": "basic",
"name": "GenerateImageVariations",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates an edited or extended image given an original image and a prompt.",
"operation": {
- "$id": "8325",
+ "$id": "8930",
"name": "GenerateImageVariations",
"resourceName": "Images",
"summary": "Creates an edited or extended image given an original image and a prompt.",
"accessibility": "public",
"parameters": [
{
- "$id": "8326",
+ "$id": "8931",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1997"
+ "$ref": "2017"
},
"isApiVersion": false,
"optional": false,
@@ -110961,12 +117970,12 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.accept"
},
{
- "$id": "8327",
+ "$id": "8932",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "1999"
+ "$ref": "2019"
},
"isApiVersion": false,
"optional": false,
@@ -110977,12 +117986,12 @@
"crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.contentType"
},
{
- "$id": "8328",
+ "$id": "8933",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5406"
+ "$ref": "5813"
},
"isApiVersion": false,
"contentTypes": [
@@ -111002,7 +118011,7 @@
200
],
"bodyType": {
- "$ref": "5353"
+ "$ref": "5760"
},
"headers": [],
"isErrorResponse": false,
@@ -111025,12 +118034,12 @@
},
"parameters": [
{
- "$id": "8329",
+ "$id": "8934",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2001"
+ "$ref": "2021"
},
"location": "Header",
"isApiVersion": false,
@@ -111042,12 +118051,12 @@
"decorators": []
},
{
- "$id": "8330",
+ "$id": "8935",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "2003"
+ "$ref": "2023"
},
"location": "Header",
"isApiVersion": false,
@@ -111059,12 +118068,12 @@
"decorators": []
},
{
- "$id": "8331",
+ "$id": "8936",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5406"
+ "$ref": "5813"
},
"location": "Body",
"isApiVersion": false,
@@ -111078,7 +118087,7 @@
],
"response": {
"type": {
- "$ref": "5353"
+ "$ref": "5760"
}
},
"isOverride": false,
@@ -111089,13 +118098,13 @@
],
"parameters": [
{
- "$id": "8332",
+ "$id": "8937",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8333",
+ "$id": "8938",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -111106,7 +118115,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8334",
+ "$id": "8939",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -111119,40 +118128,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Images",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8335",
+ "$id": "8940",
"kind": "client",
"name": "Messages",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8336",
+ "$id": "8941",
"kind": "basic",
"name": "createMessage",
"accessibility": "public",
"apiVersions": [],
"summary": "Create a message.",
"operation": {
- "$id": "8337",
+ "$id": "8942",
"name": "createMessage",
"resourceName": "Messages",
"summary": "Create a message.",
"accessibility": "public",
"parameters": [
{
- "$id": "8338",
+ "$id": "8943",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2005"
+ "$ref": "2025"
},
"isApiVersion": false,
"optional": false,
@@ -111163,12 +118173,12 @@
"crossLanguageDefinitionId": "OpenAI.Messages.createMessage.accept"
},
{
- "$id": "8339",
+ "$id": "8944",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2007"
+ "$ref": "2027"
},
"isApiVersion": false,
"optional": false,
@@ -111179,13 +118189,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.createMessage.openAIBeta"
},
{
- "$id": "8340",
+ "$id": "8945",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.",
"type": {
- "$id": "8341",
+ "$id": "8946",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111203,13 +118213,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.createMessage.thread_id"
},
{
- "$id": "8342",
+ "$id": "8947",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2009"
+ "$ref": "2029"
},
"isApiVersion": false,
"optional": false,
@@ -111220,12 +118230,12 @@
"crossLanguageDefinitionId": "OpenAI.Messages.createMessage.contentType"
},
{
- "$id": "8343",
+ "$id": "8948",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5421"
+ "$ref": "5828"
},
"isApiVersion": false,
"contentTypes": [
@@ -111245,7 +118255,7 @@
200
],
"bodyType": {
- "$ref": "5493"
+ "$ref": "5916"
},
"headers": [],
"isErrorResponse": false,
@@ -111268,12 +118278,12 @@
},
"parameters": [
{
- "$id": "8344",
+ "$id": "8949",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2011"
+ "$ref": "2031"
},
"location": "Header",
"isApiVersion": false,
@@ -111285,12 +118295,12 @@
"decorators": []
},
{
- "$id": "8345",
+ "$id": "8950",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2013"
+ "$ref": "2033"
},
"location": "Header",
"isApiVersion": false,
@@ -111302,13 +118312,13 @@
"decorators": []
},
{
- "$id": "8346",
+ "$id": "8951",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.",
"type": {
- "$id": "8347",
+ "$id": "8952",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111324,12 +118334,12 @@
"decorators": []
},
{
- "$id": "8348",
+ "$id": "8953",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5421"
+ "$ref": "5828"
},
"location": "Body",
"isApiVersion": false,
@@ -111341,13 +118351,13 @@
"decorators": []
},
{
- "$id": "8349",
+ "$id": "8954",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2009"
+ "$ref": "2029"
},
"location": "Header",
"isApiVersion": false,
@@ -111361,7 +118371,7 @@
],
"response": {
"type": {
- "$ref": "5493"
+ "$ref": "5916"
}
},
"isOverride": false,
@@ -111370,26 +118380,26 @@
"crossLanguageDefinitionId": "OpenAI.Messages.createMessage"
},
{
- "$id": "8350",
+ "$id": "8955",
"kind": "paging",
"name": "listMessages",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of messages for a given thread.",
"operation": {
- "$id": "8351",
+ "$id": "8956",
"name": "listMessages",
"resourceName": "Messages",
"summary": "Returns a list of messages for a given thread.",
"accessibility": "public",
"parameters": [
{
- "$id": "8352",
+ "$id": "8957",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2015"
+ "$ref": "2035"
},
"isApiVersion": false,
"optional": false,
@@ -111400,12 +118410,12 @@
"crossLanguageDefinitionId": "OpenAI.Messages.listMessages.accept"
},
{
- "$id": "8353",
+ "$id": "8958",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2017"
+ "$ref": "2037"
},
"isApiVersion": false,
"optional": false,
@@ -111416,13 +118426,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.listMessages.openAIBeta"
},
{
- "$id": "8354",
+ "$id": "8959",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.",
"type": {
- "$id": "8355",
+ "$id": "8960",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111440,13 +118450,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.listMessages.thread_id"
},
{
- "$id": "8356",
+ "$id": "8961",
"kind": "query",
"name": "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": "8357",
+ "$id": "8962",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -111461,13 +118471,13 @@
"readOnly": false
},
{
- "$id": "8358",
+ "$id": "8963",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -111478,13 +118488,13 @@
"readOnly": false
},
{
- "$id": "8359",
+ "$id": "8964",
"kind": "query",
"name": "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": "8360",
+ "$id": "8965",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111499,13 +118509,13 @@
"readOnly": false
},
{
- "$id": "8361",
+ "$id": "8966",
"kind": "query",
"name": "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": "8362",
+ "$id": "8967",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111526,7 +118536,7 @@
200
],
"bodyType": {
- "$ref": "5533"
+ "$ref": "5956"
},
"headers": [],
"isErrorResponse": false,
@@ -111546,12 +118556,12 @@
},
"parameters": [
{
- "$id": "8363",
+ "$id": "8968",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2019"
+ "$ref": "2039"
},
"location": "Header",
"isApiVersion": false,
@@ -111563,12 +118573,12 @@
"decorators": []
},
{
- "$id": "8364",
+ "$id": "8969",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2021"
+ "$ref": "2041"
},
"location": "Header",
"isApiVersion": false,
@@ -111580,13 +118590,13 @@
"decorators": []
},
{
- "$id": "8365",
+ "$id": "8970",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.",
"type": {
- "$id": "8366",
+ "$id": "8971",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111602,13 +118612,13 @@
"decorators": []
},
{
- "$id": "8367",
+ "$id": "8972",
"kind": "method",
"name": "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": "8368",
+ "$id": "8973",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -111624,13 +118634,13 @@
"decorators": []
},
{
- "$id": "8369",
+ "$id": "8974",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -111642,13 +118652,13 @@
"decorators": []
},
{
- "$id": "8370",
+ "$id": "8975",
"kind": "method",
"name": "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": "8371",
+ "$id": "8976",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111664,13 +118674,13 @@
"decorators": []
},
{
- "$id": "8372",
+ "$id": "8977",
"kind": "method",
"name": "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": "8373",
+ "$id": "8978",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111688,7 +118698,7 @@
],
"response": {
"type": {
- "$ref": "5536"
+ "$ref": "5959"
},
"resultSegments": [
"data"
@@ -111704,7 +118714,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "8359"
+ "$ref": "8964"
},
"responseSegments": [
"last_id"
@@ -111714,26 +118724,26 @@
}
},
{
- "$id": "8374",
+ "$id": "8979",
"kind": "basic",
"name": "getMessage",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieve a message.",
"operation": {
- "$id": "8375",
+ "$id": "8980",
"name": "getMessage",
"resourceName": "Messages",
"summary": "Retrieve a message.",
"accessibility": "public",
"parameters": [
{
- "$id": "8376",
+ "$id": "8981",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2023"
+ "$ref": "2043"
},
"isApiVersion": false,
"optional": false,
@@ -111744,12 +118754,12 @@
"crossLanguageDefinitionId": "OpenAI.Messages.getMessage.accept"
},
{
- "$id": "8377",
+ "$id": "8982",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2025"
+ "$ref": "2045"
},
"isApiVersion": false,
"optional": false,
@@ -111760,13 +118770,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.getMessage.openAIBeta"
},
{
- "$id": "8378",
+ "$id": "8983",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.",
"type": {
- "$id": "8379",
+ "$id": "8984",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111784,13 +118794,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.getMessage.thread_id"
},
{
- "$id": "8380",
+ "$id": "8985",
"kind": "path",
"name": "message_id",
"serializedName": "message_id",
"doc": "The ID of the message to retrieve.",
"type": {
- "$id": "8381",
+ "$id": "8986",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111814,7 +118824,7 @@
200
],
"bodyType": {
- "$ref": "5493"
+ "$ref": "5916"
},
"headers": [],
"isErrorResponse": false,
@@ -111834,12 +118844,12 @@
},
"parameters": [
{
- "$id": "8382",
+ "$id": "8987",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2027"
+ "$ref": "2047"
},
"location": "Header",
"isApiVersion": false,
@@ -111851,12 +118861,12 @@
"decorators": []
},
{
- "$id": "8383",
+ "$id": "8988",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2029"
+ "$ref": "2049"
},
"location": "Header",
"isApiVersion": false,
@@ -111868,13 +118878,13 @@
"decorators": []
},
{
- "$id": "8384",
+ "$id": "8989",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.",
"type": {
- "$id": "8385",
+ "$id": "8990",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111890,13 +118900,13 @@
"decorators": []
},
{
- "$id": "8386",
+ "$id": "8991",
"kind": "method",
"name": "message_id",
"serializedName": "message_id",
"doc": "The ID of the message to retrieve.",
"type": {
- "$id": "8387",
+ "$id": "8992",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111914,7 +118924,7 @@
],
"response": {
"type": {
- "$ref": "5493"
+ "$ref": "5916"
}
},
"isOverride": false,
@@ -111923,26 +118933,26 @@
"crossLanguageDefinitionId": "OpenAI.Messages.getMessage"
},
{
- "$id": "8388",
+ "$id": "8993",
"kind": "basic",
"name": "modifyMessage",
"accessibility": "public",
"apiVersions": [],
"summary": "Modifies a message.",
"operation": {
- "$id": "8389",
+ "$id": "8994",
"name": "modifyMessage",
"resourceName": "Messages",
"summary": "Modifies a message.",
"accessibility": "public",
"parameters": [
{
- "$id": "8390",
+ "$id": "8995",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2031"
+ "$ref": "2051"
},
"isApiVersion": false,
"optional": false,
@@ -111953,12 +118963,12 @@
"crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.accept"
},
{
- "$id": "8391",
+ "$id": "8996",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2033"
+ "$ref": "2053"
},
"isApiVersion": false,
"optional": false,
@@ -111969,13 +118979,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.openAIBeta"
},
{
- "$id": "8392",
+ "$id": "8997",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which this message belongs.",
"type": {
- "$id": "8393",
+ "$id": "8998",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -111993,13 +119003,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.thread_id"
},
{
- "$id": "8394",
+ "$id": "8999",
"kind": "path",
"name": "message_id",
"serializedName": "message_id",
"doc": "The ID of the message to modify.",
"type": {
- "$id": "8395",
+ "$id": "9000",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112017,13 +119027,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.message_id"
},
{
- "$id": "8396",
+ "$id": "9001",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2035"
+ "$ref": "2055"
},
"isApiVersion": false,
"optional": false,
@@ -112034,12 +119044,12 @@
"crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.contentType"
},
{
- "$id": "8397",
+ "$id": "9002",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5543"
+ "$ref": "5966"
},
"isApiVersion": false,
"contentTypes": [
@@ -112059,7 +119069,7 @@
200
],
"bodyType": {
- "$ref": "5493"
+ "$ref": "5916"
},
"headers": [],
"isErrorResponse": false,
@@ -112082,12 +119092,12 @@
},
"parameters": [
{
- "$id": "8398",
+ "$id": "9003",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2037"
+ "$ref": "2057"
},
"location": "Header",
"isApiVersion": false,
@@ -112099,12 +119109,12 @@
"decorators": []
},
{
- "$id": "8399",
+ "$id": "9004",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2039"
+ "$ref": "2059"
},
"location": "Header",
"isApiVersion": false,
@@ -112116,13 +119126,13 @@
"decorators": []
},
{
- "$id": "8400",
+ "$id": "9005",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which this message belongs.",
"type": {
- "$id": "8401",
+ "$id": "9006",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112138,13 +119148,13 @@
"decorators": []
},
{
- "$id": "8402",
+ "$id": "9007",
"kind": "method",
"name": "message_id",
"serializedName": "message_id",
"doc": "The ID of the message to modify.",
"type": {
- "$id": "8403",
+ "$id": "9008",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112160,12 +119170,12 @@
"decorators": []
},
{
- "$id": "8404",
+ "$id": "9009",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5543"
+ "$ref": "5966"
},
"location": "Body",
"isApiVersion": false,
@@ -112177,13 +119187,13 @@
"decorators": []
},
{
- "$id": "8405",
+ "$id": "9010",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2035"
+ "$ref": "2055"
},
"location": "Header",
"isApiVersion": false,
@@ -112197,7 +119207,7 @@
],
"response": {
"type": {
- "$ref": "5493"
+ "$ref": "5916"
}
},
"isOverride": false,
@@ -112206,26 +119216,26 @@
"crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage"
},
{
- "$id": "8406",
+ "$id": "9011",
"kind": "basic",
"name": "deleteMessage",
"accessibility": "public",
"apiVersions": [],
"summary": "Deletes a message.",
"operation": {
- "$id": "8407",
+ "$id": "9012",
"name": "deleteMessage",
"resourceName": "Messages",
"summary": "Deletes a message.",
"accessibility": "public",
"parameters": [
{
- "$id": "8408",
+ "$id": "9013",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2041"
+ "$ref": "2061"
},
"isApiVersion": false,
"optional": false,
@@ -112236,12 +119246,12 @@
"crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.accept"
},
{
- "$id": "8409",
+ "$id": "9014",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2043"
+ "$ref": "2063"
},
"isApiVersion": false,
"optional": false,
@@ -112252,13 +119262,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.openAIBeta"
},
{
- "$id": "8410",
+ "$id": "9015",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which this message belongs.",
"type": {
- "$id": "8411",
+ "$id": "9016",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112276,13 +119286,13 @@
"crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.thread_id"
},
{
- "$id": "8412",
+ "$id": "9017",
"kind": "path",
"name": "message_id",
"serializedName": "message_id",
"doc": "The ID of the message to delete.",
"type": {
- "$id": "8413",
+ "$id": "9018",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112306,7 +119316,7 @@
200
],
"bodyType": {
- "$ref": "5545"
+ "$ref": "5968"
},
"headers": [],
"isErrorResponse": false,
@@ -112326,12 +119336,12 @@
},
"parameters": [
{
- "$id": "8414",
+ "$id": "9019",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2045"
+ "$ref": "2065"
},
"location": "Header",
"isApiVersion": false,
@@ -112343,12 +119353,12 @@
"decorators": []
},
{
- "$id": "8415",
+ "$id": "9020",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2047"
+ "$ref": "2067"
},
"location": "Header",
"isApiVersion": false,
@@ -112360,13 +119370,13 @@
"decorators": []
},
{
- "$id": "8416",
+ "$id": "9021",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which this message belongs.",
"type": {
- "$id": "8417",
+ "$id": "9022",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112382,13 +119392,13 @@
"decorators": []
},
{
- "$id": "8418",
+ "$id": "9023",
"kind": "method",
"name": "message_id",
"serializedName": "message_id",
"doc": "The ID of the message to delete.",
"type": {
- "$id": "8419",
+ "$id": "9024",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112406,7 +119416,7 @@
],
"response": {
"type": {
- "$ref": "5545"
+ "$ref": "5968"
}
},
"isOverride": false,
@@ -112417,13 +119427,13 @@
],
"parameters": [
{
- "$id": "8420",
+ "$id": "9025",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8421",
+ "$id": "9026",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -112434,7 +119444,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8422",
+ "$id": "9027",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -112447,40 +119457,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Messages",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8423",
+ "$id": "9028",
"kind": "client",
"name": "Moderations",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8424",
+ "$id": "9029",
"kind": "basic",
"name": "ClassifyText",
"accessibility": "public",
"apiVersions": [],
"summary": "Classifies if text is potentially harmful.",
"operation": {
- "$id": "8425",
+ "$id": "9030",
"name": "ClassifyText",
"resourceName": "Moderations",
"summary": "Classifies if text is potentially harmful.",
"accessibility": "public",
"parameters": [
{
- "$id": "8426",
+ "$id": "9031",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2049"
+ "$ref": "2069"
},
"isApiVersion": false,
"optional": false,
@@ -112491,13 +119502,13 @@
"crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.accept"
},
{
- "$id": "8427",
+ "$id": "9032",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2051"
+ "$ref": "2071"
},
"isApiVersion": false,
"optional": false,
@@ -112508,12 +119519,12 @@
"crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.contentType"
},
{
- "$id": "8428",
+ "$id": "9033",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5551"
+ "$ref": "5974"
},
"isApiVersion": false,
"contentTypes": [
@@ -112533,7 +119544,7 @@
200
],
"bodyType": {
- "$ref": "5568"
+ "$ref": "5991"
},
"headers": [],
"isErrorResponse": false,
@@ -112556,12 +119567,12 @@
},
"parameters": [
{
- "$id": "8429",
+ "$id": "9034",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2053"
+ "$ref": "2073"
},
"location": "Header",
"isApiVersion": false,
@@ -112573,12 +119584,12 @@
"decorators": []
},
{
- "$id": "8430",
+ "$id": "9035",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5551"
+ "$ref": "5974"
},
"location": "Body",
"isApiVersion": false,
@@ -112590,13 +119601,13 @@
"decorators": []
},
{
- "$id": "8431",
+ "$id": "9036",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2051"
+ "$ref": "2071"
},
"location": "Header",
"isApiVersion": false,
@@ -112610,7 +119621,7 @@
],
"response": {
"type": {
- "$ref": "5568"
+ "$ref": "5991"
}
},
"isOverride": false,
@@ -112621,13 +119632,13 @@
],
"parameters": [
{
- "$id": "8432",
+ "$id": "9037",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8433",
+ "$id": "9038",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -112638,7 +119649,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8434",
+ "$id": "9039",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -112651,40 +119662,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Moderations",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8435",
+ "$id": "9040",
"kind": "client",
"name": "Runs",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8436",
+ "$id": "9041",
"kind": "basic",
"name": "createThreadAndRun",
"accessibility": "public",
"apiVersions": [],
"summary": "Create a thread and run it in one request.",
"operation": {
- "$id": "8437",
+ "$id": "9042",
"name": "createThreadAndRun",
"resourceName": "Runs",
"summary": "Create a thread and run it in one request.",
"accessibility": "public",
"parameters": [
{
- "$id": "8438",
+ "$id": "9043",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"isApiVersion": false,
"optional": false,
@@ -112695,12 +119707,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.accept"
},
{
- "$id": "8439",
+ "$id": "9044",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2055"
+ "$ref": "2075"
},
"isApiVersion": false,
"optional": false,
@@ -112711,13 +119723,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.openAIBeta"
},
{
- "$id": "8440",
+ "$id": "9045",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2057"
+ "$ref": "2077"
},
"isApiVersion": false,
"optional": false,
@@ -112728,12 +119740,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.contentType"
},
{
- "$id": "8441",
+ "$id": "9046",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5663"
+ "$ref": "6091"
},
"isApiVersion": false,
"contentTypes": [
@@ -112753,7 +119765,7 @@
200
],
"bodyType": {
- "$ref": "5729"
+ "$ref": "6157"
},
"headers": [],
"isErrorResponse": false,
@@ -112776,12 +119788,12 @@
},
"parameters": [
{
- "$id": "8442",
+ "$id": "9047",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"location": "Header",
"isApiVersion": false,
@@ -112793,12 +119805,12 @@
"decorators": []
},
{
- "$id": "8443",
+ "$id": "9048",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2059"
+ "$ref": "2079"
},
"location": "Header",
"isApiVersion": false,
@@ -112810,12 +119822,12 @@
"decorators": []
},
{
- "$id": "8444",
+ "$id": "9049",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5663"
+ "$ref": "6091"
},
"location": "Body",
"isApiVersion": false,
@@ -112827,13 +119839,13 @@
"decorators": []
},
{
- "$id": "8445",
+ "$id": "9050",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2057"
+ "$ref": "2077"
},
"location": "Header",
"isApiVersion": false,
@@ -112847,7 +119859,7 @@
],
"response": {
"type": {
- "$ref": "5729"
+ "$ref": "6157"
}
},
"isOverride": false,
@@ -112856,26 +119868,26 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun"
},
{
- "$id": "8446",
+ "$id": "9051",
"kind": "basic",
"name": "createRun",
"accessibility": "public",
"apiVersions": [],
"summary": "Create a run.",
"operation": {
- "$id": "8447",
+ "$id": "9052",
"name": "createRun",
"resourceName": "Runs",
"summary": "Create a run.",
"accessibility": "public",
"parameters": [
{
- "$id": "8448",
+ "$id": "9053",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"isApiVersion": false,
"optional": false,
@@ -112886,12 +119898,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createRun.accept"
},
{
- "$id": "8449",
+ "$id": "9054",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2061"
+ "$ref": "2081"
},
"isApiVersion": false,
"optional": false,
@@ -112902,13 +119914,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createRun.openAIBeta"
},
{
- "$id": "8450",
+ "$id": "9055",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to run.",
"type": {
- "$id": "8451",
+ "$id": "9056",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -112926,17 +119938,17 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createRun.thread_id"
},
{
- "$id": "8452",
+ "$id": "9057",
"kind": "query",
"name": "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": "8453",
+ "$id": "9058",
"kind": "array",
"name": "ArrayIncludedRunStepProperty",
"valueType": {
- "$ref": "1409"
+ "$ref": "1443"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -112951,13 +119963,13 @@
"readOnly": false
},
{
- "$id": "8454",
+ "$id": "9059",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2063"
+ "$ref": "2083"
},
"isApiVersion": false,
"optional": false,
@@ -112968,12 +119980,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createRun.contentType"
},
{
- "$id": "8455",
+ "$id": "9060",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5825"
+ "$ref": "6253"
},
"isApiVersion": false,
"contentTypes": [
@@ -112993,7 +120005,7 @@
200
],
"bodyType": {
- "$ref": "5729"
+ "$ref": "6157"
},
"headers": [],
"isErrorResponse": false,
@@ -113016,12 +120028,12 @@
},
"parameters": [
{
- "$id": "8456",
+ "$id": "9061",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"location": "Header",
"isApiVersion": false,
@@ -113033,12 +120045,12 @@
"decorators": []
},
{
- "$id": "8457",
+ "$id": "9062",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2065"
+ "$ref": "2085"
},
"location": "Header",
"isApiVersion": false,
@@ -113050,13 +120062,13 @@
"decorators": []
},
{
- "$id": "8458",
+ "$id": "9063",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to run.",
"type": {
- "$id": "8459",
+ "$id": "9064",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113072,13 +120084,13 @@
"decorators": []
},
{
- "$id": "8460",
+ "$id": "9065",
"kind": "method",
"name": "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": "8453"
+ "$ref": "9058"
},
"location": "Query",
"isApiVersion": false,
@@ -113090,12 +120102,12 @@
"decorators": []
},
{
- "$id": "8461",
+ "$id": "9066",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5825"
+ "$ref": "6253"
},
"location": "Body",
"isApiVersion": false,
@@ -113107,13 +120119,13 @@
"decorators": []
},
{
- "$id": "8462",
+ "$id": "9067",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2063"
+ "$ref": "2083"
},
"location": "Header",
"isApiVersion": false,
@@ -113127,7 +120139,7 @@
],
"response": {
"type": {
- "$ref": "5729"
+ "$ref": "6157"
}
},
"isOverride": false,
@@ -113136,26 +120148,26 @@
"crossLanguageDefinitionId": "OpenAI.Runs.createRun"
},
{
- "$id": "8463",
+ "$id": "9068",
"kind": "paging",
"name": "listRuns",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of runs belonging to a thread.",
"operation": {
- "$id": "8464",
+ "$id": "9069",
"name": "listRuns",
"resourceName": "Runs",
"summary": "Returns a list of runs belonging to a thread.",
"accessibility": "public",
"parameters": [
{
- "$id": "8465",
+ "$id": "9070",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2067"
+ "$ref": "2087"
},
"isApiVersion": false,
"optional": false,
@@ -113166,12 +120178,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.listRuns.accept"
},
{
- "$id": "8466",
+ "$id": "9071",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2069"
+ "$ref": "2089"
},
"isApiVersion": false,
"optional": false,
@@ -113182,13 +120194,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.listRuns.openAIBeta"
},
{
- "$id": "8467",
+ "$id": "9072",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread the run belongs to.",
"type": {
- "$id": "8468",
+ "$id": "9073",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113206,13 +120218,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.listRuns.thread_id"
},
{
- "$id": "8469",
+ "$id": "9074",
"kind": "query",
"name": "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": "8470",
+ "$id": "9075",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -113227,13 +120239,13 @@
"readOnly": false
},
{
- "$id": "8471",
+ "$id": "9076",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -113244,13 +120256,13 @@
"readOnly": false
},
{
- "$id": "8472",
+ "$id": "9077",
"kind": "query",
"name": "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": "8473",
+ "$id": "9078",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113265,13 +120277,13 @@
"readOnly": false
},
{
- "$id": "8474",
+ "$id": "9079",
"kind": "query",
"name": "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": "8475",
+ "$id": "9080",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113292,7 +120304,7 @@
200
],
"bodyType": {
- "$ref": "5867"
+ "$ref": "6295"
},
"headers": [],
"isErrorResponse": false,
@@ -113312,12 +120324,12 @@
},
"parameters": [
{
- "$id": "8476",
+ "$id": "9081",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2071"
+ "$ref": "2091"
},
"location": "Header",
"isApiVersion": false,
@@ -113329,12 +120341,12 @@
"decorators": []
},
{
- "$id": "8477",
+ "$id": "9082",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2073"
+ "$ref": "2093"
},
"location": "Header",
"isApiVersion": false,
@@ -113346,13 +120358,13 @@
"decorators": []
},
{
- "$id": "8478",
+ "$id": "9083",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread the run belongs to.",
"type": {
- "$id": "8479",
+ "$id": "9084",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113368,13 +120380,13 @@
"decorators": []
},
{
- "$id": "8480",
+ "$id": "9085",
"kind": "method",
"name": "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": "8481",
+ "$id": "9086",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -113390,13 +120402,13 @@
"decorators": []
},
{
- "$id": "8482",
+ "$id": "9087",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -113408,13 +120420,13 @@
"decorators": []
},
{
- "$id": "8483",
+ "$id": "9088",
"kind": "method",
"name": "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": "8484",
+ "$id": "9089",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113430,13 +120442,13 @@
"decorators": []
},
{
- "$id": "8485",
+ "$id": "9090",
"kind": "method",
"name": "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": "8486",
+ "$id": "9091",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113454,7 +120466,7 @@
],
"response": {
"type": {
- "$ref": "5870"
+ "$ref": "6298"
},
"resultSegments": [
"data"
@@ -113470,7 +120482,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "8472"
+ "$ref": "9077"
},
"responseSegments": [
"last_id"
@@ -113480,26 +120492,26 @@
}
},
{
- "$id": "8487",
+ "$id": "9092",
"kind": "basic",
"name": "getRun",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a run.",
"operation": {
- "$id": "8488",
+ "$id": "9093",
"name": "getRun",
"resourceName": "Runs",
"summary": "Retrieves a run.",
"accessibility": "public",
"parameters": [
{
- "$id": "8489",
+ "$id": "9094",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2075"
+ "$ref": "2095"
},
"isApiVersion": false,
"optional": false,
@@ -113510,12 +120522,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRun.accept"
},
{
- "$id": "8490",
+ "$id": "9095",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2077"
+ "$ref": "2097"
},
"isApiVersion": false,
"optional": false,
@@ -113526,13 +120538,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRun.openAIBeta"
},
{
- "$id": "8491",
+ "$id": "9096",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) that was run.",
"type": {
- "$id": "8492",
+ "$id": "9097",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113550,13 +120562,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRun.thread_id"
},
{
- "$id": "8493",
+ "$id": "9098",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to retrieve.",
"type": {
- "$id": "8494",
+ "$id": "9099",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113580,7 +120592,7 @@
200
],
"bodyType": {
- "$ref": "5729"
+ "$ref": "6157"
},
"headers": [],
"isErrorResponse": false,
@@ -113600,12 +120612,12 @@
},
"parameters": [
{
- "$id": "8495",
+ "$id": "9100",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2079"
+ "$ref": "2099"
},
"location": "Header",
"isApiVersion": false,
@@ -113617,12 +120629,12 @@
"decorators": []
},
{
- "$id": "8496",
+ "$id": "9101",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2081"
+ "$ref": "2101"
},
"location": "Header",
"isApiVersion": false,
@@ -113634,13 +120646,13 @@
"decorators": []
},
{
- "$id": "8497",
+ "$id": "9102",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) that was run.",
"type": {
- "$id": "8498",
+ "$id": "9103",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113656,13 +120668,13 @@
"decorators": []
},
{
- "$id": "8499",
+ "$id": "9104",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to retrieve.",
"type": {
- "$id": "8500",
+ "$id": "9105",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113680,7 +120692,7 @@
],
"response": {
"type": {
- "$ref": "5729"
+ "$ref": "6157"
}
},
"isOverride": false,
@@ -113689,26 +120701,26 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRun"
},
{
- "$id": "8501",
+ "$id": "9106",
"kind": "basic",
"name": "modifyRun",
"accessibility": "public",
"apiVersions": [],
"summary": "Modifies a run.",
"operation": {
- "$id": "8502",
+ "$id": "9107",
"name": "modifyRun",
"resourceName": "Runs",
"summary": "Modifies a run.",
"accessibility": "public",
"parameters": [
{
- "$id": "8503",
+ "$id": "9108",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2083"
+ "$ref": "2103"
},
"isApiVersion": false,
"optional": false,
@@ -113719,12 +120731,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.accept"
},
{
- "$id": "8504",
+ "$id": "9109",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2085"
+ "$ref": "2105"
},
"isApiVersion": false,
"optional": false,
@@ -113735,13 +120747,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.openAIBeta"
},
{
- "$id": "8505",
+ "$id": "9110",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) that was run.",
"type": {
- "$id": "8506",
+ "$id": "9111",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113759,13 +120771,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.thread_id"
},
{
- "$id": "8507",
+ "$id": "9112",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to modify.",
"type": {
- "$id": "8508",
+ "$id": "9113",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113783,13 +120795,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.run_id"
},
{
- "$id": "8509",
+ "$id": "9114",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2087"
+ "$ref": "2107"
},
"isApiVersion": false,
"optional": false,
@@ -113800,12 +120812,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.contentType"
},
{
- "$id": "8510",
+ "$id": "9115",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5877"
+ "$ref": "6305"
},
"isApiVersion": false,
"contentTypes": [
@@ -113825,7 +120837,7 @@
200
],
"bodyType": {
- "$ref": "5729"
+ "$ref": "6157"
},
"headers": [],
"isErrorResponse": false,
@@ -113848,12 +120860,12 @@
},
"parameters": [
{
- "$id": "8511",
+ "$id": "9116",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2089"
+ "$ref": "2109"
},
"location": "Header",
"isApiVersion": false,
@@ -113865,12 +120877,12 @@
"decorators": []
},
{
- "$id": "8512",
+ "$id": "9117",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2091"
+ "$ref": "2111"
},
"location": "Header",
"isApiVersion": false,
@@ -113882,13 +120894,13 @@
"decorators": []
},
{
- "$id": "8513",
+ "$id": "9118",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) that was run.",
"type": {
- "$id": "8514",
+ "$id": "9119",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113904,13 +120916,13 @@
"decorators": []
},
{
- "$id": "8515",
+ "$id": "9120",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to modify.",
"type": {
- "$id": "8516",
+ "$id": "9121",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -113926,12 +120938,12 @@
"decorators": []
},
{
- "$id": "8517",
+ "$id": "9122",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5877"
+ "$ref": "6305"
},
"location": "Body",
"isApiVersion": false,
@@ -113943,13 +120955,13 @@
"decorators": []
},
{
- "$id": "8518",
+ "$id": "9123",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2087"
+ "$ref": "2107"
},
"location": "Header",
"isApiVersion": false,
@@ -113963,7 +120975,7 @@
],
"response": {
"type": {
- "$ref": "5729"
+ "$ref": "6157"
}
},
"isOverride": false,
@@ -113972,26 +120984,26 @@
"crossLanguageDefinitionId": "OpenAI.Runs.modifyRun"
},
{
- "$id": "8519",
+ "$id": "9124",
"kind": "basic",
"name": "cancelRun",
"accessibility": "public",
"apiVersions": [],
"summary": "Cancels a run that is `in_progress`.",
"operation": {
- "$id": "8520",
+ "$id": "9125",
"name": "cancelRun",
"resourceName": "Runs",
"summary": "Cancels a run that is `in_progress`.",
"accessibility": "public",
"parameters": [
{
- "$id": "8521",
+ "$id": "9126",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2093"
+ "$ref": "2113"
},
"isApiVersion": false,
"optional": false,
@@ -114002,12 +121014,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.accept"
},
{
- "$id": "8522",
+ "$id": "9127",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2095"
+ "$ref": "2115"
},
"isApiVersion": false,
"optional": false,
@@ -114018,13 +121030,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.openAIBeta"
},
{
- "$id": "8523",
+ "$id": "9128",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which this run belongs.",
"type": {
- "$id": "8524",
+ "$id": "9129",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114042,13 +121054,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.thread_id"
},
{
- "$id": "8525",
+ "$id": "9130",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to cancel.",
"type": {
- "$id": "8526",
+ "$id": "9131",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114072,7 +121084,7 @@
200
],
"bodyType": {
- "$ref": "5729"
+ "$ref": "6157"
},
"headers": [],
"isErrorResponse": false,
@@ -114092,12 +121104,12 @@
},
"parameters": [
{
- "$id": "8527",
+ "$id": "9132",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2097"
+ "$ref": "2117"
},
"location": "Header",
"isApiVersion": false,
@@ -114109,12 +121121,12 @@
"decorators": []
},
{
- "$id": "8528",
+ "$id": "9133",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2099"
+ "$ref": "2119"
},
"location": "Header",
"isApiVersion": false,
@@ -114126,13 +121138,13 @@
"decorators": []
},
{
- "$id": "8529",
+ "$id": "9134",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which this run belongs.",
"type": {
- "$id": "8530",
+ "$id": "9135",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114148,13 +121160,13 @@
"decorators": []
},
{
- "$id": "8531",
+ "$id": "9136",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to cancel.",
"type": {
- "$id": "8532",
+ "$id": "9137",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114172,7 +121184,7 @@
],
"response": {
"type": {
- "$ref": "5729"
+ "$ref": "6157"
}
},
"isOverride": false,
@@ -114181,26 +121193,26 @@
"crossLanguageDefinitionId": "OpenAI.Runs.cancelRun"
},
{
- "$id": "8533",
+ "$id": "9138",
"kind": "basic",
"name": "submitToolOutputsToRun",
"accessibility": "public",
"apiVersions": [],
"summary": "When a run has the `status: \"requires_action\"` and `required_action.type` is\n`submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once\nthey're all completed. All outputs must be submitted in a single request.",
"operation": {
- "$id": "8534",
+ "$id": "9139",
"name": "submitToolOutputsToRun",
"resourceName": "Runs",
"summary": "When a run has the `status: \"requires_action\"` and `required_action.type` is\n`submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once\nthey're all completed. All outputs must be submitted in a single request.",
"accessibility": "public",
"parameters": [
{
- "$id": "8535",
+ "$id": "9140",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"isApiVersion": false,
"optional": false,
@@ -114211,12 +121223,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.accept"
},
{
- "$id": "8536",
+ "$id": "9141",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2101"
+ "$ref": "2121"
},
"isApiVersion": false,
"optional": false,
@@ -114227,13 +121239,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.openAIBeta"
},
{
- "$id": "8537",
+ "$id": "9142",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.",
"type": {
- "$id": "8538",
+ "$id": "9143",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114251,13 +121263,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.thread_id"
},
{
- "$id": "8539",
+ "$id": "9144",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run that requires the tool output submission.",
"type": {
- "$id": "8540",
+ "$id": "9145",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114275,13 +121287,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.run_id"
},
{
- "$id": "8541",
+ "$id": "9146",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2103"
+ "$ref": "2123"
},
"isApiVersion": false,
"optional": false,
@@ -114292,12 +121304,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.contentType"
},
{
- "$id": "8542",
+ "$id": "9147",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5879"
+ "$ref": "6307"
},
"isApiVersion": false,
"contentTypes": [
@@ -114317,7 +121329,7 @@
200
],
"bodyType": {
- "$ref": "5729"
+ "$ref": "6157"
},
"headers": [],
"isErrorResponse": false,
@@ -114340,12 +121352,12 @@
},
"parameters": [
{
- "$id": "8543",
+ "$id": "9148",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "1378"
+ "$ref": "1402"
},
"location": "Header",
"isApiVersion": false,
@@ -114357,12 +121369,12 @@
"decorators": []
},
{
- "$id": "8544",
+ "$id": "9149",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2105"
+ "$ref": "2125"
},
"location": "Header",
"isApiVersion": false,
@@ -114374,13 +121386,13 @@
"decorators": []
},
{
- "$id": "8545",
+ "$id": "9150",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.",
"type": {
- "$id": "8546",
+ "$id": "9151",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114396,13 +121408,13 @@
"decorators": []
},
{
- "$id": "8547",
+ "$id": "9152",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run that requires the tool output submission.",
"type": {
- "$id": "8548",
+ "$id": "9153",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114418,12 +121430,12 @@
"decorators": []
},
{
- "$id": "8549",
+ "$id": "9154",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5879"
+ "$ref": "6307"
},
"location": "Body",
"isApiVersion": false,
@@ -114435,13 +121447,13 @@
"decorators": []
},
{
- "$id": "8550",
+ "$id": "9155",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2103"
+ "$ref": "2123"
},
"location": "Header",
"isApiVersion": false,
@@ -114455,7 +121467,7 @@
],
"response": {
"type": {
- "$ref": "5729"
+ "$ref": "6157"
}
},
"isOverride": false,
@@ -114464,26 +121476,26 @@
"crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun"
},
{
- "$id": "8551",
+ "$id": "9156",
"kind": "paging",
"name": "listRunSteps",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of run steps belonging to a run.",
"operation": {
- "$id": "8552",
+ "$id": "9157",
"name": "listRunSteps",
"resourceName": "Runs",
"summary": "Returns a list of run steps belonging to a run.",
"accessibility": "public",
"parameters": [
{
- "$id": "8553",
+ "$id": "9158",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2107"
+ "$ref": "2127"
},
"isApiVersion": false,
"optional": false,
@@ -114494,12 +121506,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.accept"
},
{
- "$id": "8554",
+ "$id": "9159",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2109"
+ "$ref": "2129"
},
"isApiVersion": false,
"optional": false,
@@ -114510,13 +121522,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.openAIBeta"
},
{
- "$id": "8555",
+ "$id": "9160",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread the run and run steps belong to.",
"type": {
- "$id": "8556",
+ "$id": "9161",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114534,13 +121546,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.thread_id"
},
{
- "$id": "8557",
+ "$id": "9162",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run the run steps belong to.",
"type": {
- "$id": "8558",
+ "$id": "9163",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114558,13 +121570,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.run_id"
},
{
- "$id": "8559",
+ "$id": "9164",
"kind": "query",
"name": "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": "8560",
+ "$id": "9165",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -114579,13 +121591,13 @@
"readOnly": false
},
{
- "$id": "8561",
+ "$id": "9166",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -114596,13 +121608,13 @@
"readOnly": false
},
{
- "$id": "8562",
+ "$id": "9167",
"kind": "query",
"name": "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": "8563",
+ "$id": "9168",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114617,13 +121629,13 @@
"readOnly": false
},
{
- "$id": "8564",
+ "$id": "9169",
"kind": "query",
"name": "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": "8565",
+ "$id": "9170",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114638,13 +121650,13 @@
"readOnly": false
},
{
- "$id": "8566",
+ "$id": "9171",
"kind": "query",
"name": "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": "8453"
+ "$ref": "9058"
},
"isApiVersion": false,
"explode": false,
@@ -114662,7 +121674,7 @@
200
],
"bodyType": {
- "$ref": "5890"
+ "$ref": "6318"
},
"headers": [],
"isErrorResponse": false,
@@ -114682,12 +121694,12 @@
},
"parameters": [
{
- "$id": "8567",
+ "$id": "9172",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2111"
+ "$ref": "2131"
},
"location": "Header",
"isApiVersion": false,
@@ -114699,12 +121711,12 @@
"decorators": []
},
{
- "$id": "8568",
+ "$id": "9173",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2113"
+ "$ref": "2133"
},
"location": "Header",
"isApiVersion": false,
@@ -114716,13 +121728,13 @@
"decorators": []
},
{
- "$id": "8569",
+ "$id": "9174",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread the run and run steps belong to.",
"type": {
- "$id": "8570",
+ "$id": "9175",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114738,13 +121750,13 @@
"decorators": []
},
{
- "$id": "8571",
+ "$id": "9176",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run the run steps belong to.",
"type": {
- "$id": "8572",
+ "$id": "9177",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114760,13 +121772,13 @@
"decorators": []
},
{
- "$id": "8573",
+ "$id": "9178",
"kind": "method",
"name": "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": "8574",
+ "$id": "9179",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -114782,13 +121794,13 @@
"decorators": []
},
{
- "$id": "8575",
+ "$id": "9180",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -114800,13 +121812,13 @@
"decorators": []
},
{
- "$id": "8576",
+ "$id": "9181",
"kind": "method",
"name": "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": "8577",
+ "$id": "9182",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114822,13 +121834,13 @@
"decorators": []
},
{
- "$id": "8578",
+ "$id": "9183",
"kind": "method",
"name": "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": "8579",
+ "$id": "9184",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114844,13 +121856,13 @@
"decorators": []
},
{
- "$id": "8580",
+ "$id": "9185",
"kind": "method",
"name": "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": "8453"
+ "$ref": "9058"
},
"location": "Query",
"isApiVersion": false,
@@ -114864,7 +121876,7 @@
],
"response": {
"type": {
- "$ref": "5893"
+ "$ref": "6321"
},
"resultSegments": [
"data"
@@ -114880,7 +121892,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "8562"
+ "$ref": "9167"
},
"responseSegments": [
"last_id"
@@ -114890,26 +121902,26 @@
}
},
{
- "$id": "8581",
+ "$id": "9186",
"kind": "basic",
"name": "getRunStep",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a run step.",
"operation": {
- "$id": "8582",
+ "$id": "9187",
"name": "getRunStep",
"resourceName": "Runs",
"summary": "Retrieves a run step.",
"accessibility": "public",
"parameters": [
{
- "$id": "8583",
+ "$id": "9188",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2115"
+ "$ref": "2135"
},
"isApiVersion": false,
"optional": false,
@@ -114920,12 +121932,12 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.accept"
},
{
- "$id": "8584",
+ "$id": "9189",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2117"
+ "$ref": "2137"
},
"isApiVersion": false,
"optional": false,
@@ -114936,13 +121948,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.openAIBeta"
},
{
- "$id": "8585",
+ "$id": "9190",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which the run and run step belongs.",
"type": {
- "$id": "8586",
+ "$id": "9191",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114960,13 +121972,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.thread_id"
},
{
- "$id": "8587",
+ "$id": "9192",
"kind": "path",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to which the run step belongs.",
"type": {
- "$id": "8588",
+ "$id": "9193",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -114984,13 +121996,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.run_id"
},
{
- "$id": "8589",
+ "$id": "9194",
"kind": "path",
"name": "step_id",
"serializedName": "step_id",
"doc": "The ID of the run step to retrieve.",
"type": {
- "$id": "8590",
+ "$id": "9195",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115008,13 +122020,13 @@
"crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.step_id"
},
{
- "$id": "8591",
+ "$id": "9196",
"kind": "query",
"name": "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": "8453"
+ "$ref": "9058"
},
"isApiVersion": false,
"explode": false,
@@ -115032,7 +122044,7 @@
200
],
"bodyType": {
- "$ref": "5894"
+ "$ref": "6322"
},
"headers": [],
"isErrorResponse": false,
@@ -115052,12 +122064,12 @@
},
"parameters": [
{
- "$id": "8592",
+ "$id": "9197",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2119"
+ "$ref": "2139"
},
"location": "Header",
"isApiVersion": false,
@@ -115069,12 +122081,12 @@
"decorators": []
},
{
- "$id": "8593",
+ "$id": "9198",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2121"
+ "$ref": "2141"
},
"location": "Header",
"isApiVersion": false,
@@ -115086,13 +122098,13 @@
"decorators": []
},
{
- "$id": "8594",
+ "$id": "9199",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to which the run and run step belongs.",
"type": {
- "$id": "8595",
+ "$id": "9200",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115108,13 +122120,13 @@
"decorators": []
},
{
- "$id": "8596",
+ "$id": "9201",
"kind": "method",
"name": "run_id",
"serializedName": "run_id",
"doc": "The ID of the run to which the run step belongs.",
"type": {
- "$id": "8597",
+ "$id": "9202",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115130,13 +122142,13 @@
"decorators": []
},
{
- "$id": "8598",
+ "$id": "9203",
"kind": "method",
"name": "step_id",
"serializedName": "step_id",
"doc": "The ID of the run step to retrieve.",
"type": {
- "$id": "8599",
+ "$id": "9204",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115152,13 +122164,13 @@
"decorators": []
},
{
- "$id": "8600",
+ "$id": "9205",
"kind": "method",
"name": "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": "8453"
+ "$ref": "9058"
},
"location": "Query",
"isApiVersion": false,
@@ -115172,7 +122184,7 @@
],
"response": {
"type": {
- "$ref": "5894"
+ "$ref": "6322"
}
},
"isOverride": false,
@@ -115183,13 +122195,13 @@
],
"parameters": [
{
- "$id": "8601",
+ "$id": "9206",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8602",
+ "$id": "9207",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -115200,7 +122212,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8603",
+ "$id": "9208",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -115213,40 +122225,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Runs",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8604",
+ "$id": "9209",
"kind": "client",
"name": "Threads",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8605",
+ "$id": "9210",
"kind": "basic",
"name": "createThread",
"accessibility": "public",
"apiVersions": [],
"summary": "Create a thread.",
"operation": {
- "$id": "8606",
+ "$id": "9211",
"name": "createThread",
"resourceName": "Threads",
"summary": "Create a thread.",
"accessibility": "public",
"parameters": [
{
- "$id": "8607",
+ "$id": "9212",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2123"
+ "$ref": "2143"
},
"isApiVersion": false,
"optional": false,
@@ -115257,12 +122270,12 @@
"crossLanguageDefinitionId": "OpenAI.Threads.createThread.accept"
},
{
- "$id": "8608",
+ "$id": "9213",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2125"
+ "$ref": "2145"
},
"isApiVersion": false,
"optional": false,
@@ -115273,13 +122286,13 @@
"crossLanguageDefinitionId": "OpenAI.Threads.createThread.openAIBeta"
},
{
- "$id": "8609",
+ "$id": "9214",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2127"
+ "$ref": "2147"
},
"isApiVersion": false,
"optional": false,
@@ -115290,12 +122303,12 @@
"crossLanguageDefinitionId": "OpenAI.Threads.createThread.contentType"
},
{
- "$id": "8610",
+ "$id": "9215",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5667"
+ "$ref": "6095"
},
"isApiVersion": false,
"contentTypes": [
@@ -115315,7 +122328,7 @@
200
],
"bodyType": {
- "$ref": "6020"
+ "$ref": "6471"
},
"headers": [],
"isErrorResponse": false,
@@ -115338,12 +122351,12 @@
},
"parameters": [
{
- "$id": "8611",
+ "$id": "9216",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2129"
+ "$ref": "2149"
},
"location": "Header",
"isApiVersion": false,
@@ -115355,12 +122368,12 @@
"decorators": []
},
{
- "$id": "8612",
+ "$id": "9217",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2131"
+ "$ref": "2151"
},
"location": "Header",
"isApiVersion": false,
@@ -115372,12 +122385,12 @@
"decorators": []
},
{
- "$id": "8613",
+ "$id": "9218",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "5667"
+ "$ref": "6095"
},
"location": "Body",
"isApiVersion": false,
@@ -115389,13 +122402,13 @@
"decorators": []
},
{
- "$id": "8614",
+ "$id": "9219",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2127"
+ "$ref": "2147"
},
"location": "Header",
"isApiVersion": false,
@@ -115409,7 +122422,7 @@
],
"response": {
"type": {
- "$ref": "6020"
+ "$ref": "6471"
}
},
"isOverride": false,
@@ -115418,26 +122431,26 @@
"crossLanguageDefinitionId": "OpenAI.Threads.createThread"
},
{
- "$id": "8615",
+ "$id": "9220",
"kind": "basic",
"name": "getThread",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a thread.",
"operation": {
- "$id": "8616",
+ "$id": "9221",
"name": "getThread",
"resourceName": "Threads",
"summary": "Retrieves a thread.",
"accessibility": "public",
"parameters": [
{
- "$id": "8617",
+ "$id": "9222",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2133"
+ "$ref": "2153"
},
"isApiVersion": false,
"optional": false,
@@ -115448,12 +122461,12 @@
"crossLanguageDefinitionId": "OpenAI.Threads.getThread.accept"
},
{
- "$id": "8618",
+ "$id": "9223",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2135"
+ "$ref": "2155"
},
"isApiVersion": false,
"optional": false,
@@ -115464,13 +122477,13 @@
"crossLanguageDefinitionId": "OpenAI.Threads.getThread.openAIBeta"
},
{
- "$id": "8619",
+ "$id": "9224",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to retrieve.",
"type": {
- "$id": "8620",
+ "$id": "9225",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115494,7 +122507,7 @@
200
],
"bodyType": {
- "$ref": "6020"
+ "$ref": "6471"
},
"headers": [],
"isErrorResponse": false,
@@ -115514,12 +122527,12 @@
},
"parameters": [
{
- "$id": "8621",
+ "$id": "9226",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2137"
+ "$ref": "2157"
},
"location": "Header",
"isApiVersion": false,
@@ -115531,12 +122544,12 @@
"decorators": []
},
{
- "$id": "8622",
+ "$id": "9227",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2139"
+ "$ref": "2159"
},
"location": "Header",
"isApiVersion": false,
@@ -115548,13 +122561,13 @@
"decorators": []
},
{
- "$id": "8623",
+ "$id": "9228",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to retrieve.",
"type": {
- "$id": "8624",
+ "$id": "9229",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115572,7 +122585,7 @@
],
"response": {
"type": {
- "$ref": "6020"
+ "$ref": "6471"
}
},
"isOverride": false,
@@ -115581,26 +122594,26 @@
"crossLanguageDefinitionId": "OpenAI.Threads.getThread"
},
{
- "$id": "8625",
+ "$id": "9230",
"kind": "basic",
"name": "modifyThread",
"accessibility": "public",
"apiVersions": [],
"summary": "Modifies a thread.",
"operation": {
- "$id": "8626",
+ "$id": "9231",
"name": "modifyThread",
"resourceName": "Threads",
"summary": "Modifies a thread.",
"accessibility": "public",
"parameters": [
{
- "$id": "8627",
+ "$id": "9232",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2141"
+ "$ref": "2161"
},
"isApiVersion": false,
"optional": false,
@@ -115611,12 +122624,12 @@
"crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.accept"
},
{
- "$id": "8628",
+ "$id": "9233",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2143"
+ "$ref": "2163"
},
"isApiVersion": false,
"optional": false,
@@ -115627,13 +122640,13 @@
"crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.openAIBeta"
},
{
- "$id": "8629",
+ "$id": "9234",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to modify. Only the `metadata` can be modified.",
"type": {
- "$id": "8630",
+ "$id": "9235",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115651,13 +122664,13 @@
"crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.thread_id"
},
{
- "$id": "8631",
+ "$id": "9236",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2145"
+ "$ref": "2165"
},
"isApiVersion": false,
"optional": false,
@@ -115668,12 +122681,12 @@
"crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.contentType"
},
{
- "$id": "8632",
+ "$id": "9237",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6037"
+ "$ref": "6488"
},
"isApiVersion": false,
"contentTypes": [
@@ -115693,7 +122706,7 @@
200
],
"bodyType": {
- "$ref": "6020"
+ "$ref": "6471"
},
"headers": [],
"isErrorResponse": false,
@@ -115716,12 +122729,12 @@
},
"parameters": [
{
- "$id": "8633",
+ "$id": "9238",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2147"
+ "$ref": "2167"
},
"location": "Header",
"isApiVersion": false,
@@ -115733,12 +122746,12 @@
"decorators": []
},
{
- "$id": "8634",
+ "$id": "9239",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2149"
+ "$ref": "2169"
},
"location": "Header",
"isApiVersion": false,
@@ -115750,13 +122763,13 @@
"decorators": []
},
{
- "$id": "8635",
+ "$id": "9240",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to modify. Only the `metadata` can be modified.",
"type": {
- "$id": "8636",
+ "$id": "9241",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115772,12 +122785,12 @@
"decorators": []
},
{
- "$id": "8637",
+ "$id": "9242",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6037"
+ "$ref": "6488"
},
"location": "Body",
"isApiVersion": false,
@@ -115789,13 +122802,13 @@
"decorators": []
},
{
- "$id": "8638",
+ "$id": "9243",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2145"
+ "$ref": "2165"
},
"location": "Header",
"isApiVersion": false,
@@ -115809,7 +122822,7 @@
],
"response": {
"type": {
- "$ref": "6020"
+ "$ref": "6471"
}
},
"isOverride": false,
@@ -115818,26 +122831,26 @@
"crossLanguageDefinitionId": "OpenAI.Threads.modifyThread"
},
{
- "$id": "8639",
+ "$id": "9244",
"kind": "basic",
"name": "deleteThread",
"accessibility": "public",
"apiVersions": [],
"summary": "Delete a thread.",
"operation": {
- "$id": "8640",
+ "$id": "9245",
"name": "deleteThread",
"resourceName": "Threads",
"summary": "Delete a thread.",
"accessibility": "public",
"parameters": [
{
- "$id": "8641",
+ "$id": "9246",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2151"
+ "$ref": "2171"
},
"isApiVersion": false,
"optional": false,
@@ -115848,12 +122861,12 @@
"crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.accept"
},
{
- "$id": "8642",
+ "$id": "9247",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2153"
+ "$ref": "2173"
},
"isApiVersion": false,
"optional": false,
@@ -115864,13 +122877,13 @@
"crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.openAIBeta"
},
{
- "$id": "8643",
+ "$id": "9248",
"kind": "path",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to delete.",
"type": {
- "$id": "8644",
+ "$id": "9249",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115894,7 +122907,7 @@
200
],
"bodyType": {
- "$ref": "6046"
+ "$ref": "6497"
},
"headers": [],
"isErrorResponse": false,
@@ -115914,12 +122927,12 @@
},
"parameters": [
{
- "$id": "8645",
+ "$id": "9250",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2155"
+ "$ref": "2175"
},
"location": "Header",
"isApiVersion": false,
@@ -115931,12 +122944,12 @@
"decorators": []
},
{
- "$id": "8646",
+ "$id": "9251",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2157"
+ "$ref": "2177"
},
"location": "Header",
"isApiVersion": false,
@@ -115948,13 +122961,13 @@
"decorators": []
},
{
- "$id": "8647",
+ "$id": "9252",
"kind": "method",
"name": "thread_id",
"serializedName": "thread_id",
"doc": "The ID of the thread to delete.",
"type": {
- "$id": "8648",
+ "$id": "9253",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -115972,7 +122985,7 @@
],
"response": {
"type": {
- "$ref": "6046"
+ "$ref": "6497"
}
},
"isOverride": false,
@@ -115983,13 +122996,13 @@
],
"parameters": [
{
- "$id": "8649",
+ "$id": "9254",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8650",
+ "$id": "9255",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -116000,7 +123013,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8651",
+ "$id": "9256",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -116013,40 +123026,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Threads",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8652",
+ "$id": "9257",
"kind": "client",
"name": "VectorStores",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8653",
+ "$id": "9258",
"kind": "paging",
"name": "GetVectorStores",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of vector stores.",
"operation": {
- "$id": "8654",
+ "$id": "9259",
"name": "GetVectorStores",
"resourceName": "VectorStores",
"summary": "Returns a list of vector stores.",
"accessibility": "public",
"parameters": [
{
- "$id": "8655",
+ "$id": "9260",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2159"
+ "$ref": "2179"
},
"isApiVersion": false,
"optional": false,
@@ -116057,13 +123071,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.accept"
},
{
- "$id": "8656",
+ "$id": "9261",
"kind": "query",
"name": "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": "8657",
+ "$id": "9262",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -116078,13 +123092,13 @@
"readOnly": false
},
{
- "$id": "8658",
+ "$id": "9263",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -116095,13 +123109,13 @@
"readOnly": false
},
{
- "$id": "8659",
+ "$id": "9264",
"kind": "query",
"name": "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": "8660",
+ "$id": "9265",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116116,13 +123130,13 @@
"readOnly": false
},
{
- "$id": "8661",
+ "$id": "9266",
"kind": "query",
"name": "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": "8662",
+ "$id": "9267",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116143,7 +123157,7 @@
200
],
"bodyType": {
- "$ref": "6052"
+ "$ref": "6503"
},
"headers": [],
"isErrorResponse": false,
@@ -116163,12 +123177,12 @@
},
"parameters": [
{
- "$id": "8663",
+ "$id": "9268",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2161"
+ "$ref": "2181"
},
"location": "Header",
"isApiVersion": false,
@@ -116180,13 +123194,13 @@
"decorators": []
},
{
- "$id": "8664",
+ "$id": "9269",
"kind": "method",
"name": "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": "8665",
+ "$id": "9270",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -116202,13 +123216,13 @@
"decorators": []
},
{
- "$id": "8666",
+ "$id": "9271",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -116220,13 +123234,13 @@
"decorators": []
},
{
- "$id": "8667",
+ "$id": "9272",
"kind": "method",
"name": "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": "8668",
+ "$id": "9273",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116242,13 +123256,13 @@
"decorators": []
},
{
- "$id": "8669",
+ "$id": "9274",
"kind": "method",
"name": "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": "8670",
+ "$id": "9275",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116266,7 +123280,7 @@
],
"response": {
"type": {
- "$ref": "6055"
+ "$ref": "6506"
},
"resultSegments": [
"data"
@@ -116282,7 +123296,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "8659"
+ "$ref": "9264"
},
"responseSegments": [
"last_id"
@@ -116292,26 +123306,26 @@
}
},
{
- "$id": "8671",
+ "$id": "9276",
"kind": "basic",
"name": "createVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates a vector store.",
"operation": {
- "$id": "8672",
+ "$id": "9277",
"name": "createVectorStore",
"resourceName": "VectorStores",
"summary": "Creates a vector store.",
"accessibility": "public",
"parameters": [
{
- "$id": "8673",
+ "$id": "9278",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2163"
+ "$ref": "2183"
},
"isApiVersion": false,
"optional": false,
@@ -116322,13 +123336,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.accept"
},
{
- "$id": "8674",
+ "$id": "9279",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2165"
+ "$ref": "2185"
},
"isApiVersion": false,
"optional": false,
@@ -116339,12 +123353,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.contentType"
},
{
- "$id": "8675",
+ "$id": "9280",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6101"
+ "$ref": "6555"
},
"isApiVersion": false,
"contentTypes": [
@@ -116364,7 +123378,7 @@
200
],
"bodyType": {
- "$ref": "6056"
+ "$ref": "6507"
},
"headers": [],
"isErrorResponse": false,
@@ -116387,12 +123401,12 @@
},
"parameters": [
{
- "$id": "8676",
+ "$id": "9281",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2167"
+ "$ref": "2187"
},
"location": "Header",
"isApiVersion": false,
@@ -116404,12 +123418,12 @@
"decorators": []
},
{
- "$id": "8677",
+ "$id": "9282",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6101"
+ "$ref": "6555"
},
"location": "Body",
"isApiVersion": false,
@@ -116421,13 +123435,13 @@
"decorators": []
},
{
- "$id": "8678",
+ "$id": "9283",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2165"
+ "$ref": "2185"
},
"location": "Header",
"isApiVersion": false,
@@ -116441,7 +123455,7 @@
],
"response": {
"type": {
- "$ref": "6056"
+ "$ref": "6507"
}
},
"isOverride": false,
@@ -116450,26 +123464,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore"
},
{
- "$id": "8679",
+ "$id": "9284",
"kind": "basic",
"name": "getVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a vector store.",
"operation": {
- "$id": "8680",
+ "$id": "9285",
"name": "getVectorStore",
"resourceName": "VectorStores",
"summary": "Retrieves a vector store.",
"accessibility": "public",
"parameters": [
{
- "$id": "8681",
+ "$id": "9286",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2169"
+ "$ref": "2189"
},
"isApiVersion": false,
"optional": false,
@@ -116480,13 +123494,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept"
},
{
- "$id": "8682",
+ "$id": "9287",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to retrieve.",
"type": {
- "$id": "8683",
+ "$id": "9288",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116510,7 +123524,7 @@
200
],
"bodyType": {
- "$ref": "6056"
+ "$ref": "6507"
},
"headers": [],
"isErrorResponse": false,
@@ -116530,12 +123544,12 @@
},
"parameters": [
{
- "$id": "8684",
+ "$id": "9289",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2171"
+ "$ref": "2191"
},
"location": "Header",
"isApiVersion": false,
@@ -116547,13 +123561,13 @@
"decorators": []
},
{
- "$id": "8685",
+ "$id": "9290",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to retrieve.",
"type": {
- "$id": "8686",
+ "$id": "9291",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116571,7 +123585,7 @@
],
"response": {
"type": {
- "$ref": "6056"
+ "$ref": "6507"
}
},
"isOverride": false,
@@ -116580,26 +123594,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore"
},
{
- "$id": "8687",
+ "$id": "9292",
"kind": "basic",
"name": "modifyVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Modifies a vector store.",
"operation": {
- "$id": "8688",
+ "$id": "9293",
"name": "modifyVectorStore",
"resourceName": "VectorStores",
"summary": "Modifies a vector store.",
"accessibility": "public",
"parameters": [
{
- "$id": "8689",
+ "$id": "9294",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2173"
+ "$ref": "2193"
},
"isApiVersion": false,
"optional": false,
@@ -116610,13 +123624,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept"
},
{
- "$id": "8690",
+ "$id": "9295",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to modify.",
"type": {
- "$id": "8691",
+ "$id": "9296",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116634,13 +123648,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id"
},
{
- "$id": "8692",
+ "$id": "9297",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2175"
+ "$ref": "2195"
},
"isApiVersion": false,
"optional": false,
@@ -116651,12 +123665,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType"
},
{
- "$id": "8693",
+ "$id": "9298",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6109"
+ "$ref": "6563"
},
"isApiVersion": false,
"contentTypes": [
@@ -116676,7 +123690,7 @@
200
],
"bodyType": {
- "$ref": "6056"
+ "$ref": "6507"
},
"headers": [],
"isErrorResponse": false,
@@ -116699,12 +123713,12 @@
},
"parameters": [
{
- "$id": "8694",
+ "$id": "9299",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2177"
+ "$ref": "2197"
},
"location": "Header",
"isApiVersion": false,
@@ -116716,13 +123730,13 @@
"decorators": []
},
{
- "$id": "8695",
+ "$id": "9300",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to modify.",
"type": {
- "$id": "8696",
+ "$id": "9301",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116738,12 +123752,12 @@
"decorators": []
},
{
- "$id": "8697",
+ "$id": "9302",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6109"
+ "$ref": "6563"
},
"location": "Body",
"isApiVersion": false,
@@ -116755,13 +123769,13 @@
"decorators": []
},
{
- "$id": "8698",
+ "$id": "9303",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2175"
+ "$ref": "2195"
},
"location": "Header",
"isApiVersion": false,
@@ -116775,7 +123789,7 @@
],
"response": {
"type": {
- "$ref": "6056"
+ "$ref": "6507"
}
},
"isOverride": false,
@@ -116784,26 +123798,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore"
},
{
- "$id": "8699",
+ "$id": "9304",
"kind": "basic",
"name": "deleteVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Delete a vector store.",
"operation": {
- "$id": "8700",
+ "$id": "9305",
"name": "deleteVectorStore",
"resourceName": "VectorStores",
"summary": "Delete a vector store.",
"accessibility": "public",
"parameters": [
{
- "$id": "8701",
+ "$id": "9306",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2179"
+ "$ref": "2199"
},
"isApiVersion": false,
"optional": false,
@@ -116814,13 +123828,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept"
},
{
- "$id": "8702",
+ "$id": "9307",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to delete.",
"type": {
- "$id": "8703",
+ "$id": "9308",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116844,7 +123858,7 @@
200
],
"bodyType": {
- "$ref": "6116"
+ "$ref": "6570"
},
"headers": [],
"isErrorResponse": false,
@@ -116864,12 +123878,12 @@
},
"parameters": [
{
- "$id": "8704",
+ "$id": "9309",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2181"
+ "$ref": "2201"
},
"location": "Header",
"isApiVersion": false,
@@ -116881,13 +123895,13 @@
"decorators": []
},
{
- "$id": "8705",
+ "$id": "9310",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to delete.",
"type": {
- "$id": "8706",
+ "$id": "9311",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116905,7 +123919,7 @@
],
"response": {
"type": {
- "$ref": "6116"
+ "$ref": "6570"
}
},
"isOverride": false,
@@ -116914,26 +123928,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore"
},
{
- "$id": "8707",
+ "$id": "9312",
"kind": "basic",
"name": "AddFileBatchToVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Create a vector store file batch.",
"operation": {
- "$id": "8708",
+ "$id": "9313",
"name": "AddFileBatchToVectorStore",
"resourceName": "VectorStores",
"summary": "Create a vector store file batch.",
"accessibility": "public",
"parameters": [
{
- "$id": "8709",
+ "$id": "9314",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2183"
+ "$ref": "2203"
},
"isApiVersion": false,
"optional": false,
@@ -116944,13 +123958,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept"
},
{
- "$id": "8710",
+ "$id": "9315",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store for which to create a file batch.",
"type": {
- "$id": "8711",
+ "$id": "9316",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116968,13 +123982,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id"
},
{
- "$id": "8712",
+ "$id": "9317",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2185"
+ "$ref": "2205"
},
"isApiVersion": false,
"optional": false,
@@ -116985,12 +123999,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType"
},
{
- "$id": "8713",
+ "$id": "9318",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6122"
+ "$ref": "6576"
},
"isApiVersion": false,
"contentTypes": [
@@ -117010,7 +124024,7 @@
200
],
"bodyType": {
- "$ref": "6127"
+ "$ref": "6581"
},
"headers": [],
"isErrorResponse": false,
@@ -117033,12 +124047,12 @@
},
"parameters": [
{
- "$id": "8714",
+ "$id": "9319",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2187"
+ "$ref": "2207"
},
"location": "Header",
"isApiVersion": false,
@@ -117050,13 +124064,13 @@
"decorators": []
},
{
- "$id": "8715",
+ "$id": "9320",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store for which to create a file batch.",
"type": {
- "$id": "8716",
+ "$id": "9321",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117072,12 +124086,12 @@
"decorators": []
},
{
- "$id": "8717",
+ "$id": "9322",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6122"
+ "$ref": "6576"
},
"location": "Body",
"isApiVersion": false,
@@ -117089,13 +124103,13 @@
"decorators": []
},
{
- "$id": "8718",
+ "$id": "9323",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2185"
+ "$ref": "2205"
},
"location": "Header",
"isApiVersion": false,
@@ -117109,7 +124123,7 @@
],
"response": {
"type": {
- "$ref": "6127"
+ "$ref": "6581"
}
},
"isOverride": false,
@@ -117118,26 +124132,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch"
},
{
- "$id": "8719",
+ "$id": "9324",
"kind": "basic",
"name": "getVectorStoreFileBatch",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a vector store file batch.",
"operation": {
- "$id": "8720",
+ "$id": "9325",
"name": "getVectorStoreFileBatch",
"resourceName": "VectorStores",
"summary": "Retrieves a vector store file batch.",
"accessibility": "public",
"parameters": [
{
- "$id": "8721",
+ "$id": "9326",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2189"
+ "$ref": "2209"
},
"isApiVersion": false,
"optional": false,
@@ -117148,13 +124162,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept"
},
{
- "$id": "8722",
+ "$id": "9327",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file batch belongs to.",
"type": {
- "$id": "8723",
+ "$id": "9328",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117172,13 +124186,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id"
},
{
- "$id": "8724",
+ "$id": "9329",
"kind": "path",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the file batch being retrieved.",
"type": {
- "$id": "8725",
+ "$id": "9330",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117202,7 +124216,7 @@
200
],
"bodyType": {
- "$ref": "6127"
+ "$ref": "6581"
},
"headers": [],
"isErrorResponse": false,
@@ -117222,12 +124236,12 @@
},
"parameters": [
{
- "$id": "8726",
+ "$id": "9331",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2191"
+ "$ref": "2211"
},
"location": "Header",
"isApiVersion": false,
@@ -117239,13 +124253,13 @@
"decorators": []
},
{
- "$id": "8727",
+ "$id": "9332",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file batch belongs to.",
"type": {
- "$id": "8728",
+ "$id": "9333",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117261,13 +124275,13 @@
"decorators": []
},
{
- "$id": "8729",
+ "$id": "9334",
"kind": "method",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the file batch being retrieved.",
"type": {
- "$id": "8730",
+ "$id": "9335",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117285,7 +124299,7 @@
],
"response": {
"type": {
- "$ref": "6127"
+ "$ref": "6581"
}
},
"isOverride": false,
@@ -117294,26 +124308,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch"
},
{
- "$id": "8731",
+ "$id": "9336",
"kind": "basic",
"name": "cancelVectorStoreFileBatch",
"accessibility": "public",
"apiVersions": [],
"summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.",
"operation": {
- "$id": "8732",
+ "$id": "9337",
"name": "cancelVectorStoreFileBatch",
"resourceName": "VectorStores",
"summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.",
"accessibility": "public",
"parameters": [
{
- "$id": "8733",
+ "$id": "9338",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2193"
+ "$ref": "2213"
},
"isApiVersion": false,
"optional": false,
@@ -117324,13 +124338,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept"
},
{
- "$id": "8734",
+ "$id": "9339",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file batch belongs to.",
"type": {
- "$id": "8735",
+ "$id": "9340",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117348,13 +124362,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id"
},
{
- "$id": "8736",
+ "$id": "9341",
"kind": "path",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the file batch to cancel.",
"type": {
- "$id": "8737",
+ "$id": "9342",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117378,7 +124392,7 @@
200
],
"bodyType": {
- "$ref": "6127"
+ "$ref": "6581"
},
"headers": [],
"isErrorResponse": false,
@@ -117398,12 +124412,12 @@
},
"parameters": [
{
- "$id": "8738",
+ "$id": "9343",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2195"
+ "$ref": "2215"
},
"location": "Header",
"isApiVersion": false,
@@ -117415,13 +124429,13 @@
"decorators": []
},
{
- "$id": "8739",
+ "$id": "9344",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file batch belongs to.",
"type": {
- "$id": "8740",
+ "$id": "9345",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117437,13 +124451,13 @@
"decorators": []
},
{
- "$id": "8741",
+ "$id": "9346",
"kind": "method",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the file batch to cancel.",
"type": {
- "$id": "8742",
+ "$id": "9347",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117461,7 +124475,7 @@
],
"response": {
"type": {
- "$ref": "6127"
+ "$ref": "6581"
}
},
"isOverride": false,
@@ -117470,26 +124484,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch"
},
{
- "$id": "8743",
+ "$id": "9348",
"kind": "paging",
"name": "GetVectorStoreFilesInBatch",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of vector store files in a batch.",
"operation": {
- "$id": "8744",
+ "$id": "9349",
"name": "GetVectorStoreFilesInBatch",
"resourceName": "VectorStores",
"summary": "Returns a list of vector store files in a batch.",
"accessibility": "public",
"parameters": [
{
- "$id": "8745",
+ "$id": "9350",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2197"
+ "$ref": "2217"
},
"isApiVersion": false,
"optional": false,
@@ -117500,13 +124514,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept"
},
{
- "$id": "8746",
+ "$id": "9351",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file batch belongs to.",
"type": {
- "$id": "8747",
+ "$id": "9352",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117524,13 +124538,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id"
},
{
- "$id": "8748",
+ "$id": "9353",
"kind": "path",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the file batch that the files belong to.",
"type": {
- "$id": "8749",
+ "$id": "9354",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117548,13 +124562,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id"
},
{
- "$id": "8750",
+ "$id": "9355",
"kind": "query",
"name": "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": "8751",
+ "$id": "9356",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -117569,13 +124583,13 @@
"readOnly": false
},
{
- "$id": "8752",
+ "$id": "9357",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -117586,13 +124600,13 @@
"readOnly": false
},
{
- "$id": "8753",
+ "$id": "9358",
"kind": "query",
"name": "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": "8754",
+ "$id": "9359",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117607,13 +124621,13 @@
"readOnly": false
},
{
- "$id": "8755",
+ "$id": "9360",
"kind": "query",
"name": "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": "8756",
+ "$id": "9361",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117628,13 +124642,13 @@
"readOnly": false
},
{
- "$id": "8757",
+ "$id": "9362",
"kind": "query",
"name": "filter",
"serializedName": "filter",
"doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.",
"type": {
- "$ref": "1372"
+ "$ref": "1396"
},
"isApiVersion": false,
"explode": false,
@@ -117651,7 +124665,7 @@
200
],
"bodyType": {
- "$ref": "6149"
+ "$ref": "6603"
},
"headers": [],
"isErrorResponse": false,
@@ -117671,12 +124685,12 @@
},
"parameters": [
{
- "$id": "8758",
+ "$id": "9363",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2199"
+ "$ref": "2219"
},
"location": "Header",
"isApiVersion": false,
@@ -117688,13 +124702,13 @@
"decorators": []
},
{
- "$id": "8759",
+ "$id": "9364",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file batch belongs to.",
"type": {
- "$id": "8760",
+ "$id": "9365",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117710,13 +124724,13 @@
"decorators": []
},
{
- "$id": "8761",
+ "$id": "9366",
"kind": "method",
"name": "batch_id",
"serializedName": "batch_id",
"doc": "The ID of the file batch that the files belong to.",
"type": {
- "$id": "8762",
+ "$id": "9367",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117732,13 +124746,13 @@
"decorators": []
},
{
- "$id": "8763",
+ "$id": "9368",
"kind": "method",
"name": "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": "8764",
+ "$id": "9369",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -117754,13 +124768,13 @@
"decorators": []
},
{
- "$id": "8765",
+ "$id": "9370",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -117772,13 +124786,13 @@
"decorators": []
},
{
- "$id": "8766",
+ "$id": "9371",
"kind": "method",
"name": "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": "8767",
+ "$id": "9372",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117794,13 +124808,13 @@
"decorators": []
},
{
- "$id": "8768",
+ "$id": "9373",
"kind": "method",
"name": "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": "8769",
+ "$id": "9374",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117816,13 +124830,13 @@
"decorators": []
},
{
- "$id": "8770",
+ "$id": "9375",
"kind": "method",
"name": "filter",
"serializedName": "filter",
"doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.",
"type": {
- "$ref": "1372"
+ "$ref": "1396"
},
"location": "Query",
"isApiVersion": false,
@@ -117836,7 +124850,7 @@
],
"response": {
"type": {
- "$ref": "6152"
+ "$ref": "6606"
},
"resultSegments": [
"data"
@@ -117852,7 +124866,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "8753"
+ "$ref": "9358"
},
"responseSegments": [
"last_id"
@@ -117862,26 +124876,26 @@
}
},
{
- "$id": "8771",
+ "$id": "9376",
"kind": "paging",
"name": "listVectorStoreFiles",
"accessibility": "public",
"apiVersions": [],
"summary": "Returns a list of vector store files.",
"operation": {
- "$id": "8772",
+ "$id": "9377",
"name": "listVectorStoreFiles",
"resourceName": "VectorStores",
"summary": "Returns a list of vector store files.",
"accessibility": "public",
"parameters": [
{
- "$id": "8773",
+ "$id": "9378",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2201"
+ "$ref": "2221"
},
"isApiVersion": false,
"optional": false,
@@ -117892,13 +124906,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept"
},
{
- "$id": "8774",
+ "$id": "9379",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the files belong to.",
"type": {
- "$id": "8775",
+ "$id": "9380",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117916,13 +124930,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id"
},
{
- "$id": "8776",
+ "$id": "9381",
"kind": "query",
"name": "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": "8777",
+ "$id": "9382",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -117937,13 +124951,13 @@
"readOnly": false
},
{
- "$id": "8778",
+ "$id": "9383",
"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": "1364"
+ "$ref": "1388"
},
"isApiVersion": false,
"explode": false,
@@ -117954,13 +124968,13 @@
"readOnly": false
},
{
- "$id": "8779",
+ "$id": "9384",
"kind": "query",
"name": "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": "8780",
+ "$id": "9385",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117975,13 +124989,13 @@
"readOnly": false
},
{
- "$id": "8781",
+ "$id": "9386",
"kind": "query",
"name": "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": "8782",
+ "$id": "9387",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -117996,13 +125010,13 @@
"readOnly": false
},
{
- "$id": "8783",
+ "$id": "9388",
"kind": "query",
"name": "filter",
"serializedName": "filter",
"doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.",
"type": {
- "$ref": "1372"
+ "$ref": "1396"
},
"isApiVersion": false,
"explode": false,
@@ -118019,7 +125033,7 @@
200
],
"bodyType": {
- "$ref": "6149"
+ "$ref": "6603"
},
"headers": [],
"isErrorResponse": false,
@@ -118039,12 +125053,12 @@
},
"parameters": [
{
- "$id": "8784",
+ "$id": "9389",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2203"
+ "$ref": "2223"
},
"location": "Header",
"isApiVersion": false,
@@ -118056,13 +125070,13 @@
"decorators": []
},
{
- "$id": "8785",
+ "$id": "9390",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the files belong to.",
"type": {
- "$id": "8786",
+ "$id": "9391",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118078,13 +125092,13 @@
"decorators": []
},
{
- "$id": "8787",
+ "$id": "9392",
"kind": "method",
"name": "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": "8788",
+ "$id": "9393",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -118100,13 +125114,13 @@
"decorators": []
},
{
- "$id": "8789",
+ "$id": "9394",
"kind": "method",
"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": "1364"
+ "$ref": "1388"
},
"location": "Query",
"isApiVersion": false,
@@ -118118,13 +125132,13 @@
"decorators": []
},
{
- "$id": "8790",
+ "$id": "9395",
"kind": "method",
"name": "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": "8791",
+ "$id": "9396",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118140,13 +125154,13 @@
"decorators": []
},
{
- "$id": "8792",
+ "$id": "9397",
"kind": "method",
"name": "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": "8793",
+ "$id": "9398",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118162,13 +125176,13 @@
"decorators": []
},
{
- "$id": "8794",
+ "$id": "9399",
"kind": "method",
"name": "filter",
"serializedName": "filter",
"doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.",
"type": {
- "$ref": "1372"
+ "$ref": "1396"
},
"location": "Query",
"isApiVersion": false,
@@ -118182,7 +125196,7 @@
],
"response": {
"type": {
- "$ref": "6152"
+ "$ref": "6606"
},
"resultSegments": [
"data"
@@ -118198,7 +125212,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "8779"
+ "$ref": "9384"
},
"responseSegments": [
"last_id"
@@ -118208,26 +125222,26 @@
}
},
{
- "$id": "8795",
+ "$id": "9400",
"kind": "basic",
"name": "AddFileToVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).",
"operation": {
- "$id": "8796",
+ "$id": "9401",
"name": "AddFileToVectorStore",
"resourceName": "VectorStores",
"summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).",
"accessibility": "public",
"parameters": [
{
- "$id": "8797",
+ "$id": "9402",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2205"
+ "$ref": "2225"
},
"isApiVersion": false,
"optional": false,
@@ -118238,13 +125252,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept"
},
{
- "$id": "8798",
+ "$id": "9403",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store for which to create a File.",
"type": {
- "$id": "8799",
+ "$id": "9404",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118262,13 +125276,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id"
},
{
- "$id": "8800",
+ "$id": "9405",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2207"
+ "$ref": "2227"
},
"isApiVersion": false,
"optional": false,
@@ -118279,12 +125293,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType"
},
{
- "$id": "8801",
+ "$id": "9406",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6187"
+ "$ref": "6647"
},
"isApiVersion": false,
"contentTypes": [
@@ -118304,7 +125318,7 @@
200
],
"bodyType": {
- "$ref": "6153"
+ "$ref": "6607"
},
"headers": [],
"isErrorResponse": false,
@@ -118327,12 +125341,12 @@
},
"parameters": [
{
- "$id": "8802",
+ "$id": "9407",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2209"
+ "$ref": "2229"
},
"location": "Header",
"isApiVersion": false,
@@ -118344,13 +125358,13 @@
"decorators": []
},
{
- "$id": "8803",
+ "$id": "9408",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store for which to create a File.",
"type": {
- "$id": "8804",
+ "$id": "9409",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118366,12 +125380,12 @@
"decorators": []
},
{
- "$id": "8805",
+ "$id": "9410",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6187"
+ "$ref": "6647"
},
"location": "Body",
"isApiVersion": false,
@@ -118383,13 +125397,13 @@
"decorators": []
},
{
- "$id": "8806",
+ "$id": "9411",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2207"
+ "$ref": "2227"
},
"location": "Header",
"isApiVersion": false,
@@ -118403,7 +125417,7 @@
],
"response": {
"type": {
- "$ref": "6153"
+ "$ref": "6607"
}
},
"isOverride": false,
@@ -118412,26 +125426,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile"
},
{
- "$id": "8807",
+ "$id": "9412",
"kind": "basic",
"name": "getVectorStoreFile",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a vector store file.",
"operation": {
- "$id": "8808",
+ "$id": "9413",
"name": "getVectorStoreFile",
"resourceName": "VectorStores",
"summary": "Retrieves a vector store file.",
"accessibility": "public",
"parameters": [
{
- "$id": "8809",
+ "$id": "9414",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2211"
+ "$ref": "2231"
},
"isApiVersion": false,
"optional": false,
@@ -118442,13 +125456,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept"
},
{
- "$id": "8810",
+ "$id": "9415",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file belongs to.",
"type": {
- "$id": "8811",
+ "$id": "9416",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118466,13 +125480,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id"
},
{
- "$id": "8812",
+ "$id": "9417",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file being retrieved.",
"type": {
- "$id": "8813",
+ "$id": "9418",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118496,7 +125510,7 @@
200
],
"bodyType": {
- "$ref": "6153"
+ "$ref": "6607"
},
"headers": [],
"isErrorResponse": false,
@@ -118516,12 +125530,12 @@
},
"parameters": [
{
- "$id": "8814",
+ "$id": "9419",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2213"
+ "$ref": "2233"
},
"location": "Header",
"isApiVersion": false,
@@ -118533,13 +125547,13 @@
"decorators": []
},
{
- "$id": "8815",
+ "$id": "9420",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file belongs to.",
"type": {
- "$id": "8816",
+ "$id": "9421",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118555,13 +125569,13 @@
"decorators": []
},
{
- "$id": "8817",
+ "$id": "9422",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file being retrieved.",
"type": {
- "$id": "8818",
+ "$id": "9423",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118579,7 +125593,7 @@
],
"response": {
"type": {
- "$ref": "6153"
+ "$ref": "6607"
}
},
"isOverride": false,
@@ -118588,26 +125602,26 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile"
},
{
- "$id": "8819",
+ "$id": "9424",
"kind": "basic",
"name": "RemoveFileFromVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.",
"operation": {
- "$id": "8820",
+ "$id": "9425",
"name": "RemoveFileFromVectorStore",
"resourceName": "VectorStores",
"summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.",
"accessibility": "public",
"parameters": [
{
- "$id": "8821",
+ "$id": "9426",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2215"
+ "$ref": "2235"
},
"isApiVersion": false,
"optional": false,
@@ -118618,13 +125632,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept"
},
{
- "$id": "8822",
+ "$id": "9427",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file belongs to.",
"type": {
- "$id": "8823",
+ "$id": "9428",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118642,13 +125656,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id"
},
{
- "$id": "8824",
+ "$id": "9429",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to delete.",
"type": {
- "$id": "8825",
+ "$id": "9430",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118672,7 +125686,7 @@
200
],
"bodyType": {
- "$ref": "6193"
+ "$ref": "6653"
},
"headers": [],
"isErrorResponse": false,
@@ -118692,12 +125706,12 @@
},
"parameters": [
{
- "$id": "8826",
+ "$id": "9431",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2217"
+ "$ref": "2237"
},
"location": "Header",
"isApiVersion": false,
@@ -118709,13 +125723,13 @@
"decorators": []
},
{
- "$id": "8827",
+ "$id": "9432",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file belongs to.",
"type": {
- "$id": "8828",
+ "$id": "9433",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118731,13 +125745,13 @@
"decorators": []
},
{
- "$id": "8829",
+ "$id": "9434",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to delete.",
"type": {
- "$id": "8830",
+ "$id": "9435",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118755,7 +125769,7 @@
],
"response": {
"type": {
- "$ref": "6193"
+ "$ref": "6653"
}
},
"isOverride": false,
@@ -118764,27 +125778,27 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile"
},
{
- "$id": "8831",
+ "$id": "9436",
"kind": "basic",
"name": "updateVectorStoreFileAttributes",
"accessibility": "public",
"apiVersions": [],
"summary": "Update the attributes of a vector store file.",
"operation": {
- "$id": "8832",
+ "$id": "9437",
"name": "updateVectorStoreFileAttributes",
"resourceName": "VectorStores",
"summary": "Update the attributes of a vector store file.",
"accessibility": "public",
"parameters": [
{
- "$id": "8833",
+ "$id": "9438",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store the file being updated belongs to.",
"type": {
- "$id": "8834",
+ "$id": "9439",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118802,13 +125816,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id"
},
{
- "$id": "8835",
+ "$id": "9440",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to update attributes for.",
"type": {
- "$id": "8836",
+ "$id": "9441",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118826,13 +125840,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id"
},
{
- "$id": "8837",
+ "$id": "9442",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2219"
+ "$ref": "2239"
},
"isApiVersion": false,
"optional": false,
@@ -118843,12 +125857,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType"
},
{
- "$id": "8838",
+ "$id": "9443",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2221"
+ "$ref": "2241"
},
"isApiVersion": false,
"optional": false,
@@ -118859,12 +125873,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept"
},
{
- "$id": "8839",
+ "$id": "9444",
"kind": "body",
"name": "updateVectorStoreFileAttributesRequest",
"serializedName": "updateVectorStoreFileAttributesRequest",
"type": {
- "$ref": "6199"
+ "$ref": "6659"
},
"isApiVersion": false,
"contentTypes": [
@@ -118884,7 +125898,7 @@
200
],
"bodyType": {
- "$ref": "6153"
+ "$ref": "6607"
},
"headers": [],
"isErrorResponse": false,
@@ -118907,13 +125921,13 @@
},
"parameters": [
{
- "$id": "8840",
+ "$id": "9445",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store the file being updated belongs to.",
"type": {
- "$id": "8841",
+ "$id": "9446",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118929,13 +125943,13 @@
"decorators": []
},
{
- "$id": "8842",
+ "$id": "9447",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file to update attributes for.",
"type": {
- "$id": "8843",
+ "$id": "9448",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -118951,12 +125965,12 @@
"decorators": []
},
{
- "$id": "8844",
+ "$id": "9449",
"kind": "method",
"name": "attributes",
"serializedName": "attributes",
"type": {
- "$ref": "6201"
+ "$ref": "6661"
},
"location": "Body",
"isApiVersion": false,
@@ -118968,13 +125982,13 @@
"decorators": []
},
{
- "$id": "8845",
+ "$id": "9450",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2219"
+ "$ref": "2239"
},
"location": "Header",
"isApiVersion": false,
@@ -118986,12 +126000,12 @@
"decorators": []
},
{
- "$id": "8846",
+ "$id": "9451",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2221"
+ "$ref": "2241"
},
"location": "Header",
"isApiVersion": false,
@@ -119005,7 +126019,7 @@
],
"response": {
"type": {
- "$ref": "6153"
+ "$ref": "6607"
}
},
"isOverride": false,
@@ -119014,27 +126028,27 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes"
},
{
- "$id": "8847",
+ "$id": "9452",
"kind": "basic",
"name": "retrieveVectorStoreFileContent",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves the content of a vector store file.",
"operation": {
- "$id": "8848",
+ "$id": "9453",
"name": "retrieveVectorStoreFileContent",
"resourceName": "VectorStores",
"summary": "Retrieves the content of a vector store file.",
"accessibility": "public",
"parameters": [
{
- "$id": "8849",
+ "$id": "9454",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file belongs to.",
"type": {
- "$id": "8850",
+ "$id": "9455",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119052,13 +126066,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id"
},
{
- "$id": "8851",
+ "$id": "9456",
"kind": "path",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file with content being retrieved.",
"type": {
- "$id": "8852",
+ "$id": "9457",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119076,12 +126090,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id"
},
{
- "$id": "8853",
+ "$id": "9458",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2223"
+ "$ref": "2243"
},
"isApiVersion": false,
"optional": false,
@@ -119098,7 +126112,7 @@
200
],
"bodyType": {
- "$ref": "6202"
+ "$ref": "6662"
},
"headers": [],
"isErrorResponse": false,
@@ -119118,13 +126132,13 @@
},
"parameters": [
{
- "$id": "8854",
+ "$id": "9459",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store that the file belongs to.",
"type": {
- "$id": "8855",
+ "$id": "9460",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119140,13 +126154,13 @@
"decorators": []
},
{
- "$id": "8856",
+ "$id": "9461",
"kind": "method",
"name": "file_id",
"serializedName": "file_id",
"doc": "The ID of the file with content being retrieved.",
"type": {
- "$id": "8857",
+ "$id": "9462",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119162,12 +126176,12 @@
"decorators": []
},
{
- "$id": "8858",
+ "$id": "9463",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2223"
+ "$ref": "2243"
},
"location": "Header",
"isApiVersion": false,
@@ -119181,7 +126195,7 @@
],
"response": {
"type": {
- "$ref": "6202"
+ "$ref": "6662"
}
},
"isOverride": false,
@@ -119190,27 +126204,27 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent"
},
{
- "$id": "8859",
+ "$id": "9464",
"kind": "basic",
"name": "searchVectorStore",
"accessibility": "public",
"apiVersions": [],
"summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.",
"operation": {
- "$id": "8860",
+ "$id": "9465",
"name": "searchVectorStore",
"resourceName": "VectorStores",
"summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.",
"accessibility": "public",
"parameters": [
{
- "$id": "8861",
+ "$id": "9466",
"kind": "path",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to search.",
"type": {
- "$id": "8862",
+ "$id": "9467",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119228,13 +126242,13 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id"
},
{
- "$id": "8863",
+ "$id": "9468",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2225"
+ "$ref": "2245"
},
"isApiVersion": false,
"optional": false,
@@ -119245,12 +126259,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType"
},
{
- "$id": "8864",
+ "$id": "9469",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2227"
+ "$ref": "2247"
},
"isApiVersion": false,
"optional": false,
@@ -119261,12 +126275,12 @@
"crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept"
},
{
- "$id": "8865",
+ "$id": "9470",
"kind": "body",
"name": "vectorStoreSearchRequest",
"serializedName": "vectorStoreSearchRequest",
"type": {
- "$ref": "6220"
+ "$ref": "6680"
},
"isApiVersion": false,
"contentTypes": [
@@ -119286,7 +126300,7 @@
200
],
"bodyType": {
- "$ref": "6231"
+ "$ref": "6691"
},
"headers": [],
"isErrorResponse": false,
@@ -119309,13 +126323,13 @@
},
"parameters": [
{
- "$id": "8866",
+ "$id": "9471",
"kind": "method",
"name": "vector_store_id",
"serializedName": "vector_store_id",
"doc": "The ID of the vector store to search.",
"type": {
- "$id": "8867",
+ "$id": "9472",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119331,13 +126345,13 @@
"decorators": []
},
{
- "$id": "8868",
+ "$id": "9473",
"kind": "method",
"name": "query",
"serializedName": "query",
"doc": "A query string for a search",
"type": {
- "$ref": "6222"
+ "$ref": "6682"
},
"location": "Body",
"isApiVersion": false,
@@ -119349,13 +126363,13 @@
"decorators": []
},
{
- "$id": "8869",
+ "$id": "9474",
"kind": "method",
"name": "rewrite_query",
"serializedName": "rewrite_query",
"doc": "Whether to rewrite the natural language query for vector search.",
"type": {
- "$id": "8870",
+ "$id": "9475",
"kind": "boolean",
"name": "boolean",
"crossLanguageDefinitionId": "TypeSpec.boolean",
@@ -119371,13 +126385,13 @@
"decorators": []
},
{
- "$id": "8871",
+ "$id": "9476",
"kind": "method",
"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": "8872",
+ "$id": "9477",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -119393,13 +126407,13 @@
"decorators": []
},
{
- "$id": "8873",
+ "$id": "9478",
"kind": "method",
"name": "filters",
"serializedName": "filters",
"doc": "A filter to apply based on file attributes.",
"type": {
- "$ref": "6229"
+ "$ref": "6689"
},
"location": "Body",
"isApiVersion": false,
@@ -119411,13 +126425,13 @@
"decorators": []
},
{
- "$id": "8874",
+ "$id": "9479",
"kind": "method",
"name": "ranking_options",
"serializedName": "ranking_options",
"doc": "Ranking options for search.",
"type": {
- "$ref": "6216"
+ "$ref": "6676"
},
"location": "Body",
"isApiVersion": false,
@@ -119429,13 +126443,13 @@
"decorators": []
},
{
- "$id": "8875",
+ "$id": "9480",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2225"
+ "$ref": "2245"
},
"location": "Header",
"isApiVersion": false,
@@ -119447,12 +126461,12 @@
"decorators": []
},
{
- "$id": "8876",
+ "$id": "9481",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2227"
+ "$ref": "2247"
},
"location": "Header",
"isApiVersion": false,
@@ -119466,7 +126480,7 @@
],
"response": {
"type": {
- "$ref": "6231"
+ "$ref": "6691"
}
},
"isOverride": false,
@@ -119477,13 +126491,13 @@
],
"parameters": [
{
- "$id": "8877",
+ "$id": "9482",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8878",
+ "$id": "9483",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -119494,7 +126508,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8879",
+ "$id": "9484",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -119507,40 +126521,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.VectorStores",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8880",
+ "$id": "9485",
"kind": "client",
"name": "Completions",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8881",
+ "$id": "9486",
"kind": "basic",
"name": "createCompletion",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates a completion for the provided prompt and parameters.",
"operation": {
- "$id": "8882",
+ "$id": "9487",
"name": "createCompletion",
"resourceName": "Completions",
"summary": "Creates a completion for the provided prompt and parameters.",
"accessibility": "public",
"parameters": [
{
- "$id": "8883",
+ "$id": "9488",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2229"
+ "$ref": "2249"
},
"isApiVersion": false,
"optional": false,
@@ -119551,13 +126566,13 @@
"crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept"
},
{
- "$id": "8884",
+ "$id": "9489",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2231"
+ "$ref": "2251"
},
"isApiVersion": false,
"optional": false,
@@ -119568,12 +126583,12 @@
"crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType"
},
{
- "$id": "8885",
+ "$id": "9490",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6256"
+ "$ref": "6716"
},
"isApiVersion": false,
"contentTypes": [
@@ -119593,7 +126608,7 @@
200
],
"bodyType": {
- "$ref": "6306"
+ "$ref": "6766"
},
"headers": [],
"isErrorResponse": false,
@@ -119616,12 +126631,12 @@
},
"parameters": [
{
- "$id": "8886",
+ "$id": "9491",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2233"
+ "$ref": "2253"
},
"location": "Header",
"isApiVersion": false,
@@ -119633,12 +126648,12 @@
"decorators": []
},
{
- "$id": "8887",
+ "$id": "9492",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "6256"
+ "$ref": "6716"
},
"location": "Body",
"isApiVersion": false,
@@ -119650,13 +126665,13 @@
"decorators": []
},
{
- "$id": "8888",
+ "$id": "9493",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2231"
+ "$ref": "2251"
},
"location": "Header",
"isApiVersion": false,
@@ -119670,7 +126685,7 @@
],
"response": {
"type": {
- "$ref": "6306"
+ "$ref": "6766"
}
},
"isOverride": false,
@@ -119681,13 +126696,13 @@
],
"parameters": [
{
- "$id": "8889",
+ "$id": "9494",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8890",
+ "$id": "9495",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -119698,7 +126713,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8891",
+ "$id": "9496",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -119711,40 +126726,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Completions",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8892",
+ "$id": "9497",
"kind": "client",
"name": "Models",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8893",
+ "$id": "9498",
"kind": "basic",
"name": "listModels",
"accessibility": "public",
"apiVersions": [],
"summary": "Lists the currently available models, and provides basic information about each one such as the\nowner and availability.",
"operation": {
- "$id": "8894",
+ "$id": "9499",
"name": "listModels",
"resourceName": "Models",
"summary": "Lists the currently available models, and provides basic information about each one such as the\nowner and availability.",
"accessibility": "public",
"parameters": [
{
- "$id": "8895",
+ "$id": "9500",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2235"
+ "$ref": "2255"
},
"isApiVersion": false,
"optional": false,
@@ -119761,7 +126777,7 @@
200
],
"bodyType": {
- "$ref": "6337"
+ "$ref": "6797"
},
"headers": [],
"isErrorResponse": false,
@@ -119781,12 +126797,12 @@
},
"parameters": [
{
- "$id": "8896",
+ "$id": "9501",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2237"
+ "$ref": "2257"
},
"location": "Header",
"isApiVersion": false,
@@ -119800,7 +126816,7 @@
],
"response": {
"type": {
- "$ref": "6337"
+ "$ref": "6797"
}
},
"isOverride": false,
@@ -119809,26 +126825,26 @@
"crossLanguageDefinitionId": "OpenAI.Models.listModels"
},
{
- "$id": "8897",
+ "$id": "9502",
"kind": "basic",
"name": "retrieveModel",
"accessibility": "public",
"apiVersions": [],
"summary": "Retrieves a model instance, providing basic information about the model such as the owner and\npermissioning.",
"operation": {
- "$id": "8898",
+ "$id": "9503",
"name": "retrieveModel",
"resourceName": "Models",
"summary": "Retrieves a model instance, providing basic information about the model such as the owner and\npermissioning.",
"accessibility": "public",
"parameters": [
{
- "$id": "8899",
+ "$id": "9504",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2239"
+ "$ref": "2259"
},
"isApiVersion": false,
"optional": false,
@@ -119839,13 +126855,13 @@
"crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.accept"
},
{
- "$id": "8900",
+ "$id": "9505",
"kind": "path",
"name": "model",
"serializedName": "model",
"doc": "The ID of the model to use for this request.",
"type": {
- "$id": "8901",
+ "$id": "9506",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119869,7 +126885,7 @@
200
],
"bodyType": {
- "$ref": "6341"
+ "$ref": "6801"
},
"headers": [],
"isErrorResponse": false,
@@ -119889,12 +126905,12 @@
},
"parameters": [
{
- "$id": "8902",
+ "$id": "9507",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2241"
+ "$ref": "2261"
},
"location": "Header",
"isApiVersion": false,
@@ -119906,13 +126922,13 @@
"decorators": []
},
{
- "$id": "8903",
+ "$id": "9508",
"kind": "method",
"name": "model",
"serializedName": "model",
"doc": "The ID of the model to use for this request.",
"type": {
- "$id": "8904",
+ "$id": "9509",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119930,7 +126946,7 @@
],
"response": {
"type": {
- "$ref": "6341"
+ "$ref": "6801"
}
},
"isOverride": false,
@@ -119939,26 +126955,26 @@
"crossLanguageDefinitionId": "OpenAI.Models.retrieveModel"
},
{
- "$id": "8905",
+ "$id": "9510",
"kind": "basic",
"name": "deleteModel",
"accessibility": "public",
"apiVersions": [],
"summary": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.",
"operation": {
- "$id": "8906",
+ "$id": "9511",
"name": "deleteModel",
"resourceName": "Models",
"summary": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.",
"accessibility": "public",
"parameters": [
{
- "$id": "8907",
+ "$id": "9512",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2243"
+ "$ref": "2263"
},
"isApiVersion": false,
"optional": false,
@@ -119969,13 +126985,13 @@
"crossLanguageDefinitionId": "OpenAI.Models.deleteModel.accept"
},
{
- "$id": "8908",
+ "$id": "9513",
"kind": "path",
"name": "model",
"serializedName": "model",
"doc": "The model to delete",
"type": {
- "$id": "8909",
+ "$id": "9514",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -119999,7 +127015,7 @@
200
],
"bodyType": {
- "$ref": "6350"
+ "$ref": "6810"
},
"headers": [],
"isErrorResponse": false,
@@ -120019,12 +127035,12 @@
},
"parameters": [
{
- "$id": "8910",
+ "$id": "9515",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2245"
+ "$ref": "2265"
},
"location": "Header",
"isApiVersion": false,
@@ -120036,13 +127052,13 @@
"decorators": []
},
{
- "$id": "8911",
+ "$id": "9516",
"kind": "method",
"name": "model",
"serializedName": "model",
"doc": "The model to delete",
"type": {
- "$id": "8912",
+ "$id": "9517",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -120060,7 +127076,7 @@
],
"response": {
"type": {
- "$ref": "6350"
+ "$ref": "6810"
}
},
"isOverride": false,
@@ -120071,13 +127087,13 @@
],
"parameters": [
{
- "$id": "8913",
+ "$id": "9518",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8914",
+ "$id": "9519",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -120088,7 +127104,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8915",
+ "$id": "9520",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -120101,40 +127117,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Models",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8916",
+ "$id": "9521",
"kind": "client",
"name": "Realtime",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8917",
+ "$id": "9522",
"kind": "basic",
"name": "startRealtimeSession",
"accessibility": "public",
"apiVersions": [],
"summary": "Starts a real-time session for conversation or transcription.",
"operation": {
- "$id": "8918",
+ "$id": "9523",
"name": "startRealtimeSession",
"resourceName": "Realtime",
"summary": "Starts a real-time session for conversation or transcription.",
"accessibility": "public",
"parameters": [
{
- "$id": "8919",
+ "$id": "9524",
"kind": "header",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2247"
+ "$ref": "2267"
},
"isApiVersion": false,
"optional": false,
@@ -120145,13 +127162,13 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta"
},
{
- "$id": "8920",
+ "$id": "9525",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2249"
+ "$ref": "2269"
},
"isApiVersion": false,
"optional": false,
@@ -120162,12 +127179,12 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType"
},
{
- "$id": "8921",
+ "$id": "9526",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2251"
+ "$ref": "2271"
},
"isApiVersion": false,
"optional": false,
@@ -120178,16 +127195,16 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept"
},
{
- "$id": "8922",
+ "$id": "9527",
"kind": "body",
"name": "requestMessages",
"serializedName": "requestMessages",
"type": {
- "$id": "8923",
+ "$id": "9528",
"kind": "array",
"name": "ArrayRealtimeClientEvent",
"valueType": {
- "$ref": "6356"
+ "$ref": "6816"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -120210,11 +127227,11 @@
200
],
"bodyType": {
- "$id": "8924",
+ "$id": "9529",
"kind": "array",
"name": "ArrayRealtimeServerEvent",
"valueType": {
- "$ref": "6586"
+ "$ref": "7113"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -120240,12 +127257,12 @@
},
"parameters": [
{
- "$id": "8925",
+ "$id": "9530",
"kind": "method",
"name": "openAIBeta",
"serializedName": "OpenAI-Beta",
"type": {
- "$ref": "2253"
+ "$ref": "2273"
},
"location": "Header",
"isApiVersion": false,
@@ -120257,12 +127274,12 @@
"decorators": []
},
{
- "$id": "8926",
+ "$id": "9531",
"kind": "method",
"name": "requestMessages",
"serializedName": "requestMessages",
"type": {
- "$ref": "8923"
+ "$ref": "9528"
},
"location": "Body",
"isApiVersion": false,
@@ -120274,13 +127291,13 @@
"decorators": []
},
{
- "$id": "8927",
+ "$id": "9532",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2249"
+ "$ref": "2269"
},
"location": "Header",
"isApiVersion": false,
@@ -120292,12 +127309,12 @@
"decorators": []
},
{
- "$id": "8928",
+ "$id": "9533",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2251"
+ "$ref": "2271"
},
"location": "Header",
"isApiVersion": false,
@@ -120311,7 +127328,7 @@
],
"response": {
"type": {
- "$ref": "8924"
+ "$ref": "9529"
}
},
"isOverride": false,
@@ -120320,27 +127337,27 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession"
},
{
- "$id": "8929",
+ "$id": "9534",
"kind": "basic",
"name": "createEphemeralToken",
"accessibility": "public",
"apiVersions": [],
"summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.",
"operation": {
- "$id": "8930",
+ "$id": "9535",
"name": "createEphemeralToken",
"resourceName": "Realtime",
"summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.",
"accessibility": "public",
"parameters": [
{
- "$id": "8931",
+ "$id": "9536",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2255"
+ "$ref": "2275"
},
"isApiVersion": false,
"optional": false,
@@ -120351,12 +127368,12 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType"
},
{
- "$id": "8932",
+ "$id": "9537",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2257"
+ "$ref": "2277"
},
"isApiVersion": false,
"optional": false,
@@ -120367,12 +127384,12 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept"
},
{
- "$id": "8933",
+ "$id": "9538",
"kind": "body",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "7000"
+ "$ref": "7597"
},
"isApiVersion": false,
"contentTypes": [
@@ -120392,7 +127409,7 @@
200
],
"bodyType": {
- "$ref": "7060"
+ "$ref": "7657"
},
"headers": [],
"isErrorResponse": false,
@@ -120415,12 +127432,12 @@
},
"parameters": [
{
- "$id": "8934",
+ "$id": "9539",
"kind": "method",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "7000"
+ "$ref": "7597"
},
"location": "Body",
"isApiVersion": false,
@@ -120432,13 +127449,13 @@
"decorators": []
},
{
- "$id": "8935",
+ "$id": "9540",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2255"
+ "$ref": "2275"
},
"location": "Header",
"isApiVersion": false,
@@ -120450,12 +127467,12 @@
"decorators": []
},
{
- "$id": "8936",
+ "$id": "9541",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2257"
+ "$ref": "2277"
},
"location": "Header",
"isApiVersion": false,
@@ -120469,7 +127486,7 @@
],
"response": {
"type": {
- "$ref": "7060"
+ "$ref": "7657"
}
},
"isOverride": false,
@@ -120478,27 +127495,27 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken"
},
{
- "$id": "8937",
+ "$id": "9542",
"kind": "basic",
"name": "createEphemeralTranscriptionToken",
"accessibility": "public",
"apiVersions": [],
"summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.",
"operation": {
- "$id": "8938",
+ "$id": "9543",
"name": "createEphemeralTranscriptionToken",
"resourceName": "Realtime",
"summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.",
"accessibility": "public",
"parameters": [
{
- "$id": "8939",
+ "$id": "9544",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2259"
+ "$ref": "2279"
},
"isApiVersion": false,
"optional": false,
@@ -120509,12 +127526,12 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType"
},
{
- "$id": "8940",
+ "$id": "9545",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2261"
+ "$ref": "2281"
},
"isApiVersion": false,
"optional": false,
@@ -120525,12 +127542,12 @@
"crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept"
},
{
- "$id": "8941",
+ "$id": "9546",
"kind": "body",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "6549"
+ "$ref": "7076"
},
"isApiVersion": false,
"contentTypes": [
@@ -120550,7 +127567,7 @@
200
],
"bodyType": {
- "$ref": "6971"
+ "$ref": "7568"
},
"headers": [],
"isErrorResponse": false,
@@ -120573,12 +127590,12 @@
},
"parameters": [
{
- "$id": "8942",
+ "$id": "9547",
"kind": "method",
"name": "request",
"serializedName": "request",
"type": {
- "$ref": "6549"
+ "$ref": "7076"
},
"location": "Body",
"isApiVersion": false,
@@ -120590,13 +127607,13 @@
"decorators": []
},
{
- "$id": "8943",
+ "$id": "9548",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2259"
+ "$ref": "2279"
},
"location": "Header",
"isApiVersion": false,
@@ -120608,12 +127625,12 @@
"decorators": []
},
{
- "$id": "8944",
+ "$id": "9549",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2261"
+ "$ref": "2281"
},
"location": "Header",
"isApiVersion": false,
@@ -120627,7 +127644,7 @@
],
"response": {
"type": {
- "$ref": "6971"
+ "$ref": "7568"
}
},
"isOverride": false,
@@ -120638,13 +127655,13 @@
],
"parameters": [
{
- "$id": "8945",
+ "$id": "9550",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8946",
+ "$id": "9551",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -120655,7 +127672,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8947",
+ "$id": "9552",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -120668,40 +127685,41 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Realtime",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
},
{
- "$id": "8948",
+ "$id": "9553",
"kind": "client",
"name": "Uploads",
"namespace": "OpenAI",
"methods": [
{
- "$id": "8949",
+ "$id": "9554",
"kind": "basic",
"name": "createUpload",
"accessibility": "public",
"apiVersions": [],
"summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).",
"operation": {
- "$id": "8950",
+ "$id": "9555",
"name": "createUpload",
"resourceName": "Uploads",
"summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).",
"accessibility": "public",
"parameters": [
{
- "$id": "8951",
+ "$id": "9556",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2263"
+ "$ref": "2283"
},
"isApiVersion": false,
"optional": false,
@@ -120712,13 +127730,13 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept"
},
{
- "$id": "8952",
+ "$id": "9557",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2265"
+ "$ref": "2285"
},
"isApiVersion": false,
"optional": false,
@@ -120729,12 +127747,12 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType"
},
{
- "$id": "8953",
+ "$id": "9558",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "7107"
+ "$ref": "7704"
},
"isApiVersion": false,
"contentTypes": [
@@ -120754,7 +127772,7 @@
200
],
"bodyType": {
- "$ref": "7115"
+ "$ref": "7712"
},
"headers": [],
"isErrorResponse": false,
@@ -120777,12 +127795,12 @@
},
"parameters": [
{
- "$id": "8954",
+ "$id": "9559",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2267"
+ "$ref": "2287"
},
"location": "Header",
"isApiVersion": false,
@@ -120794,12 +127812,12 @@
"decorators": []
},
{
- "$id": "8955",
+ "$id": "9560",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "7107"
+ "$ref": "7704"
},
"location": "Body",
"isApiVersion": false,
@@ -120811,13 +127829,13 @@
"decorators": []
},
{
- "$id": "8956",
+ "$id": "9561",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2265"
+ "$ref": "2285"
},
"location": "Header",
"isApiVersion": false,
@@ -120831,7 +127849,7 @@
],
"response": {
"type": {
- "$ref": "7115"
+ "$ref": "7712"
}
},
"isOverride": false,
@@ -120840,26 +127858,26 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.createUpload"
},
{
- "$id": "8957",
+ "$id": "9562",
"kind": "basic",
"name": "addUploadPart",
"accessibility": "public",
"apiVersions": [],
"summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).",
"operation": {
- "$id": "8958",
+ "$id": "9563",
"name": "addUploadPart",
"resourceName": "Uploads",
"summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).",
"accessibility": "public",
"parameters": [
{
- "$id": "8959",
+ "$id": "9564",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2269"
+ "$ref": "2289"
},
"isApiVersion": false,
"optional": false,
@@ -120870,12 +127888,12 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept"
},
{
- "$id": "8960",
+ "$id": "9565",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "2271"
+ "$ref": "2291"
},
"isApiVersion": false,
"optional": false,
@@ -120886,12 +127904,12 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType"
},
{
- "$id": "8961",
+ "$id": "9566",
"kind": "path",
"name": "upload_id",
"serializedName": "upload_id",
"type": {
- "$id": "8962",
+ "$id": "9567",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -120909,12 +127927,12 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id"
},
{
- "$id": "8963",
+ "$id": "9568",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "7134"
+ "$ref": "7731"
},
"isApiVersion": false,
"contentTypes": [
@@ -120934,7 +127952,7 @@
200
],
"bodyType": {
- "$ref": "7137"
+ "$ref": "7734"
},
"headers": [],
"isErrorResponse": false,
@@ -120957,12 +127975,12 @@
},
"parameters": [
{
- "$id": "8964",
+ "$id": "9569",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2273"
+ "$ref": "2293"
},
"location": "Header",
"isApiVersion": false,
@@ -120974,12 +127992,12 @@
"decorators": []
},
{
- "$id": "8965",
+ "$id": "9570",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "2275"
+ "$ref": "2295"
},
"location": "Header",
"isApiVersion": false,
@@ -120991,12 +128009,12 @@
"decorators": []
},
{
- "$id": "8966",
+ "$id": "9571",
"kind": "method",
"name": "upload_id",
"serializedName": "upload_id",
"type": {
- "$id": "8967",
+ "$id": "9572",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -121012,12 +128030,12 @@
"decorators": []
},
{
- "$id": "8968",
+ "$id": "9573",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "7134"
+ "$ref": "7731"
},
"location": "Body",
"isApiVersion": false,
@@ -121031,7 +128049,7 @@
],
"response": {
"type": {
- "$ref": "7137"
+ "$ref": "7734"
}
},
"isOverride": false,
@@ -121040,26 +128058,26 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart"
},
{
- "$id": "8969",
+ "$id": "9574",
"kind": "basic",
"name": "completeUpload",
"accessibility": "public",
"apiVersions": [],
"summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.",
"operation": {
- "$id": "8970",
+ "$id": "9575",
"name": "completeUpload",
"resourceName": "Uploads",
"summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.",
"accessibility": "public",
"parameters": [
{
- "$id": "8971",
+ "$id": "9576",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2277"
+ "$ref": "2297"
},
"isApiVersion": false,
"optional": false,
@@ -121070,12 +128088,12 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept"
},
{
- "$id": "8972",
+ "$id": "9577",
"kind": "path",
"name": "upload_id",
"serializedName": "upload_id",
"type": {
- "$id": "8973",
+ "$id": "9578",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -121093,13 +128111,13 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id"
},
{
- "$id": "8974",
+ "$id": "9579",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2279"
+ "$ref": "2299"
},
"isApiVersion": false,
"optional": false,
@@ -121110,12 +128128,12 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType"
},
{
- "$id": "8975",
+ "$id": "9580",
"kind": "body",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "7146"
+ "$ref": "7743"
},
"isApiVersion": false,
"contentTypes": [
@@ -121135,7 +128153,7 @@
200
],
"bodyType": {
- "$ref": "7115"
+ "$ref": "7712"
},
"headers": [],
"isErrorResponse": false,
@@ -121158,12 +128176,12 @@
},
"parameters": [
{
- "$id": "8976",
+ "$id": "9581",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2281"
+ "$ref": "2301"
},
"location": "Header",
"isApiVersion": false,
@@ -121175,12 +128193,12 @@
"decorators": []
},
{
- "$id": "8977",
+ "$id": "9582",
"kind": "method",
"name": "upload_id",
"serializedName": "upload_id",
"type": {
- "$id": "8978",
+ "$id": "9583",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -121196,12 +128214,12 @@
"decorators": []
},
{
- "$id": "8979",
+ "$id": "9584",
"kind": "method",
"name": "requestBody",
"serializedName": "requestBody",
"type": {
- "$ref": "7146"
+ "$ref": "7743"
},
"location": "Body",
"isApiVersion": false,
@@ -121213,13 +128231,13 @@
"decorators": []
},
{
- "$id": "8980",
+ "$id": "9585",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "2279"
+ "$ref": "2299"
},
"location": "Header",
"isApiVersion": false,
@@ -121233,7 +128251,7 @@
],
"response": {
"type": {
- "$ref": "7115"
+ "$ref": "7712"
}
},
"isOverride": false,
@@ -121242,26 +128260,26 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload"
},
{
- "$id": "8981",
+ "$id": "9586",
"kind": "basic",
"name": "cancelUpload",
"accessibility": "public",
"apiVersions": [],
"summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.",
"operation": {
- "$id": "8982",
+ "$id": "9587",
"name": "cancelUpload",
"resourceName": "Uploads",
"summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.",
"accessibility": "public",
"parameters": [
{
- "$id": "8983",
+ "$id": "9588",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2283"
+ "$ref": "2303"
},
"isApiVersion": false,
"optional": false,
@@ -121272,12 +128290,12 @@
"crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept"
},
{
- "$id": "8984",
+ "$id": "9589",
"kind": "path",
"name": "upload_id",
"serializedName": "upload_id",
"type": {
- "$id": "8985",
+ "$id": "9590",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -121301,7 +128319,7 @@
200
],
"bodyType": {
- "$ref": "7115"
+ "$ref": "7712"
},
"headers": [],
"isErrorResponse": false,
@@ -121321,12 +128339,12 @@
},
"parameters": [
{
- "$id": "8986",
+ "$id": "9591",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "2285"
+ "$ref": "2305"
},
"location": "Header",
"isApiVersion": false,
@@ -121338,12 +128356,12 @@
"decorators": []
},
{
- "$id": "8987",
+ "$id": "9592",
"kind": "method",
"name": "upload_id",
"serializedName": "upload_id",
"type": {
- "$id": "8988",
+ "$id": "9593",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -121361,7 +128379,7 @@
],
"response": {
"type": {
- "$ref": "7115"
+ "$ref": "7712"
}
},
"isOverride": false,
@@ -121372,13 +128390,13 @@
],
"parameters": [
{
- "$id": "8989",
+ "$id": "9594",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "8990",
+ "$id": "9595",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -121389,7 +128407,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "8991",
+ "$id": "9596",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -121402,11 +128420,12 @@
"crossLanguageDefinitionId": "OpenAI.endpoint"
}
],
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "OpenAI.Uploads",
"apiVersions": [],
"parent": {
- "$ref": "7520"
+ "$ref": "8125"
}
}
]