diff --git a/docs/zh/.translation-manifest.json b/docs/zh/.translation-manifest.json index 98dcaa1..ce425b8 100644 --- a/docs/zh/.translation-manifest.json +++ b/docs/zh/.translation-manifest.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-08-30T07:38:47.307Z", + "generatedAt": "2026-08-30T15:00:27.959Z", "pages": { "https://developers.openai.com/api/docs/actions/actions-library.md": { "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", @@ -2292,24 +2292,24 @@ "translatedAt": "2026-08-30T07:38:47.307Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md", "sourceSha256": "877e70569e9a2fcd0d928c5d4936f4a001cbe5d73f0d0c1ff046a352f44e12d9", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md", - "targetSha256": "837a481476df3d79bd8a0ff953f8392f8f43a8f8c2d4c4fc8c76b756cc9f07f5", - "translatedAt": "2026-08-26T17:04:59.466Z" + "targetSha256": "32c33c8ab2f72c51d07b125c1230eb54845e45b30736e48801fb1c713a7f200b", + "translatedAt": "2026-08-30T14:35:00.937Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md", "sourceSha256": "f76af2bd1912fbe0cd9375f229db8f09ec95a01e181b97fd948ad36119117a49", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md", - "targetSha256": "021d4917c5fd304c8c699b2fb5206685069673b1b70b65a5e65a1f6a441e3f8d", - "translatedAt": "2026-08-26T17:05:18.447Z" + "targetSha256": "76d7c46735f4b334972088632882ef40f742e0c819d0b034a2676cb46b37f069", + "translatedAt": "2026-08-30T14:35:27.407Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2322,14 +2322,14 @@ "translatedAt": "2026-08-26T20:18:44.286Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md", "sourceSha256": "fa042ec07b6f76acf24bb12f9a278ed7feb8d7a5ead52f8af73573bf3a3df017", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md", - "targetSha256": "b75c074e4febac2c134f1dc8b14801764b5d1ff6389c233d3c7191d543820b7c", - "translatedAt": "2026-08-26T17:05:56.462Z" + "targetSha256": "65e0d6ae1afab2a89a3d7986afe9b6fd8e97dace2c6b4057c4e89243f369934b", + "translatedAt": "2026-08-30T14:36:42.296Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/create.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2342,24 +2342,24 @@ "translatedAt": "2026-08-26T20:19:27.366Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md", "sourceSha256": "48d7ddd556daed2130a05621466a4a447737b97e213d9804264ed914ce1759e3", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md", - "targetSha256": "c2bc8c3131fd4dd9f676c5cc4183443896de59dbc75f2453b9c62d5ec2736edb", - "translatedAt": "2026-08-26T17:06:38.922Z" + "targetSha256": "70b1f8d49ec8c95fff7ee90588ece4377461a8033b8efcc227b3413a76d082bd", + "translatedAt": "2026-08-30T14:37:46.405Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md", "sourceSha256": "1196159264c66a1a22eb3f1bbfbf43f685e7b02ae76c27c4dfdb1581b4f76dc7", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md", - "targetSha256": "bf29d83a1fbc9078e1dd690a2bd42cd655c7d5a61bb0257038623acb944e9ac1", - "translatedAt": "2026-08-26T17:07:17.453Z" + "targetSha256": "6d68fa53abce4a7d2dc68d543df0ac592ae5a033946d376f608dbd7a9960a517", + "translatedAt": "2026-08-30T14:38:48.228Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/submit_tool_outputs.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2372,14 +2372,14 @@ "translatedAt": "2026-08-26T20:20:05.004Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md", "sourceSha256": "d19e3243adc5fade9c923f7772473463919451af73ee830d9ee880da48486501", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md", - "targetSha256": "baeec3eb37efccb56bb102cf3cd357b5ab618860d73bde8bc1ad455444df9d30", - "translatedAt": "2026-08-26T17:07:52.782Z" + "targetSha256": "c4083bcadc91c3af37f5003568b3faaf52581a94217559ef344e2b289d07475a", + "translatedAt": "2026-08-30T14:39:35.994Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2392,24 +2392,24 @@ "translatedAt": "2026-08-26T20:20:37.389Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md", "sourceSha256": "85ab5e8216bf69c70fb431e4b00b6716ef6c422ce5f820b3a6012ce814700734", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md", - "targetSha256": "9a5b2555c009583870485831d92baeb473244dbe59a8eb9e19d24815f0284fe1", - "translatedAt": "2026-08-26T17:08:26.180Z" + "targetSha256": "ab7999ade4fe5dc1296a26f3037d46b9007b9720284a9fa58249e25d8a39667a", + "translatedAt": "2026-08-30T14:40:21.335Z" }, "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md", "sourceSha256": "606942f983a817f682fba501f16d4c7c4ac5e9f5a76ba3d5c011fee32efbfbc0", "sourceUrl": "https://developers.openai.com/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md", - "targetSha256": "5f7bfe4845837bb0c04e5f58af7f7e1b5c85e9d05a61343e723151ade7b286bb", - "translatedAt": "2026-08-26T17:08:57.609Z" + "targetSha256": "30024a020482a21acf07f3a9a3ed1a3e909c7359540a42ebd7da1a741c580830", + "translatedAt": "2026-08-30T14:40:50.562Z" }, "https://developers.openai.com/api/reference/resources/chat.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2452,14 +2452,14 @@ "translatedAt": "2026-08-26T20:23:51.732Z" }, "https://developers.openai.com/api/reference/resources/completions/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/completions/methods/create.md", "sourceSha256": "354de186a90bac1c84dacdf9445c2a6958be298b7555145644827747b8fffe72", "sourceUrl": "https://developers.openai.com/api/reference/resources/completions/methods/create.md", "targetPath": "docs/zh/api/reference/resources/completions/methods/create.md", - "targetSha256": "d5e73bbc3b775a76a5c4e469299110ffe3904a9a2ea5ca1adedcf91886dfbaa3", - "translatedAt": "2026-08-26T17:09:29.317Z" + "targetSha256": "449eecdaac18d6aa91d73102c01bd508587e177e09b0279b10be16066beac075", + "translatedAt": "2026-08-30T14:41:48.687Z" }, "https://developers.openai.com/api/reference/resources/containers.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2472,104 +2472,104 @@ "translatedAt": "2026-08-26T20:24:21.647Z" }, "https://developers.openai.com/api/reference/resources/containers/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/methods/create.md", "sourceSha256": "39f62329ff813fe230abcaf9c1bbe339d6502f7af634b0facd6d82c3aea6bae2", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/methods/create.md", "targetPath": "docs/zh/api/reference/resources/containers/methods/create.md", - "targetSha256": "24b4985aaa2c6f18cab6d70fcde41aa675665515527b82694797f53e2e2df3ec", - "translatedAt": "2026-08-26T17:09:43.517Z" + "targetSha256": "c15371422a288b2f75ab45aa87fdaa7e571457e99f970898a6bfcc1e927971e3", + "translatedAt": "2026-08-30T14:42:15.807Z" }, "https://developers.openai.com/api/reference/resources/containers/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/methods/delete.md", "sourceSha256": "680b4d3f545375022820daf5d57cc5d76eaee7e5c87f189dfae1286e98d9a50d", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/containers/methods/delete.md", - "targetSha256": "8aefc27f0762f7dad30513a5921bf3b775ab1b43c000d9ed77ee87dd154d5f47", - "translatedAt": "2026-08-26T17:09:47.234Z" + "targetSha256": "86f120dac18bcaa3e1f71ae1ea7ec4bc5fffbd0be833c07daa664398326f0927", + "translatedAt": "2026-08-30T14:42:23.559Z" }, "https://developers.openai.com/api/reference/resources/containers/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/methods/list.md", "sourceSha256": "9c3592bcc82ca055d885f36a03fe911b607cb14353417dad6cd77e0e8224383b", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/methods/list.md", "targetPath": "docs/zh/api/reference/resources/containers/methods/list.md", - "targetSha256": "4e0dba0f87c1f31d9c364648732106cd793aa35b6a167ff15d813f7f8ee342e0", - "translatedAt": "2026-08-26T17:09:58.326Z" + "targetSha256": "f8fac5ccb6f3aae68bf5e656261e1da42aa7112320dc20ab37fca0c440e39a08", + "translatedAt": "2026-08-30T14:42:49.140Z" }, "https://developers.openai.com/api/reference/resources/containers/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/methods/retrieve.md", "sourceSha256": "585368c15102a6bf36c5de17f76e25b78c92830129b444ca0d01162bebf95cc7", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/containers/methods/retrieve.md", - "targetSha256": "7b94b7d3c5167351320dd886e0be458bf1aa21739f12328e6a0b68f343761aa4", - "translatedAt": "2026-08-26T17:10:05.205Z" + "targetSha256": "51134a05f324aaa1a819c22a6ce103c0fd11f35b088528412a1ba04b2806a002", + "translatedAt": "2026-08-30T14:43:10.879Z" }, "https://developers.openai.com/api/reference/resources/containers/subresources/files.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/subresources/files.md", "sourceSha256": "6101106c181438cab971ae7b5543ec3038300a99603ca52ff597d05123f1fdb2", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/subresources/files.md", "targetPath": "docs/zh/api/reference/resources/containers/subresources/files.md", - "targetSha256": "f2b0490355a6a891c431ed5dd1bfb91dbd8a159ca50129b77f80654a9752389a", - "translatedAt": "2026-08-26T17:10:35.899Z" + "targetSha256": "ceff79aade112f754f77fea1a614bc850e53668853be415c0765280a353894fd", + "translatedAt": "2026-08-30T14:43:53.713Z" }, "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/subresources/files/methods/create.md", "sourceSha256": "07b4c3e33cc4c9a7fb3ca5150da8df0e58d10b6f39e16b548820a7cfe4173b48", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/create.md", "targetPath": "docs/zh/api/reference/resources/containers/subresources/files/methods/create.md", - "targetSha256": "c1e28a841f659654590dc47cd76b2203a72fd46a15fa9de919f16194f7bfd2d2", - "translatedAt": "2026-08-26T17:10:43.195Z" + "targetSha256": "c4ae4d5c5701cab6a435f4ae31c67d18c78ac296760f4ea676583da75b1d26d8", + "translatedAt": "2026-08-30T14:44:12.328Z" }, "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/subresources/files/methods/delete.md", "sourceSha256": "ece4a11527be667575dc607dae0b94799780eec5526211ab43707bf0d3843f97", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/containers/subresources/files/methods/delete.md", - "targetSha256": "e9a28769d26bbbff04956c81900ef6e307f9397976ec3466e1e1d9af7eeaa1e4", - "translatedAt": "2026-08-26T17:10:47.457Z" + "targetSha256": "a72cdc6a5a0f46501f0fad6bdc3f9a070db947138bff771db9590bf6cd360184", + "translatedAt": "2026-08-30T14:44:21.044Z" }, "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/subresources/files/methods/list.md", "sourceSha256": "fafa957d836132413a9940ba60770b4017fd80bd4013e7c52aa666de86051218", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/list.md", "targetPath": "docs/zh/api/reference/resources/containers/subresources/files/methods/list.md", - "targetSha256": "0be5eabb79c2eff2d98e972e2d12d9ba68c68a7c7e3c15afa2df17b4dd8b0cb2", - "translatedAt": "2026-08-26T17:10:57.990Z" + "targetSha256": "2b693e0f43b78f76d94d92dd6c57227d8aa3cb31b46fe1c8beb5b567f7f12c5c", + "translatedAt": "2026-08-30T14:44:39.553Z" }, "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/subresources/files/methods/retrieve.md", "sourceSha256": "1f058fffbe392f7649797fd449e311fc2c48f027a8e94f1d67f5482a7a83b150", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/subresources/files/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/containers/subresources/files/methods/retrieve.md", - "targetSha256": "966578d29fb92d750ff181f4a8f184a5b43d23b7c52bd23258759927f8bb69cb", - "translatedAt": "2026-08-26T17:11:04.713Z" + "targetSha256": "02ab475cc7e388035d1731e48d5b7176cb7482ca1d5bc35d3bf5d0f7514d69de", + "translatedAt": "2026-08-30T14:45:22.416Z" }, "https://developers.openai.com/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md", "sourceSha256": "13d3808a32ef9d94d4106471b82f003c6ed7a12700590a8c9724f2d6e7353473", "sourceUrl": "https://developers.openai.com/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md", - "targetSha256": "fdbc5ccd0dadf09bb4b15973d7a5a47dc35fce3dc0a31e787d4f77130ab7e55e", - "translatedAt": "2026-08-26T17:11:08.425Z" + "targetSha256": "768ba9d0c1f9fd3a4b0849c4d1fa9f0bdd7a99460f33a5ebb5abbb82a02a819a", + "translatedAt": "2026-08-30T14:45:32.435Z" }, "https://developers.openai.com/api/reference/resources/conversations.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2592,34 +2592,34 @@ "translatedAt": "2026-08-26T20:28:41.597Z" }, "https://developers.openai.com/api/reference/resources/conversations/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/conversations/methods/delete.md", "sourceSha256": "fa7d96be6bfd17d17fbeb6433b32e8504353f797ec4dc443aeff50babe156c63", "sourceUrl": "https://developers.openai.com/api/reference/resources/conversations/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/conversations/methods/delete.md", - "targetSha256": "d0556559a607cfb0f5ddea882929fbfdd6d1c098bd66809a87222d279428ec73", - "translatedAt": "2026-08-26T17:11:12.318Z" + "targetSha256": "fd09059706b95f0339030560e98a4ce8ea9e31725db5fbac1e71cc251b684dc7", + "translatedAt": "2026-08-30T14:45:41.085Z" }, "https://developers.openai.com/api/reference/resources/conversations/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/conversations/methods/retrieve.md", "sourceSha256": "249da6e143be3fc29102a7973d3fcc9a358f36235d376b7c796d2ec03784936c", "sourceUrl": "https://developers.openai.com/api/reference/resources/conversations/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/conversations/methods/retrieve.md", - "targetSha256": "b68ccabb29c5fd9875eef0722a683c3dd3d557738dff12ab392f3eccf5ba2dec", - "translatedAt": "2026-08-26T17:11:18.375Z" + "targetSha256": "5db5e84023056b3f4b82abaeaf2d392896c5ef465959780e54e1d3f147a71f7c", + "translatedAt": "2026-08-30T14:45:53.342Z" }, "https://developers.openai.com/api/reference/resources/conversations/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/conversations/methods/update.md", "sourceSha256": "2f0fb8ab154b090b57483343e07a8ec2dcd70aa058e16390ae8098536ee43911", "sourceUrl": "https://developers.openai.com/api/reference/resources/conversations/methods/update.md", "targetPath": "docs/zh/api/reference/resources/conversations/methods/update.md", - "targetSha256": "ba969ed68023338e06198c16314d7588982ac62fbb5a6cded790fb144ad542e1", - "translatedAt": "2026-08-26T17:11:26.557Z" + "targetSha256": "0a6068c2b8da2ac9de33410e7204f39e2c6b716683aa99877b70979f4eeef57d", + "translatedAt": "2026-08-30T14:46:10.896Z" }, "https://developers.openai.com/api/reference/resources/conversations/subresources/items/methods/list.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2632,24 +2632,24 @@ "translatedAt": "2026-08-26T20:30:27.601Z" }, "https://developers.openai.com/api/reference/resources/embeddings.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/embeddings.md", "sourceSha256": "4837896201360bb6f5b737c3514c9650825cb93eaac44e25b9e0ee82da56794b", "sourceUrl": "https://developers.openai.com/api/reference/resources/embeddings.md", "targetPath": "docs/zh/api/reference/resources/embeddings.md", - "targetSha256": "7729d196aa39d6e8c48440878a666bf0cc60203959eccfad1250f650ff63fdf5", - "translatedAt": "2026-08-26T17:11:43.068Z" + "targetSha256": "246c0e01c93a2a1f54abf49184d875464bae2b59eba55c8027df88b980e12559", + "translatedAt": "2026-08-30T14:46:35.033Z" }, "https://developers.openai.com/api/reference/resources/embeddings/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/embeddings/methods/create.md", "sourceSha256": "6ee15cc495056c93a7dc859a8141d1c8a7f7db75b1d1acd19de7927ef3904aa1", "sourceUrl": "https://developers.openai.com/api/reference/resources/embeddings/methods/create.md", "targetPath": "docs/zh/api/reference/resources/embeddings/methods/create.md", - "targetSha256": "61463915df916913496cee7bd6c0c46ee0e5e63f64871bd149cafc07bf817f07", - "translatedAt": "2026-08-26T17:11:54.531Z" + "targetSha256": "42cf9666960c2be087a7c6b8585a9050965fa9fd22a5d215350447a6eae9f591", + "translatedAt": "2026-08-30T14:46:51.625Z" }, "https://developers.openai.com/api/reference/resources/evals.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2672,44 +2672,44 @@ "translatedAt": "2026-08-26T20:34:22.992Z" }, "https://developers.openai.com/api/reference/resources/evals/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/evals/methods/delete.md", "sourceSha256": "39645ed51f71412f8fb62a0889834b8810fc0eefb6ec92cd70fc5f71ea8687b0", "sourceUrl": "https://developers.openai.com/api/reference/resources/evals/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/evals/methods/delete.md", - "targetSha256": "b3f6796250d5a5e5f16f28f87693e35455653854baadd10d06ce0c3235951aa0", - "translatedAt": "2026-08-26T17:11:57.983Z" + "targetSha256": "1ecbb5ecf5481f060d3f4fe6687c87079246758d9d0f04edf6925ec33b950a96", + "translatedAt": "2026-08-30T14:47:02.835Z" }, "https://developers.openai.com/api/reference/resources/evals/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/evals/methods/list.md", "sourceSha256": "99fd288e5f8364e711f108cb0936458693840a12e97d182f5a3e1ee796a870b2", "sourceUrl": "https://developers.openai.com/api/reference/resources/evals/methods/list.md", "targetPath": "docs/zh/api/reference/resources/evals/methods/list.md", - "targetSha256": "c37c8448671a46d2afc8a40e2e2d2cb35b6f2cddfda3187a9da27ae9e53eac45", - "translatedAt": "2026-08-26T17:12:21.726Z" + "targetSha256": "3d1e8b4b8da469cb4ee3cf331c01676d6728a4b0f9980a2d55ccc6010a986eb2", + "translatedAt": "2026-08-30T14:47:36.328Z" }, "https://developers.openai.com/api/reference/resources/evals/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/evals/methods/retrieve.md", "sourceSha256": "43c74af3075d08ddbc52c4b99ec8198bea2c43d0c33a4be6119dd2961298d529", "sourceUrl": "https://developers.openai.com/api/reference/resources/evals/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/evals/methods/retrieve.md", - "targetSha256": "30bd2802d9d37fbd06f16987fd826eb6a178491e09d963f72787fdc0749383bc", - "translatedAt": "2026-08-26T17:12:46.801Z" + "targetSha256": "36a4f519817edfa92a770a83aa222b8062a8fe095a6371e783deb28781bd531d", + "translatedAt": "2026-08-30T14:48:05.472Z" }, "https://developers.openai.com/api/reference/resources/evals/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/evals/methods/update.md", "sourceSha256": "10da43548844f357981cc84b91ce59f1bd29bb9801b43394df09eb10bbdc9ddd", "sourceUrl": "https://developers.openai.com/api/reference/resources/evals/methods/update.md", "targetPath": "docs/zh/api/reference/resources/evals/methods/update.md", - "targetSha256": "aafbefc770bbefe7356b8e84449140b14219be8262b213df013aa573c109aef6", - "translatedAt": "2026-08-26T17:13:10.347Z" + "targetSha256": "440d9c116c0fa6e36289b62f0e2cc66df692b7187942d98258a0724f7e8dba75", + "translatedAt": "2026-08-30T14:49:02.365Z" }, "https://developers.openai.com/api/reference/resources/evals/subresources/runs/methods/cancel.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2722,54 +2722,54 @@ "translatedAt": "2026-08-26T20:36:01.543Z" }, "https://developers.openai.com/api/reference/resources/files.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/files.md", "sourceSha256": "af53a000a23f6115ab28b3bc4c73f94d096631220d46d153923cfe6fdeaf2e8a", "sourceUrl": "https://developers.openai.com/api/reference/resources/files.md", "targetPath": "docs/zh/api/reference/resources/files.md", - "targetSha256": "e196f55ca0b0fca0150383d60ddedd0511d267ce103e259c832b5da17f41062b", - "translatedAt": "2026-08-26T17:14:00.331Z" + "targetSha256": "f023ad1511f3294c5a91966908d525594a9acc98cdba5608d4d2b48f01cd96d6", + "translatedAt": "2026-08-30T14:49:47.358Z" }, "https://developers.openai.com/api/reference/resources/files/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/files/methods/create.md", "sourceSha256": "f311226b43da0048c2a0930b4e8899d8faafbab730940c8c4b4eb83f92795a71", "sourceUrl": "https://developers.openai.com/api/reference/resources/files/methods/create.md", "targetPath": "docs/zh/api/reference/resources/files/methods/create.md", - "targetSha256": "f968bcebd1acf1201bc032ea476b4abf44c459f2db252fb4b7d12909f99c6886", - "translatedAt": "2026-08-26T17:14:12.573Z" + "targetSha256": "73c16287caa89113f917a64fd9d9efdf2bb961c9da34aa035971d4618d6758d1", + "translatedAt": "2026-08-30T14:50:13.772Z" }, "https://developers.openai.com/api/reference/resources/files/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/files/methods/delete.md", "sourceSha256": "d8e03447a8110f25ba783bab443effc570afa0f6fe2b4b731b93091d92662db5", "sourceUrl": "https://developers.openai.com/api/reference/resources/files/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/files/methods/delete.md", - "targetSha256": "5a206ba86fdc0c7f8396fa54b53663e6dcd22f3206b58cdad7c331324528bb1c", - "translatedAt": "2026-08-26T17:14:16.877Z" + "targetSha256": "c144f420ad44e8064fea223e1b3d42fbdb761a6ac09834c60e4d38bbc1f4cc2b", + "translatedAt": "2026-08-30T14:50:21.763Z" }, "https://developers.openai.com/api/reference/resources/files/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/files/methods/list.md", "sourceSha256": "a9cd9a47a20d74fb3d2391e7be9e9c1635576283bf7c3ab9d586d01d8dee3d70", "sourceUrl": "https://developers.openai.com/api/reference/resources/files/methods/list.md", "targetPath": "docs/zh/api/reference/resources/files/methods/list.md", - "targetSha256": "912da070ec89cba7df9c78aed1ce42193b376ab32aff644f6342b31595c33cbb", - "translatedAt": "2026-08-26T17:14:25.666Z" + "targetSha256": "3ba815349aa45000467db37458108015d1ebcf314a3c3b29e1bc0cd97b3e41c1", + "translatedAt": "2026-08-30T14:50:40.027Z" }, "https://developers.openai.com/api/reference/resources/files/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/files/methods/retrieve.md", "sourceSha256": "3eb1769d1ea3f12732684c949c5e7ec6ef69bf520c36dcf21bd2705f90ab5f68", "sourceUrl": "https://developers.openai.com/api/reference/resources/files/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/files/methods/retrieve.md", - "targetSha256": "8928d45e0ed4d8e6eaf9442fbfd4a04143e92a8adce444ccbd3f89330c578854", - "translatedAt": "2026-08-26T17:14:32.629Z" + "targetSha256": "6b58e92474d3e22ddc4b851ba00ecf8abf53551269fe41ecc906a8a80b445404", + "translatedAt": "2026-08-30T14:50:54.837Z" }, "https://developers.openai.com/api/reference/resources/fine_tuning.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2782,24 +2782,24 @@ "translatedAt": "2026-08-26T20:37:39.113Z" }, "https://developers.openai.com/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md", "sourceSha256": "630cd58f57c57ea11d8f800fe5dbb6a33923939cd95c090f5a5c37aed21e72ab", "sourceUrl": "https://developers.openai.com/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md", "targetPath": "docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md", - "targetSha256": "b61b76a21b72f7b06a01a8a38de4480e10701df76a5781eabcd1cba08a2f2726", - "translatedAt": "2026-08-26T17:14:41.589Z" + "targetSha256": "1a7bd419cca7f3bcb06a80fa870e55feb05b5c387397e69087f95477be01f472", + "translatedAt": "2026-08-30T14:51:11.572Z" }, "https://developers.openai.com/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md", "sourceSha256": "6a31aa175c02eca3d769d5c29beeefb9260bc598e3b0ce2e9a3469cce1a33f20", "sourceUrl": "https://developers.openai.com/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md", - "targetSha256": "72b51b880fb9f94bcaa383f3f8cee9facd3fb57bcafc26183973ae85e341080e", - "translatedAt": "2026-08-26T17:14:47.975Z" + "targetSha256": "617a3fbd77acb4005546d57fc96b05ccd8c67649ff84f746b31fd8a28f002f74", + "translatedAt": "2026-08-30T14:51:24.795Z" }, "https://developers.openai.com/api/reference/resources/fine_tuning/subresources/jobs/methods/list.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2812,14 +2812,14 @@ "translatedAt": "2026-08-26T20:38:11.415Z" }, "https://developers.openai.com/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md", "sourceSha256": "f844ed0c4e882f692c6eafe711b815efdedd7d48d5687290f0dace2f44a687e7", "sourceUrl": "https://developers.openai.com/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md", "targetPath": "docs/zh/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md", - "targetSha256": "f689a80ce24cf5e4962a055665c998256b68d5900379a85ae7505cbf8366a786", - "translatedAt": "2026-08-26T17:14:56.792Z" + "targetSha256": "4d07b3586e0cd741bf3367daf5dfdbe0a6bdec8eecb6763724d94ede65b15ff7", + "translatedAt": "2026-08-30T14:51:37.957Z" }, "https://developers.openai.com/api/reference/resources/graders.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2862,54 +2862,54 @@ "translatedAt": "2026-08-26T20:39:40.522Z" }, "https://developers.openai.com/api/reference/resources/images/methods/create_variation.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/images/methods/create_variation.md", "sourceSha256": "9c2cd1afa78a80c1773c392ddcc4c5c9077d98188fd46ac1137eb109dc0d3f72", "sourceUrl": "https://developers.openai.com/api/reference/resources/images/methods/create_variation.md", "targetPath": "docs/zh/api/reference/resources/images/methods/create_variation.md", - "targetSha256": "bf94270a4404020152609d9ee3b19774538804569ddc22804dedfc8671527b73", - "translatedAt": "2026-08-26T17:15:06.926Z" + "targetSha256": "8ed8b47ad0ada41d43f9db4cf8822635c90424c97627486ddb7b41b643021925", + "translatedAt": "2026-08-30T14:51:57.655Z" }, "https://developers.openai.com/api/reference/resources/models.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/models.md", "sourceSha256": "d5fb0dff14226b9328762aa97ffb9a0fdb80c5db81eec288994a167fad58b758", "sourceUrl": "https://developers.openai.com/api/reference/resources/models.md", "targetPath": "docs/zh/api/reference/resources/models.md", - "targetSha256": "f21375a10bdfc308afda4b2ede0c1edfe5f9f73739e2594008d0f69de8070ff0", - "translatedAt": "2026-08-26T17:15:26.206Z" + "targetSha256": "193b6e253f8f520400d15a5d7d78196b1b4b4cbe10aad10b494ecd2382ef7bb6", + "translatedAt": "2026-08-30T14:52:17.516Z" }, "https://developers.openai.com/api/reference/resources/models/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/models/methods/delete.md", "sourceSha256": "5892051eb14bf5c0209121621a33ca4dea1872091f16075e2ce355341b980f2d", "sourceUrl": "https://developers.openai.com/api/reference/resources/models/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/models/methods/delete.md", - "targetSha256": "3b0c5237afdedfbfb04a643cbe796a9f0af7904258cceb33ce12650e0746d326", - "translatedAt": "2026-08-26T17:15:30.880Z" + "targetSha256": "32b607097e71889b9b17017df6e60cfcf49793c3ce4b036554f57a959b33cf80", + "translatedAt": "2026-08-30T14:52:28.224Z" }, "https://developers.openai.com/api/reference/resources/models/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/models/methods/list.md", "sourceSha256": "d61fe606bec272416967ae4feb35a68732e88f42b707283f5c9304b400b4e7a7", "sourceUrl": "https://developers.openai.com/api/reference/resources/models/methods/list.md", "targetPath": "docs/zh/api/reference/resources/models/methods/list.md", - "targetSha256": "f9cebee5a5bf37fb017a9342ac68ce9f0e829f812499a7e5d5c598ee9339f9c0", - "translatedAt": "2026-08-26T17:15:37.909Z" + "targetSha256": "75790142cbcee1417cb262e4853b7db04aec5f0f23004312857f450506954831", + "translatedAt": "2026-08-30T14:52:43.368Z" }, "https://developers.openai.com/api/reference/resources/models/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/models/methods/retrieve.md", "sourceSha256": "3eb34c3d79c0123168821c609d925b1a110382e476779ec450e425ad77a60e44", "sourceUrl": "https://developers.openai.com/api/reference/resources/models/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/models/methods/retrieve.md", - "targetSha256": "36e4cd13fed2533c66e08c733cda8353eb8e15b45dad58e646426786e064883f", - "translatedAt": "2026-08-26T17:15:44.302Z" + "targetSha256": "8ba414edf0f9aa0214856aca8a7ef2c7ad49b8a6661f6ab089ff75c918acf4f3", + "translatedAt": "2026-08-30T14:52:57.797Z" }, "https://developers.openai.com/api/reference/resources/moderations.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", @@ -2922,594 +2922,594 @@ "translatedAt": "2026-08-26T20:40:01.150Z" }, "https://developers.openai.com/api/reference/resources/moderations/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/moderations/methods/create.md", "sourceSha256": "3f69a460dbd052cf9545228b76a7fa7f1eff9f151e884603cc0392de2a1cc44d", "sourceUrl": "https://developers.openai.com/api/reference/resources/moderations/methods/create.md", "targetPath": "docs/zh/api/reference/resources/moderations/methods/create.md", - "targetSha256": "0a38b66cb435057d80480e897eda82f761e2cce192da70424095d48c319b9465", - "translatedAt": "2026-08-26T17:16:02.569Z" + "targetSha256": "ee92c95925d519f15b53d0945214443c95bf9e3ababfbdb6eedc481fbba37172", + "translatedAt": "2026-08-30T14:53:33.022Z" }, "https://developers.openai.com/api/reference/resources/organization.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization.md", "sourceSha256": "31fc0e892f07b52f6de40c833f964b167f36eb535ca4e0b38590c39e50c58f62", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization.md", "targetPath": "docs/zh/api/reference/resources/organization.md", - "targetSha256": "be69e3eee1f0e947e8a721c6e4968d87dc9ccd56ec1181183b91a20e52718bb2", - "translatedAt": "2026-08-26T17:16:06.518Z" + "targetSha256": "9958ef9b9280f60dfebf3908643e3cb3fe952a260557c2f29f6935a20dd59e4d", + "translatedAt": "2026-08-30T14:53:38.614Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs.md", "sourceSha256": "39d2535c1198739fa1e502592f91e9058e7e278590f4106e5af46875769dc2c6", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs.md", - "targetSha256": "aac1542ac4aca21902aaca3de9c13aa1dbd28a57ae65434d92694a1616512edc", - "translatedAt": "2026-08-26T17:16:10.211Z" + "targetSha256": "92edcac94f19c84891e6be664279cfbcc3a8e74871bdef8db052fa42db002552", + "translatedAt": "2026-08-30T14:53:46.039Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs/methods/list.md", "sourceSha256": "121668d6f8fbb95789f40e99444374f32a65bcaab495a310c3958f40853becf0", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs/methods/list.md", - "targetSha256": "925709e50bbdbb006b22f132a2d05a01c28e71b985040a29d03921cd387269ca", - "translatedAt": "2026-08-26T17:16:13.274Z" + "targetSha256": "ff2575d2750a976d71634d8bd2be9a274c597c58a13993dfa8db8c82d1211b0e", + "translatedAt": "2026-08-30T14:53:53.839Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md", "sourceSha256": "3b54858900c4f89893ce41ce84255f2738f030521b81c4c7ad553b1c36a72d51", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md", - "targetSha256": "2a13b37e655267fedf56da142679a4e951af6cf1f6a7c3b491e713ccf85ad26c", - "translatedAt": "2026-08-26T17:16:16.948Z" + "targetSha256": "2386d57dde99db6b26de8a3c405ecc83002b0fd314615c151d8c95be9c033fec", + "translatedAt": "2026-08-30T14:54:04.713Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md", "sourceSha256": "a2992f866fef24ce4e64def732edcaba2cef4a258b691c198e94eb346fe2cbd3", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md", - "targetSha256": "74f3ff951759b6db7d3db385d21504354aed15e73afc17e6760672b2affb2f01", - "translatedAt": "2026-08-26T17:16:22.507Z" + "targetSha256": "5de7e9ef3d2e47f9e5621260f83682820768b6c966e9ec703fe2bfb6e0e0aa4f", + "translatedAt": "2026-08-30T14:54:21.132Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md", "sourceSha256": "7f1cab6b4b01ca5bb5d029c823771364a305d5c3545e020f696801939ddc833e", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md", - "targetSha256": "6d1d4304ba48190c680296c0dc1e524420bb7214f39a5090e3e05a7634540cff", - "translatedAt": "2026-08-26T17:16:26.260Z" + "targetSha256": "18eff0df9eeb724943b8e956497c42d237838c66bbaed71141303552dde8341a", + "translatedAt": "2026-08-30T14:54:27.343Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md", "sourceSha256": "381435a5fb491b034b2896d1fd0a4ede8ce7290263fb6b00b0169b94f4967693", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md", - "targetSha256": "4137a6243eef50f41f8424d47f8e7c1d32d976d3357df932cbc753a9c8417d52", - "translatedAt": "2026-08-26T17:16:29.848Z" + "targetSha256": "cb3a69ab7e5ad159cbd64bca486c1812d92e29126bc97d3474255b6328a0b3e6", + "translatedAt": "2026-08-30T14:54:33.565Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md", "sourceSha256": "27c936fd63df4387e67cc2060f0377b35cd8593272aadfa418145ab8b8981ef7", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md", - "targetSha256": "5f8ce37af87abd6995ef7f85f39abc63f3402675a4522c170f2cc05d970164f5", - "translatedAt": "2026-08-26T17:16:33.459Z" + "targetSha256": "134b666355b41023590eec90e24b7f83f43b502f51d7e29f2c941beea5aeef81", + "translatedAt": "2026-08-30T14:54:41.963Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md", "sourceSha256": "42f9737618b4587ce850ba88a7085075db8af99b7ecb89cc72eb2eabb341acf6", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md", - "targetSha256": "44c3dc9a2faff2a06646dfd40b2617ed21ce72b537130858f1d7960b12d27978", - "translatedAt": "2026-08-26T17:16:36.362Z" + "targetSha256": "18fa8bd1b41ab5b8644e3f8cce9ccf3bf426ea39dd3d43ddcaeac887958d1343", + "translatedAt": "2026-08-30T14:54:48.893Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups.md", "sourceSha256": "ef12f7e13b733d1f21a05558923cb33bd7ffd8a646f15b2ed18da2fc2a0e1020", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups.md", - "targetSha256": "fce75c2615a8b96f83be42ee0d426408bb5ed7346e2dfe33656606b9d62a7689", - "translatedAt": "2026-08-26T17:16:39.305Z" + "targetSha256": "4a6b140e3d5f525bb4e8005bac44a8c5644c529dfa4bf74f15172d2e88f0230a", + "translatedAt": "2026-08-30T14:54:56.179Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/methods/create.md", "sourceSha256": "ce2f750219013aa4a8abc4d2c83c0570698f6b1b3ba5792cc1eec2591941a941", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/methods/create.md", - "targetSha256": "0dc9551112498b5185a3ccc1b9a55cb3c07c8edb4a5b283f0a1efa9e898d946e", - "translatedAt": "2026-08-26T17:16:43.281Z" + "targetSha256": "c5a896554db5b3e78eb7f3d5b0d680eb5dde8dd8d3a956630dcc425b37363077", + "translatedAt": "2026-08-30T14:55:02.678Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/methods/delete.md", "sourceSha256": "5592888a91c44b5d5fd6df973e5bac85525312940465d96f20b59f967401d5c4", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/methods/delete.md", - "targetSha256": "f0f2b2ccac9dc9505b4f0da57e978abe4abfa71828134bfff455fc9130ffcf37", - "translatedAt": "2026-08-26T17:16:46.764Z" + "targetSha256": "86a9128adf40357b126b857f85d56e812c1ed1e0a03b67e1f3f087bbd5339abd", + "translatedAt": "2026-08-30T14:55:08.885Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/methods/list.md", "sourceSha256": "875b608052d3d880f9917b19c2cafbca5702b604ffd011df7da70b2d87e29879", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/methods/list.md", - "targetSha256": "9fa241c45dc1381b07f8cf03b27980b872502af6ee59daa62734ad09134ec8ce", - "translatedAt": "2026-08-26T17:16:50.043Z" + "targetSha256": "29f4efdf814bf68b2a76af56dc6d7896b108af0613b95d9b299bf9c609cb69b5", + "translatedAt": "2026-08-30T14:55:13.964Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/methods/update.md", "sourceSha256": "806671b1b0579fdf6b1d840e331c2ae787b4db5231e3b4ca6c8a2585b28374d7", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/update.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/methods/update.md", - "targetSha256": "33d1619641c7ed5625876d152384a85a0e29bbf02510f635c5164aabd2ca3174", - "translatedAt": "2026-08-26T17:16:53.630Z" + "targetSha256": "90cf3cb53e33345852bd6bf912a5e8843715da3735be5577301a084b2b00e907", + "translatedAt": "2026-08-30T14:55:19.698Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/subresources/users.md", "sourceSha256": "6984a11b64a7e7fdd274e7236f5a116fa9eba2dad44af5ba7988ce6e4e7fcde5", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/subresources/users.md", - "targetSha256": "00a008ae110318afff3505960cc051aaaa934cfd44c3d7b3661819dae5dfcda9", - "translatedAt": "2026-08-26T17:16:57.932Z" + "targetSha256": "8d6e7c36bf48ef7cde9b76020472c0a47fde43f78160f3421687bd493c965c29", + "translatedAt": "2026-08-30T14:55:25.043Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md", "sourceSha256": "8d3887c79295fd2d46495252a66d975fc896f5faa2c2d3db30be3fadde9e6707", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md", - "targetSha256": "ad539200dd725fe176ecd616e28dec32879efcb107cff7497ceb14b1ffd9d344", - "translatedAt": "2026-08-26T17:17:01.243Z" + "targetSha256": "c553b9ff7dd66da2810d0dc0eef5d99f1030c212fffcbc8c3c669e1069db1b5d", + "translatedAt": "2026-08-30T14:55:31.737Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md", "sourceSha256": "da50bc6601a0ff6ffed37793f0143ab279ff0059be672713973fdb0d465a3b61", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md", - "targetSha256": "365a568a77e416a7f01b69716334ccfd626dd6b1bab6f48f01f338721902e8ee", - "translatedAt": "2026-08-26T17:17:05.807Z" + "targetSha256": "e9eaab18bd37779c188a9144ed75d7513e8d93178d0105ea17fd9e90c33fd3ad", + "translatedAt": "2026-08-30T14:55:37.428Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md", "sourceSha256": "117ac03a43ada0b60cdcb68b8a4f4de39e9e4122fd4209a32ff5ee43bc9f03e4", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md", - "targetSha256": "a76256d9226ee440ca40ad5d91774c75cd6bea0eafd430beb1cc144ef39e8c8b", - "translatedAt": "2026-08-26T17:17:09.693Z" + "targetSha256": "7838fa734b35b3ab8e69e9aa9e495bd870c8c2aee388be16730486c221be45c5", + "translatedAt": "2026-08-30T14:55:43.890Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/invites.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/invites.md", "sourceSha256": "a6396561c01f6814d07097d5956d5a7ab14505d7a74d40f57288e3cd8c745cbd", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/invites.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/invites.md", - "targetSha256": "70010aef238750c07a557d1985af692265d106cd5c2c706eacb940ad80414e69", - "translatedAt": "2026-08-26T17:17:13.283Z" + "targetSha256": "9521ee157ed77ea8a4b3e77212911f687d422979430b519607b87d131e8d1b04", + "translatedAt": "2026-08-30T14:55:50.262Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/invites/methods/create.md", "sourceSha256": "8fe4b3f17838d15a2b6ac1684817e82c36575037c7624ec82a72f5094d127dcd", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/invites/methods/create.md", - "targetSha256": "c71c15a0fa0bd7d8b7960e85db4c694f08af4f60ec7a8df36d67cfe456f0b68c", - "translatedAt": "2026-08-26T17:17:16.567Z" + "targetSha256": "7392a03cb1af944e985dce38fb3b94fb1c9199d93107cbc69be0db5a384447da", + "translatedAt": "2026-08-30T14:55:57.283Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/invites/methods/delete.md", "sourceSha256": "98b52ff25292fd775f0c5e5615fe7c4fde275cc801e95b5307254a4ab440f424", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/invites/methods/delete.md", - "targetSha256": "de8c6672c3812efe7a93a40bfd8db1cc6eb9e0883645585cabdc08dcd5c602bf", - "translatedAt": "2026-08-26T17:17:20.142Z" + "targetSha256": "2e15d5929d06866c9e2884114688dde39125ba162281af3ea9ed8e11504f5ce9", + "translatedAt": "2026-08-30T14:56:03.017Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/invites/methods/list.md", "sourceSha256": "c630deb143b41df1fa95d4c17b252753d57bc5f567abf9bfc356e5d0a8ef7a30", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/invites/methods/list.md", - "targetSha256": "0a73d66b09e46459be2bed44cd5623299a166ebe7f9a8ff7a9ba76fae1064783", - "translatedAt": "2026-08-26T17:17:24.237Z" + "targetSha256": "9a30ca787b3259392200ba2ba9415d6f37fb8350a5245383e3b3a2400b77244e", + "translatedAt": "2026-08-30T14:56:08.771Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/invites/methods/retrieve.md", "sourceSha256": "24d1b3fe45898e392943bf5d63c0fe42a6c0b3d3d01e225edea12f32a155364d", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/invites/methods/retrieve.md", - "targetSha256": "cd95e4da5b5334b3a8b49dedede1e259b71296df0f7c19d21a3791e11e086a18", - "translatedAt": "2026-08-26T17:17:28.142Z" + "targetSha256": "997793ac20115850c8563e1a8654c1a9c24d744d6a8d46ca8117eb37c24af4e3", + "translatedAt": "2026-08-30T14:56:16.332Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects.md", "sourceSha256": "0a570c86a5061017edbcf175257c909b44b02c7877cf826257a003e02d3324c6", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects.md", - "targetSha256": "2cf090e61144bd06ef16ab4e1078fb68fe3c5b9850a6a1e620231bc2b0bcdd90", - "translatedAt": "2026-08-26T17:17:32.124Z" + "targetSha256": "c3ee958036befab023d79b2aed4ca52cc7b99e6793b83c66226368eda50eb5ad", + "translatedAt": "2026-08-30T14:56:29.248Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/methods/create.md", "sourceSha256": "5848dbee9cf389f0d080cb834afa099884d8df07b6d1e4bb4c706317c140097a", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/methods/create.md", - "targetSha256": "6f05ed6dd782667924b83397c3962d772c3a20d0482b47a259a15a47970540f1", - "translatedAt": "2026-08-26T17:17:36.208Z" + "targetSha256": "7a4c59c821b54b630ed5fceb79c438521eb261029416aa1f226c6710f4fe0ba4", + "translatedAt": "2026-08-30T14:56:35.446Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/methods/list.md", "sourceSha256": "616588deb39502553573a9c87e69dba8cd657fad34b77d06fd5445646d159865", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/methods/list.md", - "targetSha256": "269649721e5fbeb0f09531979cd1402064c7a93cceea7566b7b6387267e7c590", - "translatedAt": "2026-08-26T17:17:39.815Z" + "targetSha256": "2b28c111eb5fad21df47db17a275a87512a1fbfcef97c0b297edf1a8c30a324f", + "translatedAt": "2026-08-30T14:56:44.074Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/methods/retrieve.md", "sourceSha256": "1df3216102a7fee6b52db45d64e47bf8abab487fdde711a10586ce3f6e64922c", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/methods/retrieve.md", - "targetSha256": "9b5ecb30c16e6c6834c00f54b23dedd8e1d2836bfc541d8bc96495a306cce6da", - "translatedAt": "2026-08-26T17:17:43.696Z" + "targetSha256": "d3907fcebce3d836dadeb24b98124d32cfdfb2a509a1fa9ca921f346c7156165", + "translatedAt": "2026-08-30T14:56:53.015Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/methods/update.md", "sourceSha256": "2db540ee36f743773db6cd8f5445b374ce1fbb2be78d1ab8647937e1689eaf40", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/update.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/methods/update.md", - "targetSha256": "8a06398980051457e32c7d6d4c86da6d5ae2f5f9eabddf254c092a292b36f9d0", - "translatedAt": "2026-08-26T17:17:47.071Z" + "targetSha256": "347ee7505cbdfdb9c03af9e41af8b5fac5228a91a282f15566d07127f98e76d6", + "translatedAt": "2026-08-30T14:56:59.793Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/api_keys.md", "sourceSha256": "16c8f80123578742157550e72890d14689fe0e60b5c73c1eea05db58766fd00a", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys.md", - "targetSha256": "2edee6e5661ddc5b840ff73a64da9f3cb1c47a717eec10d02fbca863111193b3", - "translatedAt": "2026-08-26T17:17:50.864Z" + "targetSha256": "8862feca799f4b0f9c30d35540244b69c43cd6d44406f71933e2e24092c24096", + "translatedAt": "2026-08-30T14:57:05.825Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md", "sourceSha256": "cb2e5f2d768c0c82febdf7bb3a17ce142d9aff0cf33072c56743449be6d4b40f", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md", - "targetSha256": "a32fc5509fee31e1eca2446de48a6f3c701a1ac71da7ad50b69f50d6cf181f1c", - "translatedAt": "2026-08-26T17:17:54.549Z" + "targetSha256": "06a73da04a3a4d23e291ad2b8bd5f00274e85d8cc38b994e1c0c25693fe5a29b", + "translatedAt": "2026-08-30T14:57:12.116Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md", "sourceSha256": "54fbccaf618f0663eca7617c5bf3fbaa66cbd7a2b0d8c7fea4d58dd677eb0b81", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md", - "targetSha256": "4e3e0ada098fc40cee4409cd13e6d687f4c57e36b66a31f50ebaf84d9e42521d", - "translatedAt": "2026-08-26T17:17:58.128Z" + "targetSha256": "8d144ce180529b533cf5796f060bf6e4521002ba43c0b211c27c9e0a64d37af0", + "translatedAt": "2026-08-30T14:57:23.541Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md", "sourceSha256": "8c5098c1ed871c8fc3e9349a38545ce34e141c307d75c371356bd0a9e838d403", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md", - "targetSha256": "1857c458ebf48e3e34f99e4227ba7e85765a96a076f6ae72e7d2566da904b6e3", - "translatedAt": "2026-08-26T17:18:02.127Z" + "targetSha256": "87602f6060becfc608b6139429b241e6d9da5d8e6de12a0fbbcafef74df71e98", + "translatedAt": "2026-08-30T14:57:31.194Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/groups.md", "sourceSha256": "268238fcaaa1b72f486d2d81b6775dd79af16ded2e9b8500d4d2c6c61d0cd7a9", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups.md", - "targetSha256": "1acfee987859de2574c198180fc2e81a686ebb87c8c4416fb3d97fa00147ef66", - "translatedAt": "2026-08-26T17:18:05.608Z" + "targetSha256": "308ce4fb4d0faf44640b8e1c4e45c57d27013f45db6813c20b9b7c284b3062ed", + "translatedAt": "2026-08-30T14:57:37.240Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md", "sourceSha256": "0c5ff27be493a3e8563b4def31c854dbaf944bc1116c714e990496f8595a80d4", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md", - "targetSha256": "711e31823954cec1c5d056d36a482d65db5fd4c874fc5debf8692f5f70935d61", - "translatedAt": "2026-08-26T17:18:09.120Z" + "targetSha256": "a787c4cb384295cddcc67058b8da9f5f6cb09d08253f2d6f2fc3362283ab1513", + "translatedAt": "2026-08-30T14:57:43.120Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md", "sourceSha256": "d5681fb59c3f7aa9e9cfe08b42a9e41b08c22c6a0e1b3ff444d550bee0291290", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md", - "targetSha256": "46dfd4ff97255b04212e55e60e370636910371872af15b4ec346cbebe519559f", - "translatedAt": "2026-08-26T17:18:13.412Z" + "targetSha256": "b2f3eee86209aedbd28c45313c7394cbf35f15ab7f7a7beb0ac7f2548533f199", + "translatedAt": "2026-08-30T14:57:52.147Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md", "sourceSha256": "1dc05457eb7d8ae8e563e5a565706dbf7019c1aa90f4d97aa4b98407c53a60d9", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md", - "targetSha256": "9ab44ed485684d6c288fbfeaa5d77ca870e07ea01391598b8799f37e1fbbb5fc", - "translatedAt": "2026-08-26T17:18:16.883Z" + "targetSha256": "73a864eca9ec78355ce2bbba588bd3c9bdd1842be45bfa48ce10e9bc14cfa8be", + "translatedAt": "2026-08-30T14:57:58.185Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md", "sourceSha256": "a55667e1692d3b91c2f94e0b07212f7e75ea0e292649f91f6c28175f8ae8cf01", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md", - "targetSha256": "6c4a4ed30bd923c9bf316c8a05fadc12681c44601af0b94bd5a1a140b2bfa3d2", - "translatedAt": "2026-08-26T17:18:20.975Z" + "targetSha256": "1c3652eece684cb6e115e1a57ecde59a55a7527540b13edc96c6163880597aea", + "translatedAt": "2026-08-30T14:58:06.309Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md", "sourceSha256": "3bd3012989a97bbaee1f1783386052f1b997022f1c7bae7c6ba7463852a310a7", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md", - "targetSha256": "7eb1ad90db93c999d60d03d18f3360b4995ff30b7b480dc009ec5310ca781ab7", - "translatedAt": "2026-08-26T17:18:24.962Z" + "targetSha256": "a0ae4888ff311c70f10ca77056bd543bb69493bb063630dfad827f324e4706ea", + "translatedAt": "2026-08-30T14:58:17.534Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md", "sourceSha256": "3da517d5d7ef1a27f403495a91400f928d7b7aa5812c403c9ac87f90d68fed70", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md", - "targetSha256": "8e31ce2389db9bd984d9de9eeb49e5f3e4ccea621418a4026c530ee81563ec6d", - "translatedAt": "2026-08-26T17:18:28.323Z" + "targetSha256": "bdc89737a8d192c1e2318a20d7a3d3327574f186875c9bffcaf4c3929b337f32", + "translatedAt": "2026-08-30T14:58:23.564Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md", "sourceSha256": "b866d128e37e7d3a9152bf8a5d272c42e90ca75571ed90e00ccdb96fa668c400", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md", - "targetSha256": "c64c8593da809c1146385f1870be3ddd211d2f06092ce6d990278f6b14986b84", - "translatedAt": "2026-08-26T17:18:31.727Z" + "targetSha256": "82dd214740d70936d10f64045037eb689fee3a760fff2cd65d2cbf4c798d40ad", + "translatedAt": "2026-08-30T14:58:30.706Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md", "sourceSha256": "d82ee2780b4c416496c62c2987e129a3e3327f99f93290f2efbf556c0891380a", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md", - "targetSha256": "69468d73484311a1479b653c775b74199a990554c1ee36468655a7bbe0537c38", - "translatedAt": "2026-08-26T17:18:35.104Z" + "targetSha256": "5d66a86557d542ad1947159c5c016336cffebc64469bf90cfc0af4097e4257d2", + "translatedAt": "2026-08-30T14:58:39.213Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/users.md", "sourceSha256": "7f6488e0f01e88cc0548d081738b7926b46da08cc8368378a4fde7a65bfeea5c", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/users.md", - "targetSha256": "9b2869faa7fac1cb67f75cb6a89744f163a0b5bb6e59fa76e23d919399aa0611", - "translatedAt": "2026-08-26T17:18:38.991Z" + "targetSha256": "762e92a1dbc9b6af046a02dcbee595f165a7570c32be6aca62508dd468664226", + "translatedAt": "2026-08-30T14:58:45.684Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md", "sourceSha256": "40d4a5fa0dfb1e2f8192a00e067ba668917f77ad819465de7aa5e8b3d52a9d60", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md", - "targetSha256": "975f70afe3fa544f2b7a7c6a7bf771694e13c840c4a6011534e373e5b7905ee1", - "translatedAt": "2026-08-26T17:18:42.882Z" + "targetSha256": "d04200dbf7791e35cb28f94934d5057446500d60f3be9044a10c63eaf42a8f04", + "translatedAt": "2026-08-30T14:58:53.225Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md", "sourceSha256": "928c6e6ff8b6def425e2063b49e3c32da0c2bd9792d3590165e58fe172edc669", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md", - "targetSha256": "78c1e4c02b6fa106be37b466f5cd7cbebf093efba548567be337820d8433efd7", - "translatedAt": "2026-08-26T17:18:46.277Z" + "targetSha256": "0d52201d0b43be26c3871aebb20c3b861e5c049c33c4c3ef2128a7526ca40d81", + "translatedAt": "2026-08-30T14:58:59.176Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md", "sourceSha256": "af2448d951abb72720f8e936b910b5d0ccc6d3946d26a122f38f478eefe32737", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md", - "targetSha256": "01cf2b0454ba37c0dd576348631b39e26e9d30a46a7beaa895b9c5fe32476cad", - "translatedAt": "2026-08-26T17:18:50.602Z" + "targetSha256": "70f1553b328709792400933c3bfd57baf011051d78f73f9e313daf34c4ae8243", + "translatedAt": "2026-08-30T14:59:04.694Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md", "sourceSha256": "967613492832816068e9592cf91e79468bb5a5f1b8cb112b877e3670d2036bb9", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md", - "targetSha256": "3fc235890ad2ded0a6bafcf68836ccf5d7a2893a977fc1e5bf8ee3cec5718c2d", - "translatedAt": "2026-08-26T17:18:53.748Z" + "targetSha256": "2f4772a0f7fb74028e6e09aa6730dc4960004c8a17b79ea2d335af9eac3bc1f5", + "translatedAt": "2026-08-30T14:59:10.803Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md", "sourceSha256": "65b3fad04a09f023a1affa976bdc61dad18ccca9ae525c97df80fdc797a86a8b", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md", - "targetSha256": "a72565b8dda4f296a4b5e29e9aa8996954da981fe426b63491169f852128f01a", - "translatedAt": "2026-08-26T17:18:57.119Z" + "targetSha256": "bff1bb35b4c86b7caf2198c2c0c36827ba5e832e37bd17ba0ac7d1c992a50f11", + "translatedAt": "2026-08-30T14:59:16.689Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/roles.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/roles.md", "sourceSha256": "8d6b3973aab89c1b96be684a6dc5420e8fd6178998be2d5c3de16d83a3bfa66f", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/roles.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/roles.md", - "targetSha256": "4e275269270d928032ac74f1177010495d1bd1011ede93b74adf615aca08509a", - "translatedAt": "2026-08-26T17:19:01.112Z" + "targetSha256": "7b43920e83a77effec4d065bb9854b2ff54289c97dbdfb784f7dd40df3c968c7", + "translatedAt": "2026-08-30T14:59:23.411Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/roles/methods/create.md", "sourceSha256": "c3698a3b592445d52b9a20d9a719cfa2b9bb9478a56a619afe1be02973315039", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/roles/methods/create.md", - "targetSha256": "d137341e1d33d4cfbfc4377f01e88352108a65ef39d5734e4ae3baab65869d32", - "translatedAt": "2026-08-26T17:19:04.590Z" + "targetSha256": "56f14c8bdb11840d5dd35d0605906558c4e2dd1858b52be05a356920d6e4322e", + "translatedAt": "2026-08-30T14:59:30.014Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/roles/methods/delete.md", "sourceSha256": "3bc730613327c0d25961c70c9b06ba3decf1eeda052f394a14acc52f4b4f79cd", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/roles/methods/delete.md", - "targetSha256": "603ef0e54cf8cf4bdee46ae1ad5b6e2d78c61dc1138c861eb41c14f76f2d1e99", - "translatedAt": "2026-08-26T17:19:08.273Z" + "targetSha256": "7f112668edf21ba43d26a721f0059da293aaf9f8eed67bbcf1f26716e5ff759d", + "translatedAt": "2026-08-30T14:59:36.071Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/roles/methods/list.md", "sourceSha256": "98b796e7ba91b048bc4ed9ac2aefb33815c10ffb7b9bf95fd8444bcb50696d91", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/roles/methods/list.md", - "targetSha256": "362469e7d6d945086978ca3ef068a9c3c4167272356fa00764942657d7ea558e", - "translatedAt": "2026-08-26T17:19:11.655Z" + "targetSha256": "0f5c4b9b2d7067f59149fc8b980011e1dc2f538d739d1d76f5d9392142899788", + "translatedAt": "2026-08-30T14:59:41.446Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/roles/methods/update.md", "sourceSha256": "1345fbf78f9dbd0b7baee0155f886a67fbe71a12396cb675767f9fc2d5ff2f81", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/update.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/roles/methods/update.md", - "targetSha256": "bc9b02fb13a75e150018e27eb192c5d013d3abf50cb68974e6656659ec029e37", - "translatedAt": "2026-08-26T17:19:14.931Z" + "targetSha256": "ec80877e01884bb6e979b739013c9ec0e412416512e7fe46fe94ff5a2b55fe50", + "translatedAt": "2026-08-30T14:59:49.033Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/users.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/users.md", "sourceSha256": "cfab3d7971cf9d42313e58d71e320f6c19dc2a8a1a86fa9a7c498300c5d2c9bb", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/users.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/users.md", - "targetSha256": "0a593fbc4ca1dc562b253e6bccbb21b911f9d649fbb7bc3cb17cbc886bc94a36", - "translatedAt": "2026-08-26T17:19:18.383Z" + "targetSha256": "780b8a47e6c65855b4bff1b9ae02e8d5a50556649f8bc5d97b59e7f13789e7e4", + "translatedAt": "2026-08-30T14:59:56.725Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/delete.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/users/methods/delete.md", "sourceSha256": "2241f8a537013bfe56d7c61cb7c8b121b6110dd1864b0a1e7ac9c0ad7f5de933", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/delete.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/users/methods/delete.md", - "targetSha256": "1be3d2f97b0c46479eb8b91c8f18f868a601ce91f80c8fbb852918c170c45603", - "translatedAt": "2026-08-26T17:19:22.213Z" + "targetSha256": "c6a6a84ef49340553d4d2e33cd5c19ca3fbf5e4dcb4ec3e00bf993d891044d1c", + "translatedAt": "2026-08-30T15:00:02.913Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/list.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/users/methods/list.md", "sourceSha256": "8470fe21ea3926aced6ac3b68b4a8a429327d659383ce92c4c3a88c3fa2c23ab", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/list.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/users/methods/list.md", - "targetSha256": "233c4075c53f224ba0271f3c97912fec3e009f57b72719308d2f907b5f12f700", - "translatedAt": "2026-08-26T17:19:26.319Z" + "targetSha256": "d1bf8b6a92fd415a0d8c53325c532ebfc7c2217b41ef288a784d62bb8677952b", + "translatedAt": "2026-08-30T15:00:08.179Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/retrieve.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/users/methods/retrieve.md", "sourceSha256": "ce9724c5e89636a28181ae447317273c690e10c15618584c4df4647aa2c7c4b3", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/retrieve.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/users/methods/retrieve.md", - "targetSha256": "169bc7d7eeb7b5e6fbff987c3ca2702a8daef71019a0ae1831c41a1352408da0", - "translatedAt": "2026-08-26T17:19:29.877Z" + "targetSha256": "5102117baa26f6d4e29bea62a65db84f296b5b056b9c7719f7dc5c4d9fc809b6", + "translatedAt": "2026-08-30T15:00:13.816Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/update.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/users/methods/update.md", "sourceSha256": "3076f4ad84213a9558c25bfd09bef03e77ee9b2a4713305060bee483611e0055", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/update.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/users/methods/update.md", - "targetSha256": "290acb5a1d9a9f8fea8a662094212dd05d90adf9e23b93358eecf35095c569c3", - "translatedAt": "2026-08-26T17:19:33.567Z" + "targetSha256": "9f505117cca5a1a80c10094b9c7e7b3ebb33e1de0e11ca89f8e7f7447e427b89", + "translatedAt": "2026-08-30T15:00:20.725Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md": { - "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", + "policySha256": "5d41c8a7a73acf25529f1beffa364a03666ea413b7e792e6db794b8f801777b5", "reviewStatus": "machine", "sourcePath": "docs/en/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md", "sourceSha256": "544501e4c93f108fe3712fbfc1135f5f75700efd1f715894f5d3d728ef9d85a6", "sourceUrl": "https://developers.openai.com/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md", "targetPath": "docs/zh/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md", - "targetSha256": "fc6fd373dcd2813b91615d4166e2697797c1579c7044cc80ab6cd4aa81cc2536", - "translatedAt": "2026-08-26T17:19:37.057Z" + "targetSha256": "a807c0e20d24ded1e96acef67159a7ac1a595a2c301fd235b1444d9b2489058e", + "translatedAt": "2026-08-30T15:00:27.959Z" }, "https://developers.openai.com/api/reference/resources/organization/subresources/users/subresources/roles/methods/delete.md": { "policySha256": "6e9b1538f41ab5d3db960df19d735ece2c894fe9182904cf1d818170eaeeb7c2", diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md index 629f128..572a4ea 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve.md @@ -1,4 +1,4 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 ## 检索消息 @@ -16,7 +16,7 @@ - `Message object { id, assistant_id, attachments, 11 more }` - 表示一个消息,位于 [线程](/docs/api-reference/threads). + 表示一个中的消息 [thread](/docs/api-reference/threads). - `id: string` @@ -24,19 +24,19 @@ - `assistant_id: string or null` - 如适用,此消息的作者 [助手](/docs/api-reference/assistants) 的 ID。 + 如果适用,生成该消息的 [assistant](/docs/api-reference/assistants) 的 ID。 - `attachments: array of object { file_id, tools } or null` - 附加到消息的文件列表,以及它们被添加到的工具。 + 附加到该消息的文件列表,以及这些文件被添加到的工具。 - `file_id: optional string` - 要附加到消息的文件的 ID。 + 要附加到该消息的文件的 ID。 - `tools: optional array of CodeInterpreterTool or object { type }` - 要将此文件添加到的工具。 + 要添加该文件的工具。 - `CodeInterpreterTool object { type }` @@ -60,21 +60,21 @@ - `content: array of ImageFileContentBlock or ImageURLContentBlock or TextContentBlock or RefusalContentBlock` - 消息的内容,以文本和/或图像的数组形式呈现。 + 由文本和/或图像组成的消息内容数组。 - `ImageFileContentBlock object { image_file, type }` - 引用消息内容中的 [文件](/docs/api-reference/files) 中的图像。 + 引用消息内容中 [File](/docs/api-reference/files) 的图像。 - `image_file: ImageFile` - `file_id: string` - 消息内容中图像的 [文件](/docs/api-reference/files) ID。上传文件时设置 `purpose="vision"` ,以便之后需要显示文件内容时使用。 + 该 [File](/docs/api-reference/files) 消息内容中图像的 ID。如需稍后展示文件内容,请在上传 `purpose="vision"` 时设置该 ID。 - `detail: optional "auto" or "low" or "high"` - 如果由用户指定,则指定图像的细节级别。 `low` 使用的令牌较少,你可以选择使用高分辨率 `high`. + 如果由用户指定,则指定图像的细节等级。 `low` 使用的 token 较少,你可以通过以下方式选择高分辨率 `high`. - `"auto"` @@ -90,7 +90,7 @@ - `ImageURLContentBlock object { image_url, type }` - 在消息内容中引用图片 URL。 + 引用消息内容中的图片 URL。 - `image_url: ImageURL` @@ -100,7 +100,7 @@ - `detail: optional "auto" or "low" or "high"` - 指定图像的细节级别。 `low` 使用的令牌较少,你可以选择使用高分辨率 `high`。默认值为 `auto` + 指定图片的细节级别。 `low` 使用的 token 较少,你可以通过以下方式选择高分辨率 `high`。默认值为 `auto` - `"auto"` @@ -124,7 +124,7 @@ - `FileCitationAnnotation object { end_index, file_citation, start_index, 2 more }` - 消息中的引用,指向与助理或消息关联的特定文件中的特定引述。当助理使用“文件搜索”工具搜索文件时生成。 + 消息中的一条引用,指向来自与助手或该消息相关联的特定文件的特定引用片段。当助手使用 "file_search" 工具搜索文件时生成。 - `end_index: number` @@ -132,13 +132,13 @@ - `file_id: string` - 引用来源的特定文件的 ID。 + 该引用所属的特定文件的 ID。 - `start_index: number` - `text: string` - 消息内容中需要替换的文本。 + 消息内容中需要被替换的文本。 - `type: "file_citation"` @@ -148,7 +148,7 @@ - `FilePathAnnotation object { end_index, file_path, start_index, 2 more }` - 当助理使用 `code_interpreter` 工具生成文件时,所生成文件的 URL。 + 当助手使用 `code_interpreter` 工具生成文件时生成的该文件的 URL。 - `end_index: number` @@ -156,13 +156,13 @@ - `file_id: string` - 所生成文件的 ID。 + 已生成文件的 ID。 - `start_index: number` - `text: string` - 消息内容中需要替换的文本。 + 消息内容中需要被替换的文本。 - `type: "file_path"` @@ -194,19 +194,19 @@ - `created_at: number` - 消息创建时的 Unix 时间戳(秒)。 + 消息创建时的 Unix 时间戳(以秒为单位)。 - `incomplete_at: number or null` - 消息被标记为不完整时的 Unix 时间戳(秒)。 + 消息被标记为未完成时的 Unix 时间戳(以秒为单位)。 - `incomplete_details: object { reason } or null` - 对于不完整的消息,提供消息不完整原因的详细信息。 + 在未完成的消息上,关于消息未完成原因的详细信息。 - `reason: "content_filter" or "max_tokens" or "run_cancelled" or 2 more` - 消息不完整的原因。 + 消息未完成的原因。 - `"content_filter"` @@ -220,12 +220,12 @@ - `metadata: Metadata or null` - 可附加到对象上的 16 组键值对。这可以 - 用于以结构化格式存储关于该对象的额外信息, - 并通过 API 或仪表盘查询对象。 + 可附加到对象的 16 个键值对集合。可以 + 用于以结构化格式存储对象的附加信息 + ,并通过 API 或控制台查询对象。 - 键为长度上限 64 个字符的字符串。值为字符串, - 长度上限 512 个字符。 + 键是字符串,最大长度为 64 个字符。值是字符串 + ,最大长度为 512 个字符。 - `object: "thread.message"` @@ -235,7 +235,7 @@ - `role: "user" or "assistant"` - 生成消息的实体。可为 `user` 或 `assistant`. + 生成消息的实体。其值为 `user` 或 `assistant`. - `"user"` @@ -243,11 +243,11 @@ - `run_id: string or null` - 与该消息创建相关的 [run](/docs/api-reference/runs) 的 ID。值为 `null` 当通过创建消息或创建线程端点手动创建消息时。 + 该 [run](/docs/api-reference/runs) 的 ID,与创建此消息相关联。当通过手动调用 create message 或 create thread 端点创建消息时,该值为 `null` 。 - `status: "in_progress" or "incomplete" or "completed"` - 消息的状态,可为 `in_progress`, `incomplete`,或 `completed`. + 消息的状态,可以是 `in_progress`, `incomplete`,之一,或 `completed`. - `"in_progress"` @@ -257,7 +257,7 @@ - `thread_id: string` - 该 [线程](/docs/api-reference/threads) ID,即此消息所属的线程 ID。 + 该 [thread](/docs/api-reference/threads) 所属的 ID。 ### 示例 diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md index e5a28d2..6da3e66 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update.md @@ -1,4 +1,4 @@ -> 完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 完整文档索引请参见 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获得 Markdown 版本的文档页面。 ## 修改消息 @@ -16,34 +16,34 @@ - `metadata: optional Metadata or null` - 最多 16 个键值对,可附加到对象上。这可以 - 用于以结构化格式存储有关该对象的额外信息, - 并通过API或控制台查询对象。 + 可附加到对象的 16 组键值对。可用于 + 以结构化格式存储关于对象的附加信息,并通过 + API 或控制面板查询对象。 - 键为字符串,最大长度为 64 个字符。值为字符串 - ,最大长度为 512 个字符。 + 键是字符串,最大长度为 64 个字符。值是字符串, + 最大长度为 512 个字符。 -### 返回 +### Returns - `Message object { id, assistant_id, attachments, 11 more }` - 表示以下内容中的消息 [线程](/docs/api-reference/threads). + 表示 [thread](/docs/api-reference/threads). - `id: string` - 标识符,可在 API 端点中引用。 + 该标识符,可在 API 端点中引用。 - `assistant_id: string or null` - 如果适用,则为创建此消息的 [助手](/docs/api-reference/assistants) 的 ID。 + 如果适用,编写此消息的 [assistant](/docs/api-reference/assistants) 的 ID。 - `attachments: array of object { file_id, tools } or null` - 附加到消息的文件列表,以及它们被添加到的工具。 + 附加到该消息的文件列表,以及这些文件被添加到的工具。 - `file_id: optional string` - 要附加到消息的文件的 ID。 + 要附加到该消息的文件 ID。 - `tools: optional array of CodeInterpreterTool or object { type }` @@ -53,7 +53,7 @@ - `type: "code_interpreter"` - 正在定义的工�40具类型: `code_interpreter` + 正在定义的工具类型: `code_interpreter` - `"code_interpreter"` @@ -67,25 +67,25 @@ - `completed_at: number or null` - 消息完成时的 Unix 时间戳(秒)。 + 消息完成时的 Unix 时间戳(以秒为单位)。 - `content: array of ImageFileContentBlock or ImageURLContentBlock or TextContentBlock or RefusalContentBlock` - 消息内容,以文本和/或图像的数组形式表示。 + 消息的内容,为文本和/或图像的数组。 - `ImageFileContentBlock object { image_file, type }` - 引用消息内容中的 [文件](/docs/api-reference/files) 中的图像。 + 引用消息内容中的图像 [File](/docs/api-reference/files) 。 - `image_file: ImageFile` - `file_id: string` - 消息内容中图像的 [文件](/docs/api-reference/files) ID。如果在之后需要显示文件内容,请在 `purpose="vision"` 上传文件时设置。 + 该 [File](/docs/api-reference/files) 消息内容中图像的 ID。如果需要稍后显示文件内容,请在上传 `purpose="vision"` 时设置。 - `detail: optional "auto" or "low" or "high"` - 如果用户指定,则指定图像的细节级别。 `low` 使用更少的令牌,你可以选择使用高分辨率 `high`. + 如果由用户指定,则指定图像的细节等级。 `low` 使用的 token 较少,你可以通过以下方式选择使用高分辨率 `high`. - `"auto"` @@ -95,23 +95,23 @@ - `type: "image_file"` - 始终 `image_file`. + Always `image_file`. - `"image_file"` - `ImageURLContentBlock object { image_url, type }` - 在消息内容中引用图像 URL。 + 引用消息内容中的图片 URL。 - `image_url: ImageURL` - `url: string` - 图像的外部 URL,必须是支持的图像类型:jpeg、jpg、png、gif、webp。 + 图片的外部 URL,必须是支持的图片类型:jpeg、jpg、png、gif、webp。 - `detail: optional "auto" or "low" or "high"` - 指定图像的细节级别。 `low` 使用更少的令牌,你可以选择使用高分辨率 `high`。默认值为 `auto` + 指定图片的细节级别。 `low` 使用的 token 较少,你可以通过以下方式选择使用高分辨率 `high`. 默认值为 `auto` - `"auto"` @@ -135,7 +135,7 @@ - `FileCitationAnnotation object { end_index, file_citation, start_index, 2 more }` - 消息中的引用,指向与助手或消息关联的特定文件中的特定引文。当助手使用"file_search"工具搜索文件时生成。 + 消息中的一条引用,指向与该助手或消息关联的特定文件中的特定引用片段。当助手使用 “file_search” 工具搜索文件时生成。 - `end_index: number` @@ -143,23 +143,23 @@ - `file_id: string` - 引用来源的特定文件的 ID。 + 该引用所来自的特定文件的 ID。 - `start_index: number` - `text: string` - 消息内容中需要替换的文本。 + 消息内容中需要被替换的文本。 - `type: "file_citation"` - 始终 `file_citation`. + Always `file_citation`. - `"file_citation"` - `FilePathAnnotation object { end_index, file_path, start_index, 2 more }` - 当助手使用 `code_interpreter` 工具生成文件时生成的文件的 URL。 + 当助手使用 `code_interpreter` 工具生成文件时生成的该文件的 URL。 - `end_index: number` @@ -167,53 +167,53 @@ - `file_id: string` - 生成的文件的 ID。 + 已生成文件的 ID。 - `start_index: number` - `text: string` - 消息内容中需要替换的文本。 + 消息内容中需要被替换的文本。 - `type: "file_path"` - 始终 `file_path`. + Always `file_path`. - `"file_path"` - `value: string` - 构成文本的数据。 + 组成该文本的数据。 - `type: "text"` - 始终 `text`. + Always `text`. - `"text"` - `RefusalContentBlock object { refusal, type }` - 助手生成的拒绝内容。 + 由助手生成的拒绝内容。 - `refusal: string` - `type: "refusal"` - 始终 `refusal`. + Always `refusal`. - `"refusal"` - `created_at: number` - 消息创建时的 Unix 时间戳(秒)。 + 消息创建时的 Unix 时间戳(以秒为单位)。 - `incomplete_at: number or null` - 消息被标记为不完整时的 Unix 时间戳(秒)。 + 消息被标记为不完整时的 Unix 时间戳(以秒为单位)。 - `incomplete_details: object { reason } or null` - 对于不完整的消息,提供关于消息为何不完整的详细信息。 + 在不完整的消息上,关于该消息不完整原因的详细信息。 - `reason: "content_filter" or "max_tokens" or "run_cancelled" or 2 more` @@ -231,11 +231,11 @@ - `metadata: Metadata or null` - 可附加到对象上的 16 个键值对集合。这可以 - 用于以结构化格式存储有关对象的额外信息, - 并可通过 API 或仪表板查询对象。 + 可附加到对象的 16 组键值对。可用于 + 以结构化格式存储关于对象的附加信息,并通过 + API 或控制面板查询对象。 - 键为字符串,最大长度为 64 个字符。值为字符串, + 键是字符串,最大长度为 64 个字符。值是字符串, 最大长度为 512 个字符。 - `object: "thread.message"` @@ -246,7 +246,7 @@ - `role: "user" or "assistant"` - 产生消息的实体。可以是 `user` 或 `assistant`. + 生成该消息的实体。取值之一为 `user` 或 `assistant`. - `"user"` @@ -254,11 +254,11 @@ - `run_id: string or null` - 与之关联的 [运行](/docs/api-reference/runs) 的 ID,用于此消息的创建。当通过创建消息或创建线程端点手动创建消息时,值为 `null` 。 + 与此消息关联的 [运行](/docs/api-reference/runs) 的 ID。如果消息是通过 create message 或 create thread 端点手动创建的,则该值为 `null` 。 - `status: "in_progress" or "incomplete" or "completed"` - 消息状态,可以是 `in_progress`, `incomplete`,或 `completed`. + 消息的状态,可以是 `in_progress`, `incomplete`,或 `completed`. - `"in_progress"` @@ -268,7 +268,7 @@ - `thread_id: string` - 该消息所属的 [thread](/docs/api-reference/threads) ID。 + 该 [thread](/docs/api-reference/threads) 所属线程的 ID。 ### 示例 diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md index d819f83..f9567bb 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel.md @@ -1,10 +1,10 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取文档页面的 Markdown 版本。 ## 取消运行 **post** `/threads/{thread_id}/runs/{run_id}/cancel` -取消正在进行的运行 `in_progress`. +取消正在进行的 run `in_progress`. ### 路径参数 @@ -12,19 +12,19 @@ - `run_id: string` -### 返回 +### 返回值 - `Run object { id, assistant_id, cancelled_at, 24 more }` - 表示对一个 [thread](/docs/api-reference/threads). + 表示在线程上的执行运行 [thread](/docs/api-reference/threads). - `id: string` - 的执行运行。标识符,可在 API 端点中引用。 + 该标识符可以在 API 端点中引用。 - `assistant_id: string` - 用于执行此运行的 [assistant](/docs/api-reference/assistants) 的 ID。 + 用于执行本次运行的 [assistant](/docs/api-reference/assistants) 的 ID。 - `cancelled_at: number or null` @@ -40,7 +40,7 @@ - `expires_at: number or null` - 运行过期时的 Unix 时间戳(以秒为单位)。 + 运行将过期时的 Unix 时间戳(以秒为单位)。 - `failed_at: number or null` @@ -48,11 +48,11 @@ - `incomplete_details: object { reason } or null` - 运行不完整的原因详情。如果运行完整,则为 `null` 。 + 关于运行未完成的详细原因。如果运行未完成,将返回 `null` ;否则为 null。 - `reason: optional "max_completion_tokens" or "max_prompt_tokens"` - 运行不完整的原因。这会指出在运行过程中达到了哪个具体的令牌限制。 + 运行未完成的原因。这将指明在本次运行过程中达到了哪个具体的令牌上限。 - `"max_completion_tokens"` @@ -60,15 +60,15 @@ - `instructions: string` - 用于此运行的 [assistant](/docs/api-reference/assistants) 的指令。 + 本次运行所使用的 [assistant](/docs/api-reference/assistants) 的指令。 - `last_error: object { code, message } or null` - 与此运行关联的最后一个错误。如果没有错误,则为 `null` 。 + 与本次运行关联的最后一个错误。如果没有错误,将返回 `null` 。 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt"` - 以下之一: `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. + 以下之一 `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. - `"server_error"` @@ -78,28 +78,28 @@ - `message: string` - 错误的可读描述。 + 错误的人类可读描述。 - `max_completion_tokens: number or null` - 指定在运行过程中已使用的完成令牌的最大数量。 + 在本次运行过程中已使用的最大 completion token 数。 - `max_prompt_tokens: number or null` - 指定在运行过程中已使用的提示令牌的最大数量。 + 在本次运行过程中已使用的最大 prompt token 数。 - `metadata: Metadata or null` - 一组可附加到对象的 16 个键值对。这可以 - 用于以结构化格式存储有关对象的额外信息, - 并通过 API 或仪表板查询对象。 + 可以附加到对象的 16 组键值对。可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板 + 查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串 - ,最大长度为 512 个字符。 + 键为字符串,最大长度为 64 个字符;值为字符串, + 最大长度为 512 个字符。 - `model: string` - 用于 [助手](/docs/api-reference/assistants) 在此运行中使用的模型。 + 所使用的模型。 [assistant](/docs/api-reference/assistants) 的指令。 - `object: "thread.run"` @@ -109,15 +109,15 @@ - `parallel_tool_calls: boolean` - 是否启用 [并行函数调用](/docs/guides/function-calling#configuring-parallel-function-calling) 在工具使用期间。 + 是否启用 [并行函数调用](/docs/guides/function-calling#configuring-parallel-function-calling) 功能以在工具使用过程中生效。 - `required_action: object { submit_tool_outputs, type } or null` - 有关继续运行所需操作的详细信息。当无需操作时,将为 `null` 空。 + 继续本次运行所需执行操作的详细信息。如果无需操作,将为 `null` 空。 - `submit_tool_outputs: object { tool_calls }` - 有关此运行继续所需的工具输出的详细信息。 + 本次运行继续所需的工具输出详细信息。 - `tool_calls: array of RequiredActionFunctionToolCall` @@ -125,7 +125,7 @@ - `id: string` - 工具调用的 ID。使用 [提交工具输出以运行](/docs/api-reference/runs/submitToolOutputs) 端点时,必须引用此 ID。 + 工具调用的 ID。在使用 [提交工具输出以运行](/docs/api-reference/runs/submitToolOutputs) 端点提交工具输出时,必须引用此 ID。 - `function: object { arguments, name }` @@ -141,29 +141,29 @@ - `type: "function"` - 输出所需的工具调用类型。目前,这始终是 `function`. + 输出所必需的工具调用类型。目前,该值始终为 `function`. - `"function"` - `type: "submit_tool_outputs"` - 目前,这始终是 `submit_tool_outputs`. + 目前,该值始终为 `submit_tool_outputs`. - `"submit_tool_outputs"` - `response_format: AssistantResponseFormatOption or null` - 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及自 `gpt-3.5-turbo-1106`. + 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及自该日起的所有 GPT-3.5 Turbo 模型 `gpt-3.5-turbo-1106`. - 以来的所有 GPT-3.5 Turbo 模型。设置为 `{ "type": "json_schema", "json_schema": {...} }` 启用结构化输出,确保模型匹配你提供的 JSON 模式。了解更多,请参阅 [结构化输出指南](/docs/guides/structured-outputs). + 设置为 `{ "type": "json_schema", "json_schema": {...} }` 可启用结构化输出,确保模型与你提供的 JSON schema 匹配。了解更多,请参阅 [结构化输出指南](/docs/guides/structured-outputs). - 设置为 `{ "type": "json_object" }` 启用 JSON 模式,确保模型生成的消息是有效的 JSON。 + 设置为 `{ "type": "json_object" }` 可启用 JSON 模式,确保模型生成的消息是有效的 JSON。 - **重要:** 使用 JSON 模式时,你 **必须** 还要通过系统或用户消息指示模型自行生成 JSON。如果不这样做,模型可能会生成无休止的空白流,直到生成达到 token 限制,导致长时间运行且看似“卡住”的请求。另请注意,如果 `finish_reason="length"`,消息内容可能会被部分截断,这表示生成超过了 `max_tokens` 或对话超过了最大上下文长度。 + **重要提示:** 使用 JSON 模式时,你 **必须** 通过系统或用户消息自行指示模型生成 JSON。否则,模型可能持续生成空白字符直至达到 token 上限,导致请求长时间运行且看似“卡住”。另请注意,如果出现 `finish_reason="length"`,则表示生成已超出 `max_tokens` 或对话超出了最大上下文长度。 - `"auto"` - `auto` 是默认值 + `auto` 为默认值 - `"auto"` @@ -173,27 +173,27 @@ - `type: "text"` - 正在定义的响应格式的类型。始终为 `text`. + 所定义的响应格式的类型。始终为 `text`. - `"text"` - `ResponseFormatJSONObject object { type }` - JSON 对象响应格式。生成 JSON 响应的旧方法。 - 对于支持它的模型,建议使用 `json_schema` 。请注意, - 模型不会在没有系统或用户消息指示的情况下生成 JSON,该消息需要指示模型 - 这样做。 + JSON 对象响应格式。一种较旧的生成 JSON 响应的方法。 + 使用 `json_schema` 建议用于支持它的模型。请注意 + 模型在没有系统或用户消息指示的情况下不会生成 JSON + 来执行此操作。 - `type: "json_object"` - 正在定义的响应格式的类型。始终为 `json_object`. + 所定义的响应格式的类型。始终为 `json_object`. - `"json_object"` - `ResponseFormatJSONSchema object { json_schema, type }` JSON Schema 响应格式。用于生成结构化的 JSON 响应。 - 了解更多关于 [结构化输出](/docs/guides/structured-outputs). + 详细了解 [结构化输出](/docs/guides/structured-outputs). - `json_schema: object { name, description, schema, strict }` @@ -201,40 +201,40 @@ - `name: string` - 响应格式的名称。必须是 a-z、A-Z、0-9,或包含 - 下划线和连字符,最大长度为 64。 + 响应格式的名称。必须为 a-z、A-Z、0-9,或包含 + 下划线和短横线,最大长度为 64。 - `description: optional string` - 响应格式用途的描述,供模型用来 - 确定如何按该格式响应。 + 对响应格式用途的描述,由模型使用以 + 确定如何按该格式进行响应。 - `schema: optional map[unknown]` - 响应格式的架构,以 JSON Schema 对象形式描述。 - 了解如何构建 JSON 架构,请 [点击此处](https://json-schema.org/). + 响应格式的 schema,以 JSON Schema 对象描述。 + 了解如何构建 JSON schema [此处](https://json-schema.org/). - `strict: optional boolean or null` - 是否在生成输出时启用严格的架构遵从。 - 如果设置为 true,模型将始终遵循 - 字段中定义的 `schema` 确切架构。当 - `strict` 为 `true`。时,仅支持 JSON Schema 的子集。要了解更多信息,请阅读 [结构化输出 + 是否在生成输出时启用严格的 schema 遵循。 + 如果设置为 true,模型将始终遵循所定义的确切 schema + 在 `schema` 字段中。当使用 + `strict` 时 `true`。时,仅支持 JSON Schema 的一个子集。了解更多,请参阅 [结构化输出 指南](/docs/guides/structured-outputs). - `type: "json_schema"` - 正在定义的响应格式的类型。始终 `json_schema`. + 所定义的响应格式的类型。始终为 `json_schema`. - `"json_schema"` - `started_at: number or null` - 运行开始时的 Unix 时间戳(以秒为单位)。 + 运行启动时的 Unix 时间戳(以秒为单位)。 - `status: "queued" or "in_progress" or "requires_action" or 6 more` - 运行的状态,可以是 `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, `incomplete`,或 `expired`. + 运行的状态,可能为 `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, `incomplete`,或 `expired`. - `"queued"` @@ -256,19 +256,19 @@ - `thread_id: string` - 本次运行中作为一部分执行的 [线程](/docs/api-reference/threads) 的 ID。 + 用于执行本次运行的 [thread](/docs/api-reference/threads) 作为本次运行一部分所执行的。 - `tool_choice: AssistantToolChoiceOption or null` - 控制模型调用哪个(如果有)工具。 - `none` 意味着模型不会调用任何工具,而是生成一条消息。 - `auto` 为默认值,表示模型可以在生成消息或调用一个或多个工具之间自行选择。 - `required` 表示模型必须先调用一个或多个工具,然后才能响应用户。 - 指定特定工具,例如 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` ,会强制模型调用该工具。 + 控制模型调用哪些工具(若有)。 + `none` 表示模型不会调用任何工具,而是生成一条消息。 + `auto` 是默认值,表示模型可以在生成消息或调用一个或多个工具之间选择。 + `required` 表示模型在回复用户之前必须调用一个或多个工具。 + 指定某个特定工具,例如 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` 会强制模型调用该工具。 - `"none" or "auto" or "required"` - `none` 表示模型不会调用任何工具,而是生成一条消息。 `auto` 表示模型可以在生成消息或调用一个或多个工具之间自行选择。 `required` 表示模型必须先调用一个或多个工具,然后才能响应用户。 + `none` 表示模型不会调用任何工具,而是生成一条消息。 `auto` 表示模型可以在生成消息或调用一个或多个工具之间选择。 `required` 表示模型在回复用户之前必须调用一个或多个工具。 - `"none"` @@ -278,7 +278,7 @@ - `AssistantToolChoice object { type, function }` - 指定模型应使用的工具。使用此选项可强制模型调用特定工具。 + 指定模型应使用的工具。用于强制模型调用特定工具。 - `type: "function" or "code_interpreter" or "file_search"` @@ -294,17 +294,17 @@ - `name: string` - 要调用的函数的名称。 + 要调用的函数名称。 - `tools: array of CodeInterpreterTool or FileSearchTool or FunctionTool` - 此运行中 [助理](/docs/api-reference/assistants) 使用的工具列表。 + 工具的列表,这些工具是 [assistant](/docs/api-reference/assistants) 的指令。 - `CodeInterpreterTool object { type }` - `type: "code_interpreter"` - 所定义的工具类型: `code_interpreter` + 正在定义的工具的类型: `code_interpreter` - `"code_interpreter"` @@ -312,25 +312,25 @@ - `type: "file_search"` - 所定义的工具类型: `file_search` + 正在定义的工具的类型: `file_search` - `"file_search"` - `file_search: optional object { max_num_results, ranking_options }` - 文件搜索工具的覆盖设置。 + 文件搜索工具的覆盖项。 - `max_num_results: optional number` - 文件搜索工具应输出的最大结果数。对于 `gpt-4*` 模型,默认值为 20;对于 `gpt-3.5-turbo`. 此数字应在 1 到 50 之间(含两端)。 + 文件搜索工具应输出的最大结果数。对于 `gpt-4*` 模型默认为 20,对于 `gpt-3.5-turbo`。模型默认为 5。该数值应在 1 到 50 之间(含两端)。 - 请注意,文件搜索工具可能输出的结果少于 `max_num_results` 所列数量。详见 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 以了解更多信息。 + 请注意,文件搜索工具实际输出的结果数可能少于 `max_num_results` 指定的结果数。请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 以获取更多信息。 - `ranking_options: optional object { score_threshold, ranker }` - 文件搜索的排序选项。如果未指定,文件搜索工具将使用 `auto` 排序器,且 score_threshold 为 0。 + 文件搜索的排序选项。如果未指定,文件搜索工具将使用 `auto` 排序器,并将 score_threshold 设为 0。 - 详见 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 以了解更多信息。 + 请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 以获取更多信息。 - `score_threshold: number` @@ -338,7 +338,7 @@ - `ranker: optional "auto" or "default_2024_08_21"` - 用于文件搜索的排序器。如果未指定,将使用 `auto` 排序器。 + 文件搜索使用的排序器。如果未指定,将使用 `auto` 排序器。 - `"auto"` @@ -350,35 +350,35 @@ - `name: string` - 要调用的函数名称。必须为 a-z、A-Z、0-9 或包含下划线和短划线,最大长度为 64。 + 要调用的函数的名称。必须由 a-z、A-Z、0-9 组成,或包含下划线和短横线,最大长度为 64。 - `description: optional string` - 函数功能的描述,模型会根据此描述决定何时以及如何调用该函数。 + 对函数功能的描述,供模型用于选择何时以及如何调用该函数。 - `parameters: optional FunctionParameters` - 函数接受的参数,以 JSON Schema 对象形式描述。参见 [指南](/docs/guides/function-calling) 中的示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) 了解格式说明。 + 函数接受的参数,以 JSON Schema 对象形式描述。请参阅 [指南](/docs/guides/function-calling) 中的示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) ,可查阅该格式的文档。 - 省略 `parameters` 定义了一个具有空参数列表的函数。 + 省略 `parameters` 定义了一个空参数列表的函数。 - `strict: optional boolean or null` - 是否在生成函数调用时启用严格模式遵循模式。如果设置为 true,模型将遵循 `parameters` 字段中定义的确切模式。当 `strict` 为 `true`。时,仅支持 JSON Schema 的子集。了解更多关于结构化输出的信息,请参阅 [函数调用指南](/docs/guides/function-calling). + 是否在生成函数调用时启用严格的模式遵循。如果设置为 true,模型将严格按照 `parameters` 字段中。当使用 `strict` 时 `true`。中定义的模式执行。详细了解结构化输出,请参阅 [函数调用指南](/docs/guides/function-calling). - `type: "function"` - 要定义的工具有效类型: `function` + 正在定义的工具的类型: `function` - `"function"` - `truncation_strategy: object { type, last_messages } or null` - 控制运行前线程将被截断的方式。使用此选项可控制运行的初始上下文窗口。 + 控制在运行开始前如何截断线程。使用此参数可控制运行的初始上下文窗口。 - `type: "auto" or "last_messages"` - 用于线程的截断策略。默认值为 `auto`。如果设置为 `last_messages`,线程将被截断为线程中最近的 n 条消息。当设置为 `auto`,时,将删除线程中间的消息以适配模型的上下文长度, `max_prompt_tokens`. + 用于该线程的截断策略。默认值为 `auto`。如果设置为 `last_messages`,线程将被截断为该线程中最近的 n 条消息。当设置为 `auto`,时,线程中间的消息将被丢弃以适应模型的上下文长度, `max_prompt_tokens`. - `"auto"` @@ -386,31 +386,31 @@ - `last_messages: optional number or null` - 为运行构建上下文时,从线程中使用的最近消息数量。 + 在为运行构建上下文时,使用的线程中最近的消息数量。 - `usage: object { completion_tokens, prompt_tokens, total_tokens } or null` - 与运行相关的使用统计信息。如果运行未处于最终状态,此值将为 `null` (即。 `in_progress`, `queued`,等)。 + 与本次运行相关的使用统计信息。如果运行未处于终止状态(即 `null` ),该值将为。 `in_progress`, `queued`,等。 - `completion_tokens: number` - 运行过程中使用的完成令牌数。 + 本次运行过程中使用的补全 token 数量。 - `prompt_tokens: number` - 运行过程中使用的提示令牌数。 + 本次运行过程中使用的提示 token 数量。 - `total_tokens: number` - 使用的令牌总数(提示 + 完成)。 + 使用的 token 总数(提示 + 补全)。 - `temperature: optional number or null` - 本次运行使用的采样温度。若未设置,默认为 1。 + 本次运行使用的采样温度。如果未设置,则默认为 1。 - `top_p: optional number or null` - 本次运行使用的核采样值。若未设置,默认为 1。 + 本次运行所使用的 nucleus 采样值。如果未设置,则默认为 1。 ### 示例 diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md index 47cf764..8b8b42f 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list.md @@ -1,10 +1,10 @@ -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 获取文档页面的 Markdown 版本。 ## 列出运行 **get** `/threads/{thread_id}/runs` -返回属于某个线程的运行列表。 +返回属于该线程的运行列表。 ### 路径参数 @@ -14,15 +14,15 @@ - `after: optional string` - 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发起一个列表请求并收到 100 个对象,以 obj_foo 结尾,则你后续的调用可以包含 after=obj_foo 以获取列表的下一页。 + 用于分页游标。 `after` 是一个对象 ID,用于标识你在列表中所处的位置。例如,如果你发起一次列表请求并收到 100 个对象,最后一个对象为 obj_foo,那么下一次调用可以传入 after=obj_foo 以获取列表的下一页。 - `before: optional string` - 用于分页的游标。 `before` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发起一个列表请求并收到 100 个对象,以 obj_foo 开头,则你后续的调用可以包含 before=obj_foo 以获取列表的上一页。 + 用于分页游标。 `before` 是一个对象 ID,用于标识你在列表中所处的位置。例如,如果你发起一次列表请求并收到 100 个对象,开头的对象为 obj_foo,那么下一次调用可以传入 before=obj_foo 以获取列表的上一页。 - `limit: optional number` - 要返回的对象数量限制。限制范围可在 1 到 100 之间,默认值为 20。 + 返回对象的数量上限。Limit 范围为 1 到 100,默认为 20。 - `order: optional "asc" or "desc"` @@ -38,11 +38,11 @@ - `id: string` - 该标识符,可在 API 端点中引用。 + 该标识符,可在API端点中引用。 - `assistant_id: string` - 用于执行此运行的 [assistant](/docs/api-reference/assistants) 的 ID。 + 用于执行本次运行的 [助手](/docs/api-reference/assistants) 的 ID。 - `cancelled_at: number or null` @@ -58,7 +58,7 @@ - `expires_at: number or null` - 运行过期时的 Unix 时间戳(以秒为单位)。 + 运行将过期时的 Unix 时间戳(以秒为单位)。 - `failed_at: number or null` @@ -66,11 +66,11 @@ - `incomplete_details: object { reason } or null` - 关于运行不完整原因的详细信息。如果 `null` 运行并非不完整,则为。 + 运行未完成的原因的详细信息。如果运行未处于未完成状态,则为 `null` 。 - `reason: optional "max_completion_tokens" or "max_prompt_tokens"` - 运行不完整的原因。这指出了在运行过程中达到了哪个具体的令牌限制。 + 运行未完成的原因。这将指明在运行过程中达到了哪个特定的 token 限制。 - `"max_completion_tokens"` @@ -78,15 +78,15 @@ - `instructions: string` - 该 [assistant](/docs/api-reference/assistants) 用于此运行的指令。 + 用于本次运行的 [助手](/docs/api-reference/assistants) 的指令。 - `last_error: object { code, message } or null` - 与此运行关联的最后错误。如果没有错误,则为 `null` 。 + 与本次运行关联的最后一个错误。如果没有错误,则为 `null` 。 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt"` - 以下之一: `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. + 以下值之一: `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. - `"server_error"` @@ -96,28 +96,28 @@ - `message: string` - 错误的可读描述。 + 易于理解的错误描述。 - `max_completion_tokens: number or null` - 在整个运行过程中指定使用的最大完成令牌数。 + 在本次运行过程中已使用的最大完成 token 数。 - `max_prompt_tokens: number or null` - 在整个运行过程中指定使用的最大提示令牌数。 + 在运行过程中指定已使用的提示词 token 的最大数量。 - `metadata: Metadata or null` - 一组16个键值对,可附加到对象上。这可以 - 用于以结构化格式存储关于对象的附加信息, - 并通过API或仪表板查询对象。 + 可附加到对象的 16 个键值对。可用于 + 以结构化格式存储有关对象的附加信息, + 并通过 API 或控制面板查询对象。 - 键是字符串,最大长度为64个字符。值是字符串 - ,最大长度为512个字符。 + 键为字符串,最长 64 个字符。值为字符串, + 最长 512 个字符。 - `model: string` - 用于此运行的 [助手](/docs/api-reference/assistants) 模型。 + 所使用的模型 [助手](/docs/api-reference/assistants) 的指令。 - `object: "thread.run"` @@ -131,11 +131,11 @@ - `required_action: object { submit_tool_outputs, type } or null` - 继续运行所需操作的详细信息。将 `null` 如果无需操作,则为空。 + 继续运行所需执行操作的详细信息。如果无需 `null` 任何操作,则为 null。 - `submit_tool_outputs: object { tool_calls }` - 此运行继续所需的工具输出详情。 + 继续此运行所需的工具输出详细信息。 - `tool_calls: array of RequiredActionFunctionToolCall` @@ -143,7 +143,7 @@ - `id: string` - 工具调用的ID。使用 [提交工具输出以运行](/docs/api-reference/runs/submitToolOutputs) 端点。 + 工具调用的 ID。在使用 [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) 端点提交工具输出时,必须引用此 ID。 - `function: object { arguments, name }` @@ -151,7 +151,7 @@ - `arguments: string` - 模型期望你传递给函数的参数。 + 模型希望你传递给函数的参数。 - `name: string` @@ -159,29 +159,29 @@ - `type: "function"` - 输出所需的工具调用类型。目前,这始终是 `function`. + 输出所必需的工具调用类型。目前该值始终为 `function`. - `"function"` - `type: "submit_tool_outputs"` - 目前,这始终是 `submit_tool_outputs`. + 目前该值始终为 `submit_tool_outputs`. - `"submit_tool_outputs"` - `response_format: AssistantResponseFormatOption or null` - 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及自 `gpt-3.5-turbo-1106`. + 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及自以下时间起的所有 GPT-3.5 Turbo 模型: `gpt-3.5-turbo-1106`. - 设置为 `{ "type": "json_schema", "json_schema": {...} }` 启用了结构化输出,确保模型将匹配你提供的 JSON schema。更多信息请参阅 [结构化输出指南](/docs/guides/structured-outputs). + 设置为 `{ "type": "json_schema", "json_schema": {...} }` 可启用 Structured Outputs(结构化输出),确保模型与你提供的 JSON schema 一致。更多信息请参阅 [Structured Outputs 指南](/docs/guides/structured-outputs). 设置为 `{ "type": "json_object" }` 启用 JSON 模式,确保模型生成的消息是有效的 JSON。 - **重要:** 使用 JSON 模式时,你 **必须** 还要通过系统或用户消息自行指示模型生成 JSON。否则,模型可能会生成无尽的空白字符,直到生成达到 token 限制,导致长时间运行且看似“卡住”的请求。另外请注意,如果 `finish_reason="length"`,则表示生成超过了 `max_tokens` 或对话超出了最大上下文长度。 + **重要提示:** 使用 JSON 模式时,你 **必须** 还应通过系统或用户消息自行指示模型生成 JSON。否则,模型可能会持续生成空白字符,直到生成达到 token 上限,导致请求长时间看似“卡住”。还需注意,如果出现 `finish_reason="length"`,则表示生成超出了 `max_tokens` ,或对话超出了最大上下文长度。 - `"auto"` - `auto` 是默认值 + `auto` 为默认值。 - `"auto"` @@ -191,64 +191,64 @@ - `type: "text"` - 所定义的响应格式的类型。始终 `text`. + 正在定义的响应格式类型。始终为 `text`. - `"text"` - `ResponseFormatJSONObject object { type }` JSON 对象响应格式。一种较旧的生成 JSON 响应的方法。 - 对于支持 `json_schema` 的模型,建议使用。请注意, - 模型在没有系统或用户消息指示时不会生成 JSON, - 也不会这样做。 + 使用 `json_schema` 推荐用于支持它的模型。请注意, + 模型在没有系统或用户消息指示的情况下不会生成 JSON + 来生成 JSON。 - `type: "json_object"` - 所定义的响应格式的类型。始终 `json_object`. + 正在定义的响应格式类型。始终为 `json_object`. - `"json_object"` - `ResponseFormatJSONSchema object { json_schema, type }` - JSON Schema 响应格式。用于生成结构化 JSON 响应。 - 了解更多关于 [Structured Outputs](/docs/guides/structured-outputs). + JSON Schema 响应格式。用于生成结构化的 JSON 响应。 + 了解更多关于 [结构化输出](/docs/guides/structured-outputs). - `json_schema: object { name, description, schema, strict }` - Structured Outputs 配置选项,包括 JSON Schema。 + 结构化输出配置选项,包括 JSON Schema。 - `name: string` 响应格式的名称。必须为 a-z、A-Z、0-9,或包含 - 下划线和短划线,最大长度为 64。 + 下划线和连字符,最大长度为 64。 - `description: optional string` - 响应格式用途的描述,模型用它来 + 响应格式用途的描述,模型使用它来 确定如何以该格式进行响应。 - `schema: optional map[unknown]` - 响应格式的 schema,以 JSON Schema 对象描述。 - 了解如何构建 JSON schemas [此处](https://json-schema.org/). + 响应格式的架构,以 JSON Schema 对象描述。 + 了解如何构建 JSON 架构 [此处](https://json-schema.org/). - `strict: optional boolean or null` - 是否在生成输出时启用严格的模式遵循。 - 如果设为 true,模型将始终遵循 - 字段中 `schema` 定义的精确模式。当 - `strict` 为 `true`。时,仅支持 JSON Schema 的一个子集。要了解更多,请阅读 [Structured Outputs + 是否在生成输出时启用严格的架构遵循。 + 如果设置为 true,模型将始终遵循中定义的 + 确切架构。 `schema` 字段。仅支持 JSON Schema 的一个子集,当 + `strict` 是 `true`。如需了解更多信息,请阅读 [结构化输出 指南](/docs/guides/structured-outputs). - `type: "json_schema"` - 正在定义的响应格式的类型。始终 `json_schema`. + 正在定义的响应格式类型。始终为 `json_schema`. - `"json_schema"` - `started_at: number or null` - 运行开始时的 Unix 时间戳(以秒为单位)。 + 运行启动时的 Unix 时间戳(以秒为单位)。 - `status: "queued" or "in_progress" or "requires_action" or 6 more` @@ -274,19 +274,19 @@ - `thread_id: string` - 作为本次运行的一部分执行的 [thread](/docs/api-reference/threads) 的 ID。 + 用于执行本次运行的 [thread](/docs/api-reference/threads) 作为本次运行的一部分所执行的。 - `tool_choice: AssistantToolChoiceOption or null` - 控制模型是否调用(以及调用哪些)工具。 - `none` 表示模型不会调用任何工具,而是生成一条消息。 - `auto` 是默认值,表示模型可以选择生成消息或调用一个或多个工具。 + 控制模型调用哪个工具(如果有的话)。 + `none` 表示模型将不调用任何工具,而是直接生成消息。 + `auto` 是默认值,表示模型可以在生成消息和调用一个或多个工具之间进行选择。 `required` 表示模型在响应用户之前必须调用一个或多个工具。 - 指定像 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` 这样的特定工具会强制模型调用该工具。 + 指定一个特定的工具,例如 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` 会强制模型调用该工具。 - `"none" or "auto" or "required"` - `none` 意味着模型不会调用任何工具,而是生成一条消息。 `auto` 意味着模型可以选择生成消息或调用一个或多个工具。 `required` 意味着模型必须在响应用户之前调用一个或多个工具。 + `none` 表示模型将不调用任何工具,而是直接生成消息。 `auto` 表示模型可以在生成消息和调用一个或多个工具之间进行选择。 `required` 表示模型在响应用户之前必须调用一个或多个工具。 - `"none"` @@ -300,7 +300,7 @@ - `type: "function" or "code_interpreter" or "file_search"` - 工具的类型。如果类型是 `function`,则必须设置函数名称 + 工具的类型。如果 type 是 `function`,则必须设置 function name - `"function"` @@ -316,7 +316,7 @@ - `tools: array of CodeInterpreterTool or FileSearchTool or FunctionTool` - 用于此运行的 [assistant](/docs/api-reference/assistants) 所用的工具列表。 + 由 [助手](/docs/api-reference/assistants) 的指令。 - `CodeInterpreterTool object { type }` @@ -336,27 +336,27 @@ - `file_search: optional object { max_num_results, ranking_options }` - 覆盖文件搜索工具的设置。 + 文件搜索工具的覆盖参数。 - `max_num_results: optional number` - 文件搜索工具应输出的最大结果数。对于 `gpt-4*` 模型默认值为 20,对于 `gpt-3.5-turbo`。模型默认值为 5。此数字应在 1 到 50 之间(含 1 和 50)。 + 文件搜索工具应输出的最大结果数。对于模型,默认值为 20, `gpt-4*` 为 5。 `gpt-3.5-turbo`。该数值应介于 1 到 50 之间(含两端)。 - 请注意,文件搜索工具可能输出的结果少于 `max_num_results` results. 请参阅 [文件搜索 tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) 以获取更多信息。 + 请注意,文件搜索工具可能输出的结果少于 `max_num_results` 个结果。请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 - `ranking_options: optional object { score_threshold, ranker }` - 文件搜索 的排序选项。如果未指定,文件搜索 工具将使用 `auto` 排序器,并且 score_threshold 为 0。 + 文件搜索的排序选项。如果未指定,文件搜索工具将使用 `auto` 排序器和 score_threshold 为 0。 - 请参阅 [文件搜索 tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) 以获取更多信息。 + 请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 - `score_threshold: number` - 文件搜索 的分数阈值。所有值必须是介于 0 和 1 之间的浮点数。 + 文件搜索的分数阈值。所有值必须是介于 0 到 1 之间的浮点数。 - `ranker: optional "auto" or "default_2024_08_21"` - 用于文件搜索的排序器。如果未指定,将使用 `auto` 排序器。 + 文件搜索要使用的排序器。如果未指定,将使用 `auto` 排序器。 - `"auto"` @@ -368,21 +368,21 @@ - `name: string` - 要调用的函数名称。必须是 a-z、A-Z、0-9 或包含下划线和短划线,最大长度为 64。 + 要调用的函数名称。必须为 a-z、A-Z、0-9,或包含下划线和短横线,最大长度为 64。 - `description: optional string` - 函数功能的描述,模型使用它来选择何时以及如何调用该函数。 + 函数功能的描述,供模型用于选择何时以及如何调用该函数。 - `parameters: optional FunctionParameters` - 函数接受的参数,描述为 JSON Schema 对象。请参阅 [指南](/docs/guides/function-calling) 获取示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) 获取有关格式的文档。 + 函数接受的参数,使用 JSON Schema 对象描述。请参阅 [指南](/docs/guides/function-calling) 中的示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) 文档格式说明。 - 省略 `parameters` 定义了一个具有空参数列表的函数。 + 省略 `parameters` 定义一个空参数列表的函数。 - `strict: optional boolean or null` - 是否在生成函数调用时启用严格 schema 遵守。如果设为 true,模型将遵循中定义的精确 schema `parameters` 字段。当 `strict` 为 `true`。时,仅支持 JSON Schema 的子集。在 [函数调用指南](/docs/guides/function-calling). + 是否在生成函数调用时启用严格的模式遵循。如果设置为 true,模型将遵循 `parameters` 字段。仅支持 JSON Schema 的一个子集,当 `strict` 是 `true`。中定义的精确模式。详细了解结构化输出,请参阅 [函数调用指南](/docs/guides/function-calling). - `type: "function"` @@ -392,11 +392,11 @@ - `truncation_strategy: object { type, last_messages } or null` - 控制在线程运行前如何截断线程。使用此选项来控制运行的初始上下文窗口。 + 控制在运行开始之前对线程进行截断的方式。可用它来控制运行的初始上下文窗口。 - `type: "auto" or "last_messages"` - 用于线程的截断策略。默认为 `auto`。如果设为 `last_messages`,线程将被截断为线程中最近的 n 条消息。当设为 `auto`,时,线程中间的消息将被丢弃以适应该模型的上下文长度, `max_prompt_tokens`. + 线程所使用的截断策略。默认为 `auto`。如果设置为 `last_messages`,,线程将被截断为线程中最近的 n 条消息。当设置为 `auto`, 时,位于线程中间的消息将被丢弃,以适应模型的上下文长度, `max_prompt_tokens`. - `"auto"` @@ -404,31 +404,31 @@ - `last_messages: optional number or null` - 构建运行上下文时,线程中最近消息的数量。 + 在为运行构建上下文时,来自线程的最新消息数量。 - `usage: object { completion_tokens, prompt_tokens, total_tokens } or null` - 与运行相关的使用统计信息。如果运行未处于终止状态(即 `null` 此值将为。 `in_progress`, `queued`,等)。 + 与该运行相关的使用统计信息。如果运行未处于终止状态(例如 `null` ),则此值为。 `in_progress`, `queued`,等。 - `completion_tokens: number` - 运行过程中使用的完成 token 数量。 + 运行过程中已使用的输出 token 数量。 - `prompt_tokens: number` - 运行过程中使用的提示 token 数量。 + 运行过程中已使用的输入 token 数量。 - `total_tokens: number` - 使用的 token 总数(提示 + 完成)。 + 已使用的 token 总数(输入 + 输出)。 - `temperature: optional number or null` - 此运行使用的采样温度。如果未设置,默认为 1。 + 本次运行所使用的采样温度。如果未设置,默认为 1。 - `top_p: optional number or null` - 此运行使用的核采样值。如果未设置,默认为 1。 + 本次运行所使用的核采样值。如果未设置,默认为 1。 - `first_id: string` diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md index efd98ef..a5d5519 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve.md @@ -1,6 +1,6 @@ -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过附加 `.md` 到页面 URL 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 -## 检索运行 +## Retrieve run **get** `/threads/{thread_id}/runs/{run_id}` @@ -16,43 +16,43 @@ - `Run object { id, assistant_id, cancelled_at, 24 more }` - 表示在某个 [线程](/docs/api-reference/threads). + 表示在线程上的执行运行 [thread](/docs/api-reference/threads). - `id: string` - 上的执行运行。API端点中可引用的标识符。 + 该标识符可在 API 端点中引用。 - `assistant_id: string` - 用于执行此运行的 [助手](/docs/api-reference/assistants) 的 ID。 + 用于执行此运行的 [assistant](/docs/api-reference/assistants) 的 ID。 - `cancelled_at: number or null` - 运行被取消时的 Unix 时间戳(秒)。 + 运行被取消时的 Unix 时间戳(以秒为单位)。 - `completed_at: number or null` - 运行完成时的 Unix 时间戳(秒)。 + 运行完成时的 Unix 时间戳(以秒为单位)。 - `created_at: number` - 运行创建时的 Unix 时间戳(秒)。 + 运行创建时的 Unix 时间戳(以秒为单位)。 - `expires_at: number or null` - 运行过期时的 Unix 时间戳(秒)。 + 运行将过期时的 Unix 时间戳(以秒为单位)。 - `failed_at: number or null` - 运行失败时的 Unix 时间戳(秒)。 + 运行失败时的 Unix 时间戳(以秒为单位)。 - `incomplete_details: object { reason } or null` - 运行不完整的原因详情。若运行并非不完整,则为 `null` 。 + 有关运行未完成的详细原因。如果运行已完成,则为 `null` null。 - `reason: optional "max_completion_tokens" or "max_prompt_tokens"` - 运行不完整的原因。这将指明在运行过程中达到了哪个具体的令牌限制。 + 运行未完成的原因。该值将指明在运行过程中达到了哪一项特定的 token 上限。 - `"max_completion_tokens"` @@ -60,15 +60,15 @@ - `instructions: string` - 用于此运行的 [助手](/docs/api-reference/assistants) 的指令。 + 用于本次运行的 [assistant](/docs/api-reference/assistants) 的指令。 - `last_error: object { code, message } or null` - 与此运行关联的最后错误。若无错误,则为 `null` 。 + 与此次运行相关的最后一个错误。如果没有错误,则为 `null` null。 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt"` - 之一 `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. + 以下之一: `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. - `"server_error"` @@ -78,28 +78,28 @@ - `message: string` - 错误的人类可读描述。 + 错误的可读描述。 - `max_completion_tokens: number or null` - 指定在运行过程中已使用的最大完成令牌数。 + 运行过程中已使用的最大完成 token 数。 - `max_prompt_tokens: number or null` - 指定在运行过程中已使用的最大提示令牌数。 + 运行过程中已使用的最大提示 token 数。 - `metadata: Metadata or null` - 一组16个可附加到对象的键值对。这可以 - 用于以结构化格式存储有关对象的附加信息, - 并通过API或仪表板查询对象。 + 可附加到对象的 16 个键值对。这可以 + 用于以结构化形式存储对象的附加信息,并通过 + API 或控制台查询对象。 - 键是最大长度为64个字符的字符串。值是 - 最大长度为512个字符的字符串。 + 键为字符串,最大长度为 64 个字符。值为字符串, + 最大长度为 512 个字符。 - `model: string` - 用于本次运行的 [助手](/docs/api-reference/assistants) 模型。 + 所使用的模型 [assistant](/docs/api-reference/assistants) 的指令。 - `object: "thread.run"` @@ -113,11 +113,11 @@ - `required_action: object { submit_tool_outputs, type } or null` - 继续运行所需操作的详细信息。如果无需操作,将为 `null` 。 + 继续本次运行所需执行操作的详细信息。如果无需操作,将为 `null` 。 - `submit_tool_outputs: object { tool_calls }` - 继续此运行所需的工具输出详细信息。 + 本次运行继续所需工具输出的详细信息。 - `tool_calls: array of RequiredActionFunctionToolCall` @@ -125,7 +125,7 @@ - `id: string` - 工具调用的 ID。在通过以下方式提交工具输出时,必须引用此 ID [提交工具输出以运行](/docs/api-reference/runs/submitToolOutputs) 端点。 + 工具调用的 ID。使用 [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) 端点提交工具输出时,必须引用此 ID。 - `function: object { arguments, name }` @@ -141,29 +141,29 @@ - `type: "function"` - 输出所需的工具调用类型。目前,这始终是 `function`. + 输出所对应的工具调用类型。目前,该值始终为 `function`. - `"function"` - `type: "submit_tool_outputs"` - 目前,这始终是 `submit_tool_outputs`. + 目前,该值始终为 `submit_tool_outputs`. - `"submit_tool_outputs"` - `response_format: AssistantResponseFormatOption or null` - 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及所有 GPT-3.5 Turbo 模型,自 `gpt-3.5-turbo-1106`. + 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及自以来的所有 GPT-3.5 Turbo 模型 `gpt-3.5-turbo-1106`. - 设置为 `{ "type": "json_schema", "json_schema": {...} }` 可启用结构化输出,确保模型匹配你提供的 JSON 模式。更多信息请参见 [结构化输出指南](/docs/guides/structured-outputs). + 设置为 `{ "type": "json_schema", "json_schema": {...} }` 可启用 Structured Outputs,确保模型输出与你提供的 JSON schema 完全匹配。详见 [Structured Outputs 指南](/docs/guides/structured-outputs). - 设置为 `{ "type": "json_object" }` 可启用 JSON 模式,确保模型生成的消息是有效的 JSON。 + 设置为 `{ "type": "json_object" }` 启用 JSON 模式,确保模型生成的消息是合法 JSON。 - **重要提示:** 使用 JSON 模式时,你 **必须** 还应通过系统或用户消息自行指示模型生成 JSON。否则,模型可能会生成无休止的空白字符,直到生成达到令牌限制,导致长时间运行且看似“卡住”的请求。另请注意,消息内容可能会被部分截断,如果 `finish_reason="length"`,这表示生成超过了 `max_tokens` 或对话超过了最大上下文长度。 + **重要提示:** 使用 JSON 模式时,你 **必须** 通过系统或用户消息自行指示模型输出 JSON。否则模型可能持续生成空白字符,直到达到 token 上限,导致请求长时间看似“卡住”。还需注意,当出现 `finish_reason="length"`,时,表示本次生成超出 `max_tokens` ,或对话超出最大上下文长度,此时消息内容可能被截断。 - `"auto"` - `auto` 是默认值 + `auto` 为默认值 - `"auto"` @@ -173,64 +173,64 @@ - `type: "text"` - 正在定义的响应格式类型。始终为 `text`. + 正在定义的响应格式的类型。始终为 `text`. - `"text"` - `ResponseFormatJSONObject object { type }` JSON 对象响应格式。一种较旧的生成 JSON 响应的方法。 - 对于支持它的模型,建议使用 `json_schema` 。请注意, - 模型在没有系统或用户消息指示时不生成 JSON - 。 + 使用 `json_schema` 推荐用于支持它的模型。请注意,模型 + 在没有系统或用户消息指示的情况下不会生成 JSON + 如此操作。 - `type: "json_object"` - 正在定义的响应格式类型。始终为 `json_object`. + 正在定义的响应格式的类型。始终为 `json_object`. - `"json_object"` - `ResponseFormatJSONSchema object { json_schema, type }` - JSON Schema 响应格式。用于生成结构化 JSON 响应。 - 了解更多关于 [Structured Outputs](/docs/guides/structured-outputs). + JSON Schema 响应格式。用于生成结构化的 JSON 响应。 + 了解更多关于 [结构化输出](/docs/guides/structured-outputs). - `json_schema: object { name, description, schema, strict }` - Structured Outputs 配置选项,包括一个 JSON Schema。 + 结构化输出配置选项,包括 JSON Schema。 - `name: string` - 响应格式的名称。必须是 a-z、A-Z、0-9,或包含 - 下划线和短划线,最大长度为 64。 + 响应格式的名称。必须由 a-z、A-Z、0-9 组成,或包含 + 下划线和短横线,最大长度为 64。 - `description: optional string` - 响应格式用途的描述,模型使用它来 - 确定如何以该格式响应。 + 响应格式用途的描述,供模型用于 + 确定如何以该格式进行响应。 - `schema: optional map[unknown]` - 响应格式的架构,以 JSON Schema 对象形式描述。 - 了解如何构建 JSON 架构 [此处](https://json-schema.org/). + 响应格式的架构,以 JSON Schema 对象描述。 + 了解如何构建 JSON Schema [此处](https://json-schema.org/). - `strict: optional boolean or null` 是否在生成输出时启用严格的架构遵循。 - 如果设置为 true,模型将始终遵循精确定义的架构 - 字段中 `schema` 定义的架构。当 - `strict` 为 `true`。时,仅支持 JSON Schema 的一个子集。要了解更多信息,请阅读 [结构化输出 + 如果设置为 true,模型将始终遵循所定义的确切架构 + 在 `schema` 字段中。当使用 + `strict` 时 `true`。要了解更多信息,请参阅 [结构化输出 指南](/docs/guides/structured-outputs). - `type: "json_schema"` - 所定义的响应格式的类型。始终 `json_schema`. + 正在定义的响应格式的类型。始终为 `json_schema`. - `"json_schema"` - `started_at: number or null` - 运行开始时的 Unix 时间戳(秒)。 + 本次运行开始时的 Unix 时间戳(以秒为单位)。 - `status: "queued" or "in_progress" or "requires_action" or 6 more` @@ -256,19 +256,19 @@ - `thread_id: string` - 此运行中执行的 [线程](/docs/api-reference/threads) 的 ID。 + 用于执行此运行的 [thread](/docs/api-reference/threads) 作为本次运行一部分执行的。 - `tool_choice: AssistantToolChoiceOption or null` - 控制模型调用哪些工具(如果有)。 + 控制模型调用哪个工具(如果有)。 `none` 表示模型不会调用任何工具,而是生成一条消息。 - `auto` 是默认值,表示模型可以选择生成消息或调用一个或多个工具。 - `required` 表示模型必须先调用一个或多个工具,然后才能响应用户。 - 指定特定工具,例如 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` ,强制模型调用该工具。 + `auto` 是默认值,表示模型可以在生成消息或调用一个或多个工具之间进行选择。 + `required` 表示模型必须在响应用户之前调用一个或多个工具。 + 指定特定工具,例如 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` 会强制模型调用该工具。 - `"none" or "auto" or "required"` - `none` 表示模型不会调用任何工具,而是生成消息。 `auto` 表示模型可以选择生成消息或调用一个或多个工具。 `required` 表示模型必须先调用一个或多个工具,然后才能响应用户。 + `none` 表示模型不会调用任何工具,而是生成一条消息。 `auto` 表示模型可以在生成消息或调用一个或多个工具之间进行选择。 `required` 表示模型必须在响应用户之前调用一个或多个工具。 - `"none"` @@ -278,7 +278,7 @@ - `AssistantToolChoice object { type, function }` - 指定模型应使用的工具。用于强制模型调用特定工具。 + 指定模型应使用的工具。可用于强制模型调用特定工具。 - `type: "function" or "code_interpreter" or "file_search"` @@ -298,13 +298,13 @@ - `tools: array of CodeInterpreterTool or FileSearchTool or FunctionTool` - 此运行中 [助手](/docs/api-reference/assistants) 使用的工具列表。 + 以下工具列表由 [assistant](/docs/api-reference/assistants) 的指令。 - `CodeInterpreterTool object { type }` - `type: "code_interpreter"` - 所定义工具的类型: `code_interpreter` + 正在定义的工具类型: `code_interpreter` - `"code_interpreter"` @@ -312,33 +312,33 @@ - `type: "file_search"` - 所定义工具的类型: `file_search` + 正在定义的工具类型: `file_search` - `"file_search"` - `file_search: optional object { max_num_results, ranking_options }` - 文件搜索工具的覆盖设置。 + 文件搜索 工具的覆盖项。 - `max_num_results: optional number` - 文件搜索工具应输出的最大结果数。对于 `gpt-4*` 模型,默认值为 20;对于 `gpt-3.5-turbo`。此数字应在 1 到 50(含)之间。 + 文件搜索 工具应输出的最大结果数。对于 `gpt-4*` 模型,默认为 20;对于 `gpt-3.5-turbo`,默认为 5。该数值应介于 1 到 50 之间(含两端)。 - 请注意,文件搜索工具可能输出的结果少于 `max_num_results` 个。有关更多信息,请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 。 + 请注意,文件搜索 工具实际输出可能少于 `max_num_results` 条结果。详见 [文件搜索 工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 以了解更多信息。 - `ranking_options: optional object { score_threshold, ranker }` - 文件搜索的排序选项。如果未指定,文件搜索工具将使用默认排序器和 `auto` score_threshold 为 0。 + 文件搜索 的排序选项。如果未指定,文件搜索 工具将使用 `auto` ranker 且 score_threshold 为 0。 - 有关更多信息,请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 。 + 详见 [文件搜索 工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 以了解更多信息。 - `score_threshold: number` - 文件搜索的分数阈值。所有值必须是介于 0 和 1 之间的浮点数。 + 文件搜索 的分数阈值。所有值必须是介于 0 和 1 之间的浮点数。 - `ranker: optional "auto" or "default_2024_08_21"` - 用于文件搜索的排序器。如果未指定,将使用默认 `auto` 排序器。 + 文件搜索 使用的 ranker。如果未指定,将使用 `auto` ranker。 - `"auto"` @@ -350,35 +350,35 @@ - `name: string` - 要调用的函数名称。必须为 a-z、A-Z、0-9,或包含下划线和短划线,最大长度为 64。 + 要调用的函数名称。必须由 a-z、A-Z、0-9 组成,或包含下划线和连字符,最大长度为 64。 - `description: optional string` - 函数功能的描述,模型用于决定何时以及如何调用该函数。 + 函数功能的描述,模型据此选择何时以及如何调用该函数。 - `parameters: optional FunctionParameters` - 函数接受的参数,以 JSON Schema 对象描述。请参阅 [指南](/docs/guides/function-calling) 中的示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) 以了解该格式的文档。 + 函数接受的参数,使用 JSON Schema 对象描述。参见 [指南](/docs/guides/function-calling) 中的示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) ,查看有关该格式的文档。 - 省略 `parameters` 定义了一个参数列表为空的函数。 + 省略 `parameters` 可定义一个参数列表为空的函数。 - `strict: optional boolean or null` - 是否在生成函数调用时启用严格的模式遵循。如果设置为 true,模型将遵循 `parameters` 字段中定义的精确模式。当 `strict` 为 `true`。时,仅支持 JSON Schema 的一个子集。在 [函数调用指南](/docs/guides/function-calling). + 是否在生成函数调用时启用严格模式下的结构化输出。如果设置为 true,模型将遵循 `parameters` 字段中。当使用 `strict` 时 `true`。中定义的精确结构。详细了解结构化输出,请参阅 [函数调用指南](/docs/guides/function-calling). - `type: "function"` - 所定义的工具类型: `function` + 正在定义的工具类型: `function` - `"function"` - `truncation_strategy: object { type, last_messages } or null` - 控制运行前线程将被如何截断。使用此选项来控制运行的初始上下文窗口。 + 控制在运行之前如何截断线程。使用此参数来控制运行的初始上下文窗口。 - `type: "auto" or "last_messages"` - 用于线程的截断策略。默认值为 `auto`。如果设置为 `last_messages`,线程将被截断为线程中最近 n 条消息。当设置为 `auto`,时,位于线程中间位置的消息将被丢弃,以适应模型的上下文长度, `max_prompt_tokens`. + 用于截断线程的截断策略。默认为 `auto`。如果设置为 `last_messages`,线程将被截断为线程中最近的 n 条消息。当设置为 `auto`,线程中间的消息将被丢弃以适应模型的上下文长度, `max_prompt_tokens`. - `"auto"` @@ -386,31 +386,31 @@ - `last_messages: optional number or null` - 构建运行上下文时从线程中使用的最近消息数量。 + 在为运行构造上下文时,线程中包含的最近消息数量。 - `usage: object { completion_tokens, prompt_tokens, total_tokens } or null` - 与运行相关的使用统计信息。如果运行未处于终止状态(即 `null` , `in_progress`, `queued`,等),此值将为。)。 + 与本次运行相关的使用情况统计信息。当运行未处于终止状态时(例如处于 `null` 等状态时),该值为。 `in_progress`, `queued`。 - `completion_tokens: number` - 运行过程中使用的完成令牌数。 + 本次运行过程中使用的完成 token 数量。 - `prompt_tokens: number` - 运行过程中使用的提示令牌数。 + 本次运行过程中使用的提示 token 数量。 - `total_tokens: number` - 使用的令牌总数(提示 + 完成)。 + 使用的 token 总数(提示 + 完成)。 - `temperature: optional number or null` - 本次运行的采样温度。若未设置,默认为 1。 + 本次运行所使用的采样温度。如果未设置,则默认为 1。 - `top_p: optional number or null` - 本次运行使用的核采样值。若未设置,默认为 1。 + 本次运行使用的核采样值。如果未设置,则默认为 1。 ### 示例 diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md index 50ff7e5..d56b76b 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update.md @@ -1,10 +1,10 @@ -> 完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾附加 `.md` 来获取文档页面的 Markdown 版本。 ## 修改运行 **post** `/threads/{thread_id}/runs/{run_id}` -修改一个运行。 +修改一次运行。 ### 路径参数 @@ -16,54 +16,54 @@ - `metadata: optional Metadata or null` - 一组最多 16 个键值对,可附加到对象上。这些键值对可 - 用于以结构化格式存储关于该对象的额外信息, - 并可通过 API 或仪表板对对象进行查询。 + 由 16 个键值对组成的集合,可以附加到某个对象上。可用于 + 以结构化格式存储对象的附加信息,并通过 + API 或控制面板查询对象。 - 键为字符串,最大长度为 64 个字符。值为字符串, - 最大长度为 512 个字符。 + 键为字符串,最长 64 个字符;值为字符串,最长 512 + 个字符。 -### 返回 +### Returns - `Run object { id, assistant_id, cancelled_at, 24 more }` - 表示在 [线程](/docs/api-reference/threads). + 表示在某个 [会话线程](/docs/api-reference/threads). - `id: string` - 上的执行运行。该标识符可在 API 端点中引用。 + 标识符,可在 API 端点中引用。 - `assistant_id: string` - 用于执行此运行的 [助手](/docs/api-reference/assistants) 的 ID。 + 参与执行该运行的 [助手](/docs/api-reference/assistants) 的 ID。 - `cancelled_at: number or null` - 运行被取消时的 Unix 时间戳(秒)。 + 运行被取消时的 Unix 时间戳(以秒为单位)。 - `completed_at: number or null` - 运行完成时的 Unix 时间戳(秒)。 + 运行完成时的 Unix 时间戳(以秒为单位)。 - `created_at: number` - 运行创建时的 Unix 时间戳(秒)。 + 运行创建时的 Unix 时间戳(以秒为单位)。 - `expires_at: number or null` - 运行将过期时的 Unix 时间戳(秒)。 + 运行将过期时的 Unix 时间戳(以秒为单位)。 - `failed_at: number or null` - 运行失败时的 Unix 时间戳(秒)。 + 运行失败时的 Unix 时间戳(以秒为单位)。 - `incomplete_details: object { reason } or null` - 关于运行不完整原因的详细信息。如果运行并非不完整,则为 `null` 。 + 关于运行未完成的原因的详细信息。如果运行未完成,将为 `null` ;否则为 null。 - `reason: optional "max_completion_tokens" or "max_prompt_tokens"` - 运行不完整的原因。这将指向运行过程中达到的特定令牌限制。 + 运行未完成的原因。这将指向在运行过程中达到了哪个具体的令牌上限。 - `"max_completion_tokens"` @@ -71,15 +71,15 @@ - `instructions: string` - 用于此运行的 [助手](/docs/api-reference/assistants) 的指令。 + 参与该运行的 [助手](/docs/api-reference/assistants) 所使用的指令。 - `last_error: object { code, message } or null` - 与此运行关联的最后错误。如果没有错误,则为 `null` 。 + 与该运行关联的最后一个错误。如果没有错误,将为 `null` null。 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt"` - 以下之一 `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. + 以下值之一 `server_error`, `rate_limit_exceeded`,或 `invalid_prompt`. - `"server_error"` @@ -89,28 +89,28 @@ - `message: string` - 错误的可读描述。 + 错误的人类可读描述。 - `max_completion_tokens: number or null` - 在运行过程中已使用的最大完成令牌数。 + 本次运行过程中已使用的最大 completion token 数。 - `max_prompt_tokens: number or null` - 在运行过程中已使用的最大提示令牌数。 + 本次运行过程中已使用的最大 prompt token 数。 - `metadata: Metadata or null` - 可附加到对象的一组 16 个键值对。这可 - 用于以结构化格式存储关于对象的附加信息, - 并通过 API 或仪表板查询对象。 + 由 16 个键值对组成的集合,可以附加到某个对象上。可用于 + 以结构化格式存储对象的附加信息,并通过 + API 或控制面板查询对象。 - 键为字符串,最大长度为 64 个字符。值为字符串, - 最大长度为 512 个字符。 + 键为字符串,最长 64 个字符;值为字符串,最长 512 + 个字符。 - `model: string` - 用于此运行的 [助手](/docs/api-reference/assistants) 模型。 + 所使用的模型 [助手](/docs/api-reference/assistants) 所使用的指令。 - `object: "thread.run"` @@ -120,15 +120,15 @@ - `parallel_tool_calls: boolean` - 是否在工具使用期间启用 [并行函数调用](/docs/guides/function-calling#configuring-parallel-function-calling) 。 + 是否启用 [并行函数调用](/docs/guides/function-calling#configuring-parallel-function-calling) 在工具使用期间。 - `required_action: object { submit_tool_outputs, type } or null` - 继续运行所需操作的详细信息。如果无需操作, `null` 则将为。 + 继续运行所需操作的详细信息。如果无需任何操作,将为 `null` 。 - `submit_tool_outputs: object { tool_calls }` - 为继续此运行所需的工具输出详细信息。 + 本次运行继续所需的工具输出详细信息。 - `tool_calls: array of RequiredActionFunctionToolCall` @@ -136,7 +136,7 @@ - `id: string` - 工具调用的 ID。当你通过 [向运行提交工具输出](/docs/api-reference/runs/submitToolOutputs) 端点提交工具输出时,必须引用此 ID。 + 工具调用的 ID。使用 [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) 端点提交工具输出时,必须引用此 ID。 - `function: object { arguments, name }` @@ -148,29 +148,29 @@ - `name: string` - 函数名称。 + 函数的名称。 - `type: "function"` - 输出所需的工具调用类型。目前,这始终是 `function`. + 需要输出的工具调用类型。目前该值始终为 `function`. - `"function"` - `type: "submit_tool_outputs"` - 目前,这始终是 `submit_tool_outputs`. + 目前该值始终为 `submit_tool_outputs`. - `"submit_tool_outputs"` - `response_format: AssistantResponseFormatOption or null` - 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及所有自 `gpt-3.5-turbo-1106`. + 指定模型必须输出的格式。兼容 [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4),以及自 `gpt-3.5-turbo-1106`. - 以来的 GPT-3.5 Turbo 模型。设置为 `{ "type": "json_schema", "json_schema": {...} }` 可启用结构化输出,确保模型匹配你提供的 JSON 模式。更多信息请参阅 [结构化输出指南](/docs/guides/structured-outputs). + 设置为 `{ "type": "json_schema", "json_schema": {...} }` 可启用 Structured Outputs,确保模型匹配你提供的 JSON schema。详见 [Structured Outputs 指南](/docs/guides/structured-outputs). - 。设置为 `{ "type": "json_object" }` 可启用 JSON 模式,确保模型生成的消息是有效的 JSON。 + 设置为 `{ "type": "json_object" }` 可启用 JSON 模式,确保模型生成的消息是合法 JSON。 - **重要提示:** 使用 JSON 模式时,你 **必须** 还要通过系统或用户消息自行指示模型生成 JSON。否则,模型可能会生成无休止的空白字符,直到达到 token 限制,导致请求长时间运行且看似“卡住”。另请注意,消息内容可能会被部分截断,如果 `finish_reason="length"`,这表示生成结果超过了 `max_tokens` 或对话超过了最大上下文长度。 + **重要:** 使用 JSON 模式时,你 **必须** 通过系统消息或用户消息自行指示模型生成 JSON。否则,模型可能持续生成空白字符直至达到 token 限制,导致请求长时间看似“卡住”。还需注意,如果 `finish_reason="length"`,表示生成内容超过了 `max_tokens` ,或对话超过了最大上下文长度。 - `"auto"` @@ -191,9 +191,9 @@ - `ResponseFormatJSONObject object { type }` JSON 对象响应格式。一种较旧的生成 JSON 响应的方法。 - 使用 `json_schema` 是推荐用于支持它的模型。请注意, - 模型在没有系统或用户消息指示的情况下不会生成 JSON - 。 + 使用 `json_schema` 推荐用于支持它的模型。注意, + model will not generate JSON without a system or user message instructing it + to do so. - `type: "json_object"` @@ -203,45 +203,45 @@ - `ResponseFormatJSONSchema object { json_schema, type }` - JSON Schema 响应格式。用于生成结构化 JSON 响应。 - 了解有关 [结构化输出](/docs/guides/structured-outputs). + JSON Schema response format. Used to generate structured JSON responses. + Learn more about [Structured Outputs](/docs/guides/structured-outputs). - `json_schema: object { name, description, schema, strict }` - 结构化输出配置选项,包括 JSON Schema。 + Structured Outputs configuration options, including a JSON Schema. - `name: string` - 响应格式的名称。必须为 a-z、A-Z、0-9 或包含 - 下划线和短划线,最大长度为 64。 + The name of the response format. Must be a-z, A-Z, 0-9, or contain + underscores and dashes, with a maximum length of 64. - `description: optional string` - 响应格式用途的描述,模型使用它来 - 确定如何以该格式响应。 + A description of what the response format is for, used by the model to + determine how to respond in the format. - `schema: optional map[unknown]` - 响应格式的 schema,以 JSON Schema 对象的形式描述。 - 了解如何构建 JSON schema [此处](https://json-schema.org/). + The schema for the response format, described as a JSON Schema object. + Learn how to build JSON schemas [here](https://json-schema.org/). - `strict: optional boolean or null` - 是否在生成输出时启用严格的 schema 遵循。 - 如果设置为 true,模型将始终遵循所定义的精确 schema - 在 `schema` 字段中。当 - `strict` 为 `true`。时,仅支持 JSON Schema 的一个子集。要了解更多信息,请阅读 [结构化输出 - 指南](/docs/guides/structured-outputs). + Whether to enable strict schema adherence when generating the output. + If set to true, the model will always follow the exact schema defined + in the `schema` field. Only a subset of JSON Schema is supported when + `strict` is `true`. To learn more, read the [Structured Outputs + guide](/docs/guides/structured-outputs). - `type: "json_schema"` - 正在定义的响应格式的类型。始终 `json_schema`. + 正在定义的响应格式类型。始终为 `json_schema`. - `"json_schema"` - `started_at: number or null` - 运行启动时的 Unix 时间戳(以秒为单位)。 + 运行开始时的 Unix 时间戳(秒)。 - `status: "queued" or "in_progress" or "requires_action" or 6 more` @@ -267,19 +267,19 @@ - `thread_id: string` - 作为此运行的一部分执行的 [线程](/docs/api-reference/threads) 的 ID。 + 参与执行该运行的 [会话线程](/docs/api-reference/threads) 作为本次运行的一部分执行时所使用的。 - `tool_choice: AssistantToolChoiceOption or null` - 控制模型调用哪个(如果有)工具。 - `none` 表示模型不会调用任何工具,而是生成一条消息。 - `auto` 是默认值,表示模型可以选择生成消息或调用一个或多个工具。 - `required` 表示模型必须先调用一个或多个工具,然后再响应用户。 - 指定特定工具,如 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` 会强制模型调用该工具。 + 控制模型调用哪个工具(如果有)。 + `none` 表示模型将不调用任何工具,而是生成一条消息。 + `auto` 是默认值,表示模型可以在生成消息或调用一个或多个工具之间进行选择。 + `required` 表示模型必须在响应用户之前调用一个或多个工具。 + 指定特定工具,例如 `{"type": "file_search"}` 或 `{"type": "function", "function": {"name": "my_function"}}` 强制模型调用该工具。 - `"none" or "auto" or "required"` - `none` 表示模型不会调用任何工具,而是生成消息。 `auto` 表示模型可以选择生成消息或调用一个或多个工具。 `required` 表示模型必须先调用一个或多个工具,然后再响应用户。 + `none` 表示模型将不调用任何工具,而是生成一条消息。 `auto` 表示模型可以在生成消息或调用一个或多个工具之间进行选择。 `required` 表示模型必须在响应用户之前调用一个或多个工具。 - `"none"` @@ -293,7 +293,7 @@ - `type: "function" or "code_interpreter" or "file_search"` - 工具的类型。如果类型是 `function`,则必须设置函数名称 + 工具的类型。如果 type 为 `function`,则必须设置 function name - `"function"` @@ -305,11 +305,11 @@ - `name: string` - 要调用的函数的名称。 + 要调用的函数名称。 - `tools: array of CodeInterpreterTool or FileSearchTool or FunctionTool` - 此运行中 [助手](/docs/api-reference/assistants) 使用的工具列表。 + 所使用的工具列表。 [助手](/docs/api-reference/assistants) 所使用的指令。 - `CodeInterpreterTool object { type }` @@ -329,23 +329,23 @@ - `file_search: optional object { max_num_results, ranking_options }` - 对文件搜索工具的覆盖设置。 + 文件搜索工具的覆盖设置。 - `max_num_results: optional number` - 文件搜索工具应输出的最大结果数。默认值为20(适用于 `gpt-4*` 模型)和5(适用于 `gpt-3.5-turbo`。此数字应在 1 到 50 之间(含)。 + 文件搜索工具应输出的最大结果数。对于 `gpt-4*` 模型,默认值为 20;对于 `gpt-3.5-turbo`. 该数值应在 1 到 50 之间(含)。 - 请注意,文件搜索工具可能输出少于 `max_num_results` 结果。请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 + 注意,文件搜索工具可能输出少于 `max_num_results` 条结果。详见 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 - `ranking_options: optional object { score_threshold, ranker }` - 文件搜索的排序选项。如果未指定,文件搜索工具将使用 `auto` 排序器,且 score_threshold 为 0。 + 用于文件搜索的排序选项。如果未指定,文件搜索工具将使用 `auto` 排序器,并使用 0 作为 score_threshold。 - 请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 + 详见 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 - `score_threshold: number` - 文件搜索的分数阈值。所有值必须是 0 到 1 之间的浮点数。 + 用于文件搜索的分数阈值。所有值必须是介于 0 和 1 之间的浮点数。 - `ranker: optional "auto" or "default_2024_08_21"` @@ -361,35 +361,35 @@ - `name: string` - 要调用的函数名称。必须为 a-z、A-Z、0-9,或包含下划线和破折号,最大长度为 64。 + 要调用的函数名称。必须仅包含 a-z、A-Z、0-9,或包含下划线和短横线,最大长度为 64。 - `description: optional string` - 函数功能的描述,模型用于决定何时以及如何调用该函数。 + 对函数功能的描述,供模型用于判断何时以及如何调用该函数。 - `parameters: optional FunctionParameters` - 函数接受的参数,以 JSON Schema 对象描述。请参阅 [指南](/docs/guides/function-calling) 获取示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) 获取格式文档。 + 函数接受的参数,使用 JSON Schema 对象描述。详见 [guide](/docs/guides/function-calling) 中的示例,以及 [JSON Schema 参考](https://json-schema.org/understanding-json-schema/) 了解格式相关文档。 - 省略 `parameters` 定义了一个参数列表为空的函数。 + 省略 `parameters` 将定义一个具有空参数列表的函数。 - `strict: optional boolean or null` - 是否在生成函数调用时启用严格模式以遵循架构。如果设置为 true,模型将遵循精确的模式,如 `parameters` 字段中所定义的。当 `strict` 为 `true`。时,仅支持 JSON Schema 的子集。了解更多关于结构化输出的信息,请参阅 [函数调用指南](/docs/guides/function-calling). + 在生成函数调用时是否启用严格的 schema 遵循。如果设置为 true,模型将严格遵循 `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. 在以下位置了解更多关于结构化输出的信息 [函数调用指南](/docs/guides/function-calling). - `type: "function"` - 要定义的工具类型: `function` + 正在定义的工具类型: `function` - `"function"` - `truncation_strategy: object { type, last_messages } or null` - 控制在运行前如何截断线程。使用此选项来控制运行的初始上下文窗口。 + 控制在运行开始前如何截断线程。使用此参数可以控制运行的初始上下文窗口。 - `type: "auto" or "last_messages"` - 线程使用的截断策略。默认值为 `auto`。如果设置为 `last_messages`,线程将被截断为线程中最近的 n 条消息。当设置为 `auto`,时,线程中间的消息将被丢弃以适应模型的上下文长度, `max_prompt_tokens`. + 用于线程的截断策略。默认值是 `auto`。如果设置为 `last_messages`,线程将被截断为线程中最近的 n 条消息。当设置为 `auto`,时,线程中间的消息将被丢弃,以适应模型的上下文长度, `max_prompt_tokens`. - `"auto"` @@ -397,31 +397,31 @@ - `last_messages: optional number or null` - 构建运行上下文时线程中最新的消息数量。 + 在为运行构建上下文时使用的线程中最近的消息数量。 - `usage: object { completion_tokens, prompt_tokens, total_tokens } or null` - 与运行相关的使用统计信息。如果运行不处于终止状态(即 `null` ,此值将为。 `in_progress`, `queued`,等)。 + 与本次运行相关的使用统计信息。如果运行未处于终止状态(即 `null` 等),该值将为。 `in_progress`, `queued`,等)。 - `completion_tokens: number` - 运行过程中使用的完成令牌数。 + 在本次运行过程中使用的完成 token 数量。 - `prompt_tokens: number` - 运行过程中使用的提示令牌数。 + 在本次运行过程中使用的提示 token 数量。 - `total_tokens: number` - 使用的令牌总数(提示 + 完成)。 + 使用的 token 总数(提示 + 完成)。 - `temperature: optional number or null` - 本次运行的采样温度。若未设置,默认为 1。 + 本次运行使用的采样温度。如果未设置,默认为 1。 - `top_p: optional number or null` - 本次运行使用的核采样值。若未设置,默认为 1。 + 本次运行使用的核采样值。如果未设置,默认为 1。 ### 示例 diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md index d108808..451f522 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list.md @@ -1,10 +1,10 @@ -> 有关完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整的文档索引请参见 [llms.txt](/llms.txt)。在页面 URL 后追加 `.md` 即可获取对应文档页面的 Markdown 版本。 ## 列出运行步骤 **get** `/threads/{thread_id}/runs/{run_id}/steps` -返回属于某次运行(run)的运行步骤(run step)列表。 +返回属于某个运行的运行步骤列表。 ### 路径参数 @@ -16,33 +16,33 @@ - `after: optional string` - 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发出列表请求并收到 100 个对象,以 obj_foo 结尾,则后续调用可以包含 after=obj_foo 以获取列表的下一页。 + 用于分页查询的游标。 `after` 是一个对象 ID,用于标识你在列表中所处的位置。例如,如果你发起一个列表请求并收到 100 个对象,以 obj_foo 结尾,你的后续调用可以在参数中包含 after=obj_foo,以获取列表的下一页。 - `before: optional string` - 用于分页的游标。 `before` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发出列表请求并收到 100 个对象,以 obj_foo 开头,则后续调用可以包含 before=obj_foo 以获取列表的上一页。 + 用于分页查询的游标。 `before` 是一个对象 ID,用于标识你在列表中所处的位置。例如,如果你发起一个列表请求并收到 100 个对象,以 obj_foo 开头,你的后续调用可以在参数中包含 before=obj_foo,以获取列表的上一页。 - `include: optional array of RunStepInclude` - 要包含在响应中的其他字段列表。目前唯一支持的值是 `step_details.tool_calls[*].file_search.results[*].content` 来获取文件搜索结果内容。 + 响应中要包含的额外字段列表。目前唯一支持的值是 `step_details.tool_calls[*].file_search.results[*].content` 用于获取 文件搜索 结果内容。 - 请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 + 请参阅 [文件搜索 工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 - `"step_details.tool_calls[*].file_search.results[*].content"` - `limit: optional number` - 要返回的对象数量限制。限制范围在 1 到 100 之间,默认值为 20。 + 返回对象数量的上限。Limit 范围介于 1 到 100 之间,默认值为 20。 - `order: optional "asc" or "desc"` - 按对象的 `created_at` 时间戳排序。 `asc` 用于升序, `desc` 用于降序。 + 按对象的 `created_at` 时间戳排序。 `asc` 表示升序排列, `desc` 表示降序排列。 - `"asc"` - `"desc"` -### 返回 +### Returns - `data: array of RunStep` @@ -52,7 +52,7 @@ - `assistant_id: string` - 与运行步骤关联的 [assistant](/docs/api-reference/assistants) 的 ID。 + 关联的 [assistant](/docs/api-reference/assistants) 的 ID。 - `cancelled_at: number or null` @@ -68,7 +68,7 @@ - `expired_at: number or null` - 运行步骤过期时的 Unix 时间戳(以秒为单位)。如果父运行已过期,则该步骤被视为已过期。 + 运行步骤过期时的 Unix 时间戳(以秒为单位)。如果父级运行已过期,则该步骤视为已过期。 - `failed_at: number or null` @@ -80,7 +80,7 @@ - `code: "server_error" or "rate_limit_exceeded"` - 取值为 `server_error` 或 `rate_limit_exceeded`. + 以下之一: `server_error` 或 `rate_limit_exceeded`. - `"server_error"` @@ -88,15 +88,15 @@ - `message: string` - 错误的可读描述。 + 人类可读的错误描述。 - `metadata: Metadata or null` - 可附加到对象上的 16 个键值对集合。这可以 - 用于以结构化格式存储有关对象的附加信息, - 并可通过 API 或仪表板查询对象。 + 可附加到对象的 16 个键值对集合。这可以 + 用于以结构化格式存储对象的附加信息,并通过 API 或仪表板查询对象。 + 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串, 最大长度为 512 个字符。 - `object: "thread.run.step"` @@ -107,11 +107,11 @@ - `run_id: string` - 此 [运行](/docs/api-reference/runs) 的 ID,即此运行步骤所属的。 + 关联的 [run](/docs/api-reference/runs) 该 run 步骤所属的运行(run)。 - `status: "in_progress" or "cancelled" or "failed" or 2 more` - 运行步骤的状态,可以是 `in_progress`, `cancelled`, `failed`, `completed`,或 `expired`. + run 步骤的状态,可以是 `in_progress`, `cancelled`, `failed`, `completed`,或 `expired`. - `"in_progress"` @@ -125,21 +125,21 @@ - `step_details: MessageCreationStepDetails or ToolCallsStepDetails` - 运行步骤的详细信息。 + run 步骤的详细信息。 - `MessageCreationStepDetails object { message_creation, type }` - 运行步骤创建消息的详细信息。 + 由该 run 步骤创建的消息的详细信息。 - `message_creation: object { message_id }` - `message_id: string` - 此运行步骤创建的消息的 ID。 + 该 run 步骤所创建消息的 ID。 - `type: "message_creation"` - 始终 `message_creation`. + 始终为 `message_creation`. - `"message_creation"` @@ -149,11 +149,11 @@ - `tool_calls: array of CodeInterpreterToolCall or FileSearchToolCall or FunctionToolCall` - 运行步骤涉及的工具调用数组。这些可以关联三种类型的工具之一: `code_interpreter`, `file_search`,或 `function`. + 该 run 步骤所涉及的工具调用数组。这些调用可以关联到以下三种工具之一: `code_interpreter`, `file_search`,或 `function`. - `CodeInterpreterToolCall object { id, code_interpreter, type }` - 运行步骤涉及的代码解释器工具调用的详细信息。 + 该 run 步骤涉及的代码解释器(Code Interpreter)工具调用的详细信息。 - `id: string` @@ -161,7 +161,7 @@ - `code_interpreter: object { input, outputs }` - 代码解释器工具调用定义。 + 代码解释器工具调用的定义。 - `input: string` @@ -169,19 +169,19 @@ - `outputs: array of object { logs, type } or object { image, type }` - 代码解释器工具调用的输出。代码解释器可以输出一个或多个项目,包括文本(`logs`)或图像(`image`)。每一项都由不同的对象类型表示。 + 代码解释器工具调用的输出。代码解释器可以输出一个或多个项,包括文本(`logs`)或图像(`image`)。其中每一项都由不同的对象类型表示。 - `CodeInterpreterLogOutput object { logs, type }` - 作为运行步骤一部分的代码解释器工具调用的文本输出。 + run 步骤中由代码解释器工具调用产生的文本输出。 - `logs: string` - 代码解释器工具调用的文本输出。 + 代码解释器工具调用产生的文本输出。 - `type: "logs"` - 始终 `logs`. + 始终为 `logs`. - `"logs"` @@ -191,17 +191,17 @@ - `file_id: string` - 该 [文件](/docs/api-reference/files) 的 ID。 + 该 [文件](/docs/api-reference/files) 图像的 ID。 - `type: "image"` - 始终 `image`. + 始终为 `image`. - `"image"` - `type: "code_interpreter"` - 工具调用的类型。对于此类工具调用,该值始终为 `code_interpreter` 。 + 工具调用的类型。对于该类型的工具调用,该值始终为 `code_interpreter` 。 - `"code_interpreter"` @@ -213,7 +213,7 @@ - `file_search: object { ranking_options, results }` - 目前,该值始终是一个空对象。 + 目前,该字段始终是一个空对象。 - `ranking_options: optional object { ranker, score_threshold }` @@ -221,7 +221,7 @@ - `ranker: "auto" or "default_2024_08_21"` - 用于文件搜索的排序器。如果未指定,将使用 `auto` 排序器。 + 文件搜索所使用的排序器。如果未指定,将使用 `auto` 排序器。 - `"auto"` @@ -229,7 +229,7 @@ - `score_threshold: number` - 文件搜索的分数阈值。所有值必须是介于 0 和 1 之间的浮点数。 + 文件搜索的分数阈值。所有值必须为介于 0 和 1 之间的浮点数。 - `results: optional array of object { file_id, file_name, score, content }` @@ -237,23 +237,23 @@ - `file_id: string` - 找到结果的文件的 ID。 + 找到该结果的文件 ID。 - `file_name: string` - 找到结果的文件的名称。 + 找到该结果的文件名。 - `score: number` - 结果的分数。所有值必须是介于 0 和 1 之间的浮点数。 + 该结果的分数。所有值必须为介于 0 和 1 之间的浮点数。 - `content: optional array of object { text, type }` - 找到的结果的内容。仅在通过 include 查询参数请求时,才会包含该内容。 + 所找到的结果的内容。仅当通过 include 查询参数请求时,才会包含内容。 - `text: optional string` - 文件的文本内容。 + 该文件的文本内容。 - `type: optional "text"` @@ -263,7 +263,7 @@ - `type: "file_search"` - 工具调用的类型。对于此类工具调用,这始终是 `file_search` 。 + 工具调用的类型。对于该类型的工具调用,该值始终为 `file_search` 。 - `"file_search"` @@ -275,7 +275,7 @@ - `function: object { arguments, name, output }` - 被调用函数的定义。 + 被调用的函数的定义。 - `arguments: string` @@ -287,23 +287,23 @@ - `output: string or null` - 函数的输出。如果输出尚未 `null` 提交,这将为 [submitted](/docs/api-reference/runs/submitToolOutputs) 。 + 函数的输出。如果输出还未被 `null` 提交,则此字段为 [submitted](/docs/api-reference/runs/submitToolOutputs) 。 - `type: "function"` - 工具调用的类型。对于此类工具调用,这始终是 `function` 。 + 工具调用的类型。对于该类型的工具调用,该值始终为 `function` 。 - `"function"` - `type: "tool_calls"` - 始终 `tool_calls`. + 始终为 `tool_calls`. - `"tool_calls"` - `thread_id: string` - 被运行的 [thread](/docs/api-reference/threads) 的 ID。 + 关联的 [thread](/docs/api-reference/threads) 时所使用的对话。 - `type: "message_creation" or "tool_calls"` @@ -315,19 +315,19 @@ - `usage: object { completion_tokens, prompt_tokens, total_tokens } or null` - 与运行步骤相关的使用统计信息。此值将为 `null` 当运行步骤的状态为 `in_progress`. + 与运行步骤相关的使用统计信息。当运行步骤的状态为 `null` 时,该值为 `in_progress`. - `completion_tokens: number` - 运行步骤过程中使用的完成令牌数量。 + 运行步骤过程中使用的完成 token 数。 - `prompt_tokens: number` - 运行步骤过程中使用的提示令牌数量。 + 运行步骤过程中使用的提示 token 数。 - `total_tokens: number` - 使用的令牌总数(提示 + 完成)。 + 使用的 token 总数(提示 + 完成)。 - `first_id: string` diff --git a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md index 9dd37f8..cda5341 100644 --- a/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md +++ b/docs/zh/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve.md @@ -1,10 +1,10 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 -## 检索运行步骤 +## 获取运行步骤 -**获取** `/threads/{thread_id}/runs/{run_id}/steps/{step_id}` +**get** `/threads/{thread_id}/runs/{run_id}/steps/{step_id}` -检索一个运行步骤。 +获取某个运行步骤。 ### 路径参数 @@ -18,53 +18,53 @@ - `include: optional array of RunStepInclude` - 要包含在响应中的附加字段列表。目前唯一支持的值是 `step_details.tool_calls[*].file_search.results[*].content` 以获取文件搜索结果内容。 + 响应中要包含的额外字段列表。目前唯一支持的值是 `step_details.tool_calls[*].file_search.results[*].content` 以获取文件搜索结果内容。 - 参见 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 + 请参阅 [文件搜索工具文档](/docs/assistants/tools/file-search#customizing-file-search-settings) 了解更多信息。 - `"step_details.tool_calls[*].file_search.results[*].content"` -### 返回 +### Returns - `RunStep object { id, assistant_id, cancelled_at, 13 more }` - 表示运行执行中的一个步骤。 + 表示一次运行执行过程中的一个步骤。 - `id: string` - 运行步骤的标识符,可在 API 端点中引用。 + 该运行步骤的标识符,可以在 API 端点中引用。 - `assistant_id: string` - 与运行步骤关联的 [助手](/docs/api-reference/assistants) 的 ID。 + 与之关联的 [assistant](/docs/api-reference/assistants) 的 ID。 - `cancelled_at: number or null` - 运行步骤被取消时的 Unix 时间戳(秒)。 + 运行步骤被取消时的 Unix 时间戳(以秒为单位)。 - `completed_at: number or null` - 运行步骤完成时的 Unix 时间戳(秒)。 + 运行步骤完成时的 Unix 时间戳(以秒为单位)。 - `created_at: number` - 运行步骤创建时的 Unix 时间戳(秒)。 + 运行步骤创建时的 Unix 时间戳(以秒为单位)。 - `expired_at: number or null` - 运行步骤过期时的 Unix 时间戳(秒)。如果父运行已过期,则该步骤视为已过期。 + 运行步骤过期时的 Unix 时间戳(以秒为单位)。如果父级运行已过期,则该步骤被视为已过期。 - `failed_at: number or null` - 运行步骤失败时的 Unix 时间戳(秒)。 + 运行步骤失败时的 Unix 时间戳(以秒为单位)。 - `last_error: object { code, message } or null` - 与此运行步骤关联的最后一个错误。如果 `null` 没有错误,则为 null。 + 与该运行步骤关联的最后一个错误。如果没有错误,则为 `null` 。 - `code: "server_error" or "rate_limit_exceeded"` - 以下之一: `server_error` 或 `rate_limit_exceeded`. + 其值为 `server_error` 或 `rate_limit_exceeded`. - `"server_error"` @@ -72,16 +72,16 @@ - `message: string` - 错误的人类可读描述。 + 人类可读的错误描述。 - `metadata: Metadata or null` - 可附加到对象的一组 16 个键值对。这可用于 - 以结构化 - 格式存储关于对象的附加信息,并通过 API 或仪表板查询对象。 + 可附加到对象的 16 个键值对集合。这可以 + 用于以结构化格式存储对象的附加信息,并通过 API 或仪表板查询对象。 + 用于以结构化格式存储对象的附加信息,并通过 接口 或仪表板查询对象。 - 键为字符串,最大长度为 64 个字符。值为字符串, - 最大长度为 512 个字符。 + 键为字符串,最长 64 个字符。值为字符串, + 最长 512 个字符。 - `object: "thread.run.step"` @@ -91,7 +91,7 @@ - `run_id: string` - 该运行步骤所属的 [run](/docs/api-reference/runs) 的 ID。 + 与之关联的 [run](/docs/api-reference/runs) ,表示此运行步骤所属的运行。 - `status: "in_progress" or "cancelled" or "failed" or 2 more` @@ -119,7 +119,7 @@ - `message_id: string` - 该运行步骤创建的消息的 ID。 + 此运行步骤所创建消息的 ID。 - `type: "message_creation"` @@ -133,11 +133,11 @@ - `tool_calls: array of CodeInterpreterToolCall or FileSearchToolCall or FunctionToolCall` - 运行步骤涉及的工具调用数组。这些可以与三种类型的工具之一关联: `code_interpreter`, `file_search`,或 `function`. + 此运行步骤所涉及的工具调用数组。这些工具调用可与以下三种工具之一关联: `code_interpreter`, `file_search`,或 `function`. - `CodeInterpreterToolCall object { id, code_interpreter, type }` - 运行步骤涉及的 Code Interpreter 工具调用的详细信息。 + 此运行步骤所涉及的代码解释器工具调用的详细信息。 - `id: string` @@ -145,27 +145,27 @@ - `code_interpreter: object { input, outputs }` - Code Interpreter 工具调用定义。 + 代码解释器工具调用的定义。 - `input: string` - Code Interpreter 工具调用的输入。 + 代码解释器工具调用的输入。 - `outputs: array of object { logs, type } or object { image, type }` - Code Interpreter 工具调用的输出。Code Interpreter 可以输出一个或多个项目,包括文本(`logs`)或图像(`image`)。每一个都由不同的对象类型表示。 + 代码解释器工具调用的输出。代码解释器可以输出一个或多个项,包括文本(`logs`)或图像(`image`)。每一项都由不同的对象类型表示。 - `CodeInterpreterLogOutput object { logs, type }` - 作为运行步骤的一部分,代码解释器工具调用产生的文本输出。 + 作为运行步骤一部分的代码解释器工具调用的文本输出。 - `logs: string` - 代码解释器工具调用产生的文本输出。 + 代码解释器工具调用的文本输出。 - `type: "logs"` - 始终 `logs`. + 始终为 `logs`. - `"logs"` @@ -175,17 +175,17 @@ - `file_id: string` - 该 [文件](/docs/api-reference/files) 图像的 ID。 + 该 [file](/docs/api-reference/files) 图片的 ID。 - `type: "image"` - 始终 `image`. + 始终为 `image`. - `"image"` - `type: "code_interpreter"` - 工具调用的类型。对于此类型的工具调用,它始终是 `code_interpreter` 。 + 工具调用的类型。该类型始终为 `code_interpreter` (针对此类型的工具调用)。 - `"code_interpreter"` @@ -205,7 +205,7 @@ - `ranker: "auto" or "default_2024_08_21"` - 用于文件搜索的排序器。如果未指定,将使用 `auto` 排序器。 + 用于文件搜索的排序器。若未指定,将使用 `auto` 排序器。 - `"auto"` @@ -221,19 +221,19 @@ - `file_id: string` - 找到结果所在的文件的 ID。 + 找到该结果的文件 ID。 - `file_name: string` - 找到结果所在的文件的名称。 + 找到该结果的文件名。 - `score: number` - 结果的分数。所有值必须是介于 0 和 1 之间的浮点数。 + 该结果的分数。所有值必须是介于 0 和 1 之间的浮点数。 - `content: optional array of object { text, type }` - 找到的结果的内容。仅在通过 include 查询参数请求时才包含该内容。 + 已找到结果的内容。内容仅在通过 include 查询参数请求时才会包含。 - `text: optional string` @@ -247,7 +247,7 @@ - `type: "file_search"` - 工具调用的类型。对于这种工具调用,该值始终为 `file_search` 。 + 工具调用的类型。该类型始终为 `file_search` (针对此类型的工具调用)。 - `"file_search"` @@ -259,7 +259,7 @@ - `function: object { arguments, name, output }` - 所调用函数的定义。 + 被调用函数的定义。 - `arguments: string` @@ -271,23 +271,23 @@ - `output: string or null` - 函数的输出。如果输出尚未 `null` 提交,该值将为 [已提交](/docs/api-reference/runs/submitToolOutputs) 。 + 函数的输出。如果输出尚未被 `null` 提交,该字段为 [submitted](/docs/api-reference/runs/submitToolOutputs) 。 - `type: "function"` - 工具调用的类型。对于这种工具调用,该值始终为 `function` 。 + 工具调用的类型。该类型始终为 `function` (针对此类型的工具调用)。 - `"function"` - `type: "tool_calls"` - 始终 `tool_calls`. + 始终为 `tool_calls`. - `"tool_calls"` - `thread_id: string` - 所运行 [线程](/docs/api-reference/threads) 的 ID。 + 与之关联的 [thread](/docs/api-reference/threads) 运行的对话。 - `type: "message_creation" or "tool_calls"` @@ -299,19 +299,19 @@ - `usage: object { completion_tokens, prompt_tokens, total_tokens } or null` - 与运行步骤相关的使用统计信息。此值将 `null` 在运行步骤状态为 `in_progress`. + 与运行步骤相关的使用统计信息。当运行步骤的状态为 `null` 时,该值为 `in_progress`. - `completion_tokens: number` - 运行步骤期间使用的完成令牌数量。 + 运行步骤过程中使用的 completion token 数。 - `prompt_tokens: number` - 运行步骤期间使用的提示令牌数量。 + 运行步骤过程中使用的 prompt token 数。 - `total_tokens: number` - 使用的令牌总数(提示 + 完成)。 + 使用的 token 总数(prompt + completion)。 ### 示例 diff --git a/docs/zh/api/reference/resources/completions/methods/create.md b/docs/zh/api/reference/resources/completions/methods/create.md index 691930c..c7143c9 100644 --- a/docs/zh/api/reference/resources/completions/methods/create.md +++ b/docs/zh/api/reference/resources/completions/methods/create.md @@ -1,24 +1,24 @@ -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 完整的文档索引请参见 [llms.txt](/llms.txt)。你可以在页面 URL 末尾追加 `.md` 来获取该页面的 Markdown 版本。 -## 创建补全 +## Create completion **post** `/completions` -为提供的提示和参数创建一次补全。 +根据提供的提示和参数创建补全。 -返回一个补全对象;如果请求是流式传输,则返回一系列补全对象。 +返回一个补全对象,若请求以流式传输则返回补全对象序列。 ### 请求体参数 - `model: string or "gpt-3.5-turbo-instruct" or "davinci-002" or "babbage-002"` - 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API查看所有可用模型,或查看我们的 [模型概览](/docs/models) 了解这些模型的描述。 + 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API 查看所有可用模型,或参阅我们的 [模型概述](/docs/models) 以了解它们的描述。 - `string` - `"gpt-3.5-turbo-instruct" or "davinci-002" or "babbage-002"` - 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API查看所有可用模型,或查看我们的 [模型概览](/docs/models) 了解这些模型的描述。 + 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API 查看所有可用模型,或参阅我们的 [模型概述](/docs/models) 以了解它们的描述。 - `"gpt-3.5-turbo-instruct"` @@ -28,9 +28,9 @@ - `prompt: string or array of string or array of number or array of array of number or null` - 用于生成补全的提示,编码为字符串、字符串数组、token 数组或 token 数组的数组。 + 用于生成补全的提示,可以编码为字符串、字符串数组、token 数组或 token 数组的数组。 - 注意,<|endoftext|> 是模型在训练期间看到的文档分隔符,因此如果未指定提示,模型将像从新文档的开头开始一样生成内容。 + 请注意,是模型在训练期间看到的文档分隔符,因此如果未指定提示,模型将从新文档的开头开始生成。 - `string` @@ -42,66 +42,66 @@ - `best_of: optional number or null` - 生成 `best_of` 在服务端进行补全,并返回“最佳”结果(即每个 token 对数概率最高的结果)。结果无法流式传输。 + 生成 `best_of` 补全 服务端 并返回“最佳”的那一个(每个 token 对数概率最高的那一个)。结果无法流式传输。 - 当与 `n`, `best_of` 一起使用时,控制候选补全的数量,而 `n` 则指定要返回多少个—— `best_of` 必须大于 `n`. + 与 `n`, `best_of` 配合使用时,控制候选补全的数量, `n` 指定要返回多少个—— `best_of` 必须大于 `n`. - **注意:** 由于此参数会生成大量补全,因此可能会迅速消耗你的 token 配额。请谨慎使用,并确保你为 `max_tokens` 以及 `stop`. + **注意:** 由于此参数会生成大量补全,因此会很快消耗你的 token 配额。请谨慎使用,并确保你对 `max_tokens` 和 `stop`. - `echo: optional boolean or null` - 在完成内容之外回显提示词 + 除了补全内容外,还回显提示 - `frequency_penalty: optional number or null` - 介于 -2.0 和 2.0 之间的数字。正值会根据新 token 在现有文本中的出现频率对其进行惩罚,从而降低模型逐字重复同一行的可能性。 + 介于 -2.0 到 2.0 之间的数字。正值会根据新 token 在已有文本中的出现频率对其进行惩罚,从而降低模型逐字重复相同内容的可能性。 - [查看更多关于频率和存在惩罚的信息。](/docs/guides/text-generation) + [查看有关频率和存在惩罚的更多信息。](/docs/guides/text-generation) - `logit_bias: optional map[number] or null` - 修改指定 token 出现在完成内容中的可能性。 + 修改指定 token 出现在补全中的可能性。 - 接受一个 JSON 对象,该对象将 token(由其在 GPT tokenizer 中的 token ID 指定)映射到从 -100 到 100 的偏差值。你可以使用此 [tokenizer 工具](/tokenizer?view=bpe) 将文本转换为 token ID。从数学上讲,偏差会在采样前加到模型生成的 logits 上。具体效果因模型而异,但介于 -1 和 1 之间的值应降低或提高被选中的可能性;-100 或 100 之类的值应导致相关 token 被禁止或独占选择。 + 接受一个 JSON 对象,用于将 token(通过 GPT 分词器中的 token ID 指定)映射到 -100 到 100 之间的关联偏置值。你可以使用该 [分词器工具](/tokenizer?view=bpe) 将文本转换为 token ID。从数学上讲,该偏置会在模型采样之前加到模型生成的 logits 上。确切效果因模型而异,但 -1 到 1 之间的值应会降低或提高被选中的可能性;像 -100 或 100 这样的值应会导致禁用或唯一选中相应 token。 - 例如,你可以传入 `{"50256": -100}` 来阻止生成 <|endoftext|> token。 + 例如,你可以传入 `{"50256": -100}` 以防止生成 <|endoftext|> token。 - `logprobs: optional number or null` - 在 `logprobs` 上包含最可能输出 token 的对数概率,以及所选 token。例如,如果 `logprobs` 为 5,则 API 将返回 5 个最可能 token 的列表。API 将始终返回 `logprob` 采样 token 的,因此响应中最多可能有 `logprobs+1` 个元素。 + 在以下输出上包含对数概率 `logprobs` ,即最可能的输出 token 以及所选 token。例如,如果 `logprobs` 为 5,API 将返回 5 个最可能 token 的列表。API 将始终返回采样 token 的 `logprob` ,因此响应中最多可以有 `logprobs+1` 个元素。 的最大值为 `logprobs` 5。 - `max_tokens: optional number or null` - 可以在完成内容中生成的最大 [token](/tokenizer) 数量。 + 在补全中可以生成的最大 [token 数](/tokenizer) 。 - 你的提示词的令牌数加上 `max_tokens` 不能超过模型的上下文长度。 [示例 Python 代码](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) 用于计算令牌数。 + 你提示的 token 数量加上 `max_tokens` 不能超过模型的上下文长度。 [用于统计 token 的 Python 代码示例](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) 。 - `n: optional number or null` - 每个提示词要生成的补全数量。 + 针对每个提示要生成的补全数量。 - **注意:** 由于此参数会生成大量补全,可能会迅速消耗你的令牌配额。请谨慎使用,并确保你对 `max_tokens` 和 `stop`. + **注意:** 由于此参数会生成大量补全,因此会很快消耗你的 token 配额。请谨慎使用,并确保你对 `max_tokens` 和 `stop`. - `presence_penalty: optional number or null` - 介于 -2.0 和 2.0 之间的数字。正值会根据新令牌是否出现在现有文本中来惩罚新令牌,从而增加模型谈论新主题的可能性。 + 介于 -2.0 到 2.0 之间的数值。正值会根据新 token 是否已在文本中出现来对其进行惩罚,从而增加模型谈论新话题的可能性。 - [查看关于频率和存在惩罚的更多信息。](/docs/guides/text-generation) + [查看有关频率和存在惩罚的更多信息。](/docs/guides/text-generation) - `seed: optional number or null` - 如果指定,我们的系统将尽力进行确定性采样,使得具有相同 `seed` 和参数的重复请求应返回相同的结果。 + 如果指定了此参数,我们的系统将尽最大努力以确定性方式采样,确保使用相同 `seed` 和参数发起的重复请求会返回相同结果。 - 不保证确定性,你应该参考 `system_fingerprint` 响应参数来监控后端的变化。 + 系统不保证完全的确定性,你可以参考 `system_fingerprint` 响应参数来监控后端的变化。 - `stop: optional string or array of string or null` - 不支持最新的推理模型 `o3` 和 `o4-mini`. + 最新的推理模型不支持此参数 `o3` 和 `o4-mini`. - 最多 4 个序列,API 将停止生成更多令牌。 - 返回的文本将不包含停止序列。 + 最多 4 个序列,当出现这些序列时 API 将停止生成更多 token。返回的 + 文本不会包含停止序列。 - `string` @@ -109,60 +109,60 @@ - `stream: optional boolean or null` - 是否流式返回部分进度。如果设置,令牌将作为仅数据的 [服务器发送事件](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) 在可用时陆续返回,流以 `data: [DONE]` 消息终止。 [示例 Python 代码](https://cookbook.openai.com/examples/how_to_stream_completions). + 是否流式返回部分进度。如果启用,token 将以纯数据形式作为 [服务端发送事件](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) 在生成时立即发送,流以一条 `data: [DONE]` 消息终止。 [用于统计 token 的 Python 代码示例](https://cookbook.openai.com/examples/how_to_stream_completions). - `stream_options: optional ChatCompletionStreamOptions or null` - 流式响应的选项。仅在你设置 `stream: true`. + 流式响应的选项。仅当设置了 `stream: true`. - `include_obfuscation: optional boolean` - 当为 true 时,将启用流混淆。流混淆会在 - 流式增量事件的 `obfuscation` 字段中添加随机字符,以 - 规范化有效负载大小,缓解某些侧信道攻击。 - 这些混淆字段默认包含在内,但会给数据流增加少量 - 开销。如果你信任你的应用与 `include_obfuscation` 之间的网络链路,可以将 - 设为 false 以优化带宽。 - 设为 false 以优化带宽,前提是你信任你的应用与 OpenAI API 之间的网络链路。 + 为 true 时,将启用流混淆。流混淆会向流式增量事件上的 + 字段添加 `obfuscation` 随机字符,以 + 规范化负载大小,作为对某些侧信道攻击的缓解措施。 + 默认会包含这些混淆字段,但会给数据流带来少量 + 开销。你可以将 `include_obfuscation` 设置为 + 如果你的应用程序与以下端点之间的网络链路可信,可设为 false 以优化带宽: + 你的应用程序与 OpenAI API 之间的网络链路可信,可设为 false 以优化带宽。 - `include_usage: optional boolean` - 如果设置,将在 `data: [DONE]` - 消息之前额外流式传输一个分块。该分块上的 `usage` 字段显示整个请求的令牌使用统计信息, - 而 `choices` 字段将始终是一个空 + 如果设置,将在 message 之前流式传输一个额外的数据块 `data: [DONE]` + 对象。该数据块上的 usage `usage` 字段显示该请求的 token 使用情况统计信息 + 整个请求,而该 `choices` 字段将始终是一个空 数组。 - 所有其他分块也将包含一个 `usage` 字段,但值为 null - 。 **注意:** 如果流被中断,你可能无法收到包含请求总 token 使用量的 - 最终使用情况块。 + 所有其他数据块也会包含一个 `usage` 字段,但值为 null + value. **注意:** 如果流被中断,你可能无法收到 + 包含该请求总 token 使用量的最后一个 usage 数据块。 - `suffix: optional string or null` - 插入文本补全后的后缀。 + 插入文本完成后追加的后缀。 - 此参数仅支持 `gpt-3.5-turbo-instruct`. + 该参数仅在以下模型中受支持: `gpt-3.5-turbo-instruct`. - `temperature: optional number or null` - 要使用的采样温度,介于 0 和 2 之间。较高的值(如 0.8)会使输出更随机,而较低的值(如 0.2)会使其更集中和确定。 + 使用的采样温度,介于 0 和 2 之间。较高的值(如 0.8)会使输出更加随机,而较低的值(如 0.2)会使输出更加集中和确定。 - 我们通常建议修改此参数或 `top_p` ,但不要同时修改两者。 + 我们通常建议修改此参数或 top_p, `top_p` 但不要同时修改两者。 - `top_p: optional number or null` - 与温度采样不同的替代方案,称为核采样,其中模型考虑具有 top_p 概率质量的 token 的结果。因此 0.1 表示只考虑包含前 10% 概率质量的 token。 + 一种替代温度采样的方法,称为核采样(nucleus sampling),模型只考虑具有 top_p 概率质量的 token。因此 0.1 表示仅考虑构成前 10% 概率质量的 token。 - 我们通常建议修改此参数或 `temperature` ,但不要同时修改两者。 + 我们通常建议修改此参数或 top_p, `temperature` 但不要同时修改两者。 - `user: optional string` - 代表你的最终用户的唯一标识符,它可以帮助 OpenAI 监控和检测滥用。 [了解更多](/docs/guides/safety-best-practices#end-user-ids). + 用于表示你最终用户的唯一标识符,可以帮助 OpenAI 监控和检测滥用行为。 [了解更多](/docs/guides/safety-best-practices#end-user-ids). -### 返回 +### Returns - `Completion object { id, choices, created, 4 more }` - 表示来自 API 的补全响应。注意:流式和非流式响应对象具有相同的结构(与聊天端点不同)。 + 表示来自 API 的补全响应。注意:流式和非流式响应对象具有相同的结构(与 chat 端点不同)。 - `id: string` @@ -170,13 +170,13 @@ - `choices: array of CompletionChoice` - 模型为输入提示生成的补全选项列表。 + 模型针对输入提示生成的补全选项列表。 - `finish_reason: "stop" or "length" or "content_filter"` - 模型停止生成令牌的原因。这将是 `stop` 如果模型达到自然停止点或提供的停止序列, - `length` 如果达到请求中指定的最大令牌数, - 或者 `content_filter` 如果由于内容过滤器的标志而省略了内容。 + 模型停止生成 token 的原因。该值为 `stop` :如果模型遇到自然停止点或提供的停止序列, + `length` :如果达到了请求中指定的最大 token 数, + :或者 `content_filter` :如果内容因我们内容过滤器的标记而被省略。 - `"stop"` @@ -214,9 +214,9 @@ - `system_fingerprint: optional string` - 此指纹表示模型运行的后端配置。 + 该指纹表示模型运行所用的后端配置。 - 可与 `seed` 请求参数结合使用,以了解何时进行了可能影响确定性的后端更改。 + 可与 `seed` 请求参数配合使用,以了解后端何时发生了可能影响确定性的更改。 - `usage: optional CompletionUsage` @@ -224,68 +224,68 @@ - `completion_tokens: number` - 生成的补全中的令牌数量。 + 生成的补全中的 token 数量。 - `prompt_tokens: number` - 提示中的令牌数量。 + 提示中的 token 数量。 - `total_tokens: number` - 请求中使用的令牌总数(提示 + 补全)。 + 请求中使用的 token 总数(提示 + 补全)。 - `completion_tokens_details: optional object { accepted_prediction_tokens, audio_tokens, reasoning_tokens, 2 more }` - 补全中使用的令牌的细分。 + 补全中使用的 token 明细。 - `accepted_prediction_tokens: optional number` - 使用预测输出时, - 出现在补全结果中的预测部分。 + 当使用 Predicted Outputs 时, + completion 中出现的预测 token。 - `audio_tokens: optional number` - 模型生成的音频输入令牌。 + 由模型生成的音频输入 token。 - `reasoning_tokens: optional number` - 模型为推理生成的令牌。 + 模型用于推理生成的 token。 - `rejected_prediction_tokens: optional number` - 使用预测输出时, - 未出现在补全结果中的预测令牌数。但与 - 推理令牌类似,这些令牌仍计入总 - 补全令牌,并计入计费、输出和上下文窗口 + 当使用 Predicted Outputs 时, + completion 中未出现的预测 token。不过,与 + 推理 token 一样,这些 token 仍会计入用于计费、 + 输出和上下文窗口限制的总 completion token 中。 限制。 - `text_tokens: optional number` - 模型生成的文本输出令牌。 + 由模型生成的文本输出 token。 - `prompt_tokens_details: optional object { audio_tokens, cache_write_tokens, cached_tokens, 2 more }` - 提示中使用的令牌细分。 + 提示词中使用的 token 明细。 - `audio_tokens: optional number` - 提示中存在的音频输入令牌。 + 提示词中存在的音频输入 token。 - `cache_write_tokens: optional number` - 写入缓存的未调整提示令牌数。 + 写入缓存的未调整的提示词 token 数量。 - `cached_tokens: optional number` - 提示中存在的缓存令牌。 + 提示词中存在的已缓存 token。 - `image_tokens: optional number` - 提示中存在的图像输入令牌。 + 提示词中存在的图像输入 token。 - `text_tokens: optional number` - 提示中存在的文本输入令牌。 + 提示词中存在的文本输入 token。 ### 示例 @@ -359,7 +359,7 @@ curl https://api.openai.com/v1/completions \ } ``` -### 非流式 +### 无流式 ```http curl https://api.openai.com/v1/completions \ diff --git a/docs/zh/api/reference/resources/containers/methods/create.md b/docs/zh/api/reference/resources/containers/methods/create.md index 19b521d..d702567 100644 --- a/docs/zh/api/reference/resources/containers/methods/create.md +++ b/docs/zh/api/reference/resources/containers/methods/create.md @@ -1,12 +1,12 @@ -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。通过在页面 URL 末尾添加 `.md` 可获取该页面的 Markdown 版本。 ## 创建容器 **post** `/containers` -创建容器 +Create Container -### 请求体参数 +### 正文参数 - `name: string` @@ -14,11 +14,11 @@ - `expires_after: optional object { anchor, minutes }` - 容器过期时间(秒),相对于“锚点”时间。 + 容器过期时间(秒),相对于“anchor”时间计算。 - `anchor: "last_active_at"` - 过期时间的时间锚点。目前仅支持“last_active_at”。 + 过期时间的时间锚点。目前仅支持 “last_active_at”。 - `"last_active_at"` @@ -26,11 +26,11 @@ - `file_ids: optional array of string` - 要复制到容器的文件ID。 + 要复制到容器中的文件 ID。 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"` - 容器的可选内存限制。默认为“1g”。 + 容器的可选内存限制。默认为 “1g”。 - `"1g"` @@ -56,39 +56,39 @@ - `allowed_domains: array of string` - 当类型为时,允许的域名列表 `allowlist`. + 当 type 为 `allowlist`. - `type: "allowlist"` - 仅允许对指定域名的出站网络访问。始终 `allowlist`. + 仅允许向指定域发出站网络访问。始终 `allowlist`. - `"allowlist"` - `domain_secrets: optional array of ContainerNetworkPolicyDomainSecret` - 可选,用于允许列表域名的域范围密钥。 + 允许列表中域的可选域作用域密钥。 - `domain: string` - 与密钥关联的域名。 + 与该密钥关联的域。 - `name: string` - 要为该域名注入的密钥名称。 + 为该域注入的密钥名称。 - `value: string` - 要为该域名注入的密钥值。 + 为该域注入的密钥值。 - `skills: optional array of SkillReference or InlineSkill` - 可选的技能列表,通过ID或内联数据引用。 + 通过 id 或内联数据引用的可选技能列表。 - `SkillReference object { skill_id, type, version }` - `skill_id: string` - 所引用技能的ID。 + 所引用技能的 ID。 - `type: "skill_reference"` @@ -98,7 +98,7 @@ - `version: optional string` - 可选的技能版本。使用正整数或“latest”。省略则使用默认值。 + 可选的技能版本。使用正整数或 “latest”。省略以使用默认值。 - `InlineSkill object { description, name, source, type }` @@ -116,23 +116,23 @@ - `data: string` - Base64 编码的技能 zip 包。 + Base64 编码的 skill zip 包。 - `media_type: "application/zip"` - 内联技能负载的媒体类型。必须为 `application/zip`. + 内联 skill 负载的媒体类型。必须是 `application/zip`. - `"application/zip"` - `type: "base64"` - 内联技能来源的类型。必须为 `base64`. + 内联 skill 源的类型。必须是 `base64`. - `"base64"` - `type: "inline"` - 为此请求定义一个内联技能。 + 为本次请求定义一个内联 skill。 - `"inline"` @@ -144,7 +144,7 @@ - `created_at: number` - 创建容器时的 Unix 时间戳(以秒为单位)。 + 容器创建时的 Unix 时间戳(以秒为单位)。 - `name: string` @@ -160,27 +160,27 @@ - `expires_after: optional object { anchor, minutes }` - 容器将在该时间段后过期。 - 锚点是过期的参考点。 - 分钟数是指容器在锚点之后过期前的分钟数。 + 容器将在此时段后过期。 + 锚点是过期时间的参考点。 + minutes 是容器过期前相对于锚点的分钟数。 - `anchor: optional "last_active_at"` - 过期的参考点。 + 过期时间的参考点。 - `"last_active_at"` - `minutes: optional number` - 容器在锚点之后过期前的分钟数。 + 容器过期前相对于锚点的分钟数。 - `last_active_at: optional number` - 容器最近活跃时的 Unix 时间戳(以秒为单位)。 + 容器最近一次活跃时的 Unix 时间戳(以秒为单位)。 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"` - 为容器配置的内存限制。 + 为容器配置的内存上限。 - `"1g"` @@ -204,7 +204,7 @@ - `allowed_domains: optional array of string` - 允许的出站域名,当 `type` 为 `allowlist`. + 当网络策略模式为 `type` 为 `allowlist`. ### 示例 diff --git a/docs/zh/api/reference/resources/containers/methods/delete.md b/docs/zh/api/reference/resources/containers/methods/delete.md index 07cc5e8..f3e7de9 100644 --- a/docs/zh/api/reference/resources/containers/methods/delete.md +++ b/docs/zh/api/reference/resources/containers/methods/delete.md @@ -1,10 +1,10 @@ -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 -## 删除容器 +## Delete a container -**删除** `/containers/{container_id}` +**delete** `/containers/{container_id}` -删除容器 +Delete Container ### 路径参数 diff --git a/docs/zh/api/reference/resources/containers/methods/list.md b/docs/zh/api/reference/resources/containers/methods/list.md index aabf6f0..5075873 100644 --- a/docs/zh/api/reference/resources/containers/methods/list.md +++ b/docs/zh/api/reference/resources/containers/methods/list.md @@ -1,34 +1,34 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。在页面 URL 后追加 `.md` 即可获取 Markdown 版本的文档页面。 ## 列出容器 -**获取** `/containers` +**get** `/containers` -列出容器 +List Containers -### 查询参数 +### Query Parameters - `after: optional string` - 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发出一个列表请求并收到 100 个对象(以 obj_foo 结尾),你的后续调用可以包含 after=obj_foo 以获取列表的下一页。 + 用于分页的光标。 `after` 是一个对象 ID,用于标识你在列表中的位置。例如,如果你发起列表请求并收到 100 个对象,以 obj_foo 结尾,则后续调用可以包含 after=obj_foo 以获取列表的下一页。 - `limit: optional number` - 对返回对象数量的限制。限制范围可在 1 到 100 之间,默认为 20。 + 要返回的对象数量限制。限制范围为 1 到 100,默认为 20。 - `name: optional string` - 按容器名称筛选结果。 + 按容器名称过滤结果。 - `order: optional "asc" or "desc"` - 按对象的 `created_at` 时间戳排序。 `asc` 用于升序排列, `desc` 用于降序排列。 + 按对象的 `created_at` 时间戳排序。 `asc` 表示升序, `desc` 表示降序。 - `"asc"` - `"desc"` -### 返回 +### Returns - `data: array of object { id, created_at, name, 6 more }` @@ -56,27 +56,27 @@ - `expires_after: optional object { anchor, minutes }` - 容器将在此时段后过期。 - 锚点是过期的参考点。 - 分钟数是锚点之后、容器过期之前的分钟数。 + 容器将在此时间周期之后过期。 + 锚点是过期时间的参考点。 + minutes 表示容器在锚点之后多少分钟过期。 - `anchor: optional "last_active_at"` - 过期的参考点。 + 过期时间的参考点。 - `"last_active_at"` - `minutes: optional number` - 锚点之后、容器过期之前的分钟数。 + 容器在锚点之后多少分钟过期。 - `last_active_at: optional number` - 容器最后一次活动时的 Unix 时间戳(以秒为单位)。 + 容器最近活跃时的 Unix 时间戳(以秒为单位)。 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"` - 为容器配置的内存限制。 + 为容器配置的内存上限。 - `"1g"` @@ -100,7 +100,7 @@ - `allowed_domains: optional array of string` - 允许的出站域名,当 `type` 为 `allowlist`. + 在以下模式下的允许的出站域名 `type` 为 `allowlist`. - `first_id: string` @@ -108,7 +108,7 @@ - `has_more: boolean` - 是否有更多可用容器。 + 是否还有更多容器可用。 - `last_id: string` diff --git a/docs/zh/api/reference/resources/containers/methods/retrieve.md b/docs/zh/api/reference/resources/containers/methods/retrieve.md index dcb09e2..eab1621 100644 --- a/docs/zh/api/reference/resources/containers/methods/retrieve.md +++ b/docs/zh/api/reference/resources/containers/methods/retrieve.md @@ -1,8 +1,8 @@ -> 完整文档索引见 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 ## 检索容器 -**获取** `/containers/{container_id}` +**get** `/containers/{container_id}` 检索容器 @@ -10,7 +10,7 @@ - `container_id: string` -### 返回 +### 返回值 - `id: string` @@ -18,7 +18,7 @@ - `created_at: number` - 容器创建时的 Unix 时间戳(秒)。 + 容器创建时的 Unix 时间戳(单位:秒)。 - `name: string` @@ -34,27 +34,27 @@ - `expires_after: optional object { anchor, minutes }` - 容器将在此时间段后过期。 - 锚点是过期的参考点。 - 分钟数是指从锚点开始到容器过期前的分钟数。 + 容器将在此时段之后过期。 + 锚点是过期时间的参考点。 + minutes 表示容器在锚点之后过期的分钟数。 - `anchor: optional "last_active_at"` - 过期的参考点。 + 过期时间的参考点。 - `"last_active_at"` - `minutes: optional number` - 从锚点开始到容器过期前的分钟数。 + 容器在锚点之后过期的分钟数。 - `last_active_at: optional number` - 容器最后一次活跃时的 Unix 时间戳(秒)。 + 容器最近一次活跃时的 Unix 时间戳(单位:秒)。 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"` - 为容器配置的内存限制。 + 为容器配置的内存上限。 - `"1g"` @@ -78,7 +78,7 @@ - `allowed_domains: optional array of string` - 当 `type` 为 `allowlist`. + 当处于 `type` 状态时允许的外出访问域名 `allowlist`. ### 示例 diff --git a/docs/zh/api/reference/resources/containers/subresources/files.md b/docs/zh/api/reference/resources/containers/subresources/files.md index e4c06f7..64b5e72 100644 --- a/docs/zh/api/reference/resources/containers/subresources/files.md +++ b/docs/zh/api/reference/resources/containers/subresources/files.md @@ -1,14 +1,14 @@ -# 文件 +# Files -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取文档页面的 Markdown 版本。 -## 创建容器文件 +## Create container file -**post** `/containers/{container_id}/files` +**发布** `/containers/{container_id}/files` 创建容器文件 -你可以发送包含原始文件内容的多部分/表单数据请求,或包含文件 ID 的 JSON 请求。 +你可以发送包含原始文件内容的 multipart/form-data 请求,也可以发送包含文件 ID 的 JSON 请求。 ### 路径参数 @@ -18,13 +18,13 @@ - `file: optional string` - 要上传的 File 对象(而非文件名)。 + 要上传的 File 对象(非文件名)。 - `file_id: optional string` - 要创建的文件名。 + 要创建的文件的名称。 -### 返回 +### Returns - `id: string` @@ -48,7 +48,7 @@ - `path: string` - 文件在容器中的路径。 + 容器中文件的路径。 - `source: string` @@ -150,25 +150,25 @@ curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2 - `after: optional string` - 用于分页的光标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发起一个列表请求并收到 100 个对象(以 obj_foo 结尾),你随后的调用可以包含 after=obj_foo 来获取列表的下一页。 + 用于分页查询的游标。 `after` 是一个对象 ID,用于标识你在列表中的位置。例如,如果你发起列表请求并收到 100 个对象,最后一个为 obj_foo,那么后续调用可以包含 after=obj_foo 以获取列表的下一页。 - `limit: optional number` - 返回对象数量的限制。限制范围可在 1 到 100 之间,默认值为 20。 + 要返回的对象数量的上限。Limit 范围介于 1 到 100 之间,默认为 20。 - `order: optional "asc" or "desc"` - 按对象的 `created_at` 时间戳排序。 `asc` 用于升序, `desc` 用于降序。 + 按对象的 `created_at` 时间戳排序。 `asc` 表示升序排列, `desc` 表示降序排列。 - `"asc"` - `"desc"` -### 返回 +### Returns - `data: array of object { id, bytes, container_id, 4 more }` - 容器文件的列表。 + 容器文件列表。 - `id: string` @@ -192,7 +192,7 @@ curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2 - `path: string` - 文件在容器中的路径。 + 容器中文件的路径。 - `source: string` @@ -204,7 +204,7 @@ curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2 - `has_more: boolean` - 是否还有更多可用的文件。 + 是否还有更多文件可用。 - `last_id: string` @@ -212,7 +212,7 @@ curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2 - `object: "list"` - 返回的对象类型,必须为 'list'。 + 返回对象的类型,必须为 'list'。 - `"list"` @@ -274,11 +274,11 @@ curl https://api.openai.com/v1/containers/cntr_682e0e7318108198aa783fd921ff305e0 } ``` -## 检索容器文件 +## Retrieve container file **get** `/containers/{container_id}/files/{file_id}` -检索容器文件 +Retrieve Container File ### 路径参数 @@ -286,7 +286,7 @@ curl https://api.openai.com/v1/containers/cntr_682e0e7318108198aa783fd921ff305e0 - `file_id: string` -### 返回 +### Returns - `id: string` @@ -298,11 +298,11 @@ curl https://api.openai.com/v1/containers/cntr_682e0e7318108198aa783fd921ff305e0 - `container_id: string` - 此文件所属的容器。 + 该文件所属的容器。 - `created_at: number` - 文件创建时的 Unix 时间戳(秒)。 + 文件创建时的 Unix 时间戳(以秒为单位)。 - `object: string` @@ -310,7 +310,7 @@ curl https://api.openai.com/v1/containers/cntr_682e0e7318108198aa783fd921ff305e0 - `path: string` - 文件在容器中的路径。 + 容器中文件的路径。 - `source: string` @@ -358,7 +358,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ } ``` -## 域类型 +## 域名类型 ### 文件创建响应 @@ -370,7 +370,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ - `bytes: number` - 文件的字节大小。 + 文件的大小(以字节为单位)。 - `container_id: string` @@ -378,7 +378,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ - `created_at: number` - 创建文件时的 Unix 时间戳(秒)。 + 文件创建时的 Unix 时间戳(以秒为单位)。 - `object: string` @@ -386,7 +386,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ - `path: string` - 文件在容器中的路径。 + 容器中文件的路径。 - `source: string` @@ -410,7 +410,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ - `created_at: number` - 文件创建时的 Unix 时间戳(秒)。 + 文件创建时的 Unix 时间戳(以秒为单位)。 - `object: string` @@ -418,7 +418,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ - `path: string` - 文件在容器中的路径。 + 容器中文件的路径。 - `source: string` @@ -434,15 +434,15 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ - `bytes: number` - 文件大小(字节)。 + 文件的大小(以字节为单位)。 - `container_id: string` - 此文件所属的容器。 + 该文件所属的容器。 - `created_at: number` - 文件创建时的 Unix 时间戳(秒)。 + 文件创建时的 Unix 时间戳(以秒为单位)。 - `object: string` @@ -450,7 +450,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ - `path: string` - 文件在容器中的路径。 + 容器中文件的路径。 - `source: string` @@ -462,7 +462,7 @@ curl https://api.openai.com/v1/containers/container_123/files/file_456 \ **get** `/containers/{container_id}/files/{file_id}/content` -检索容器文件内容 +Retrieve Container File Content ### 路径参数 diff --git a/docs/zh/api/reference/resources/containers/subresources/files/methods/create.md b/docs/zh/api/reference/resources/containers/subresources/files/methods/create.md index 7ed0009..8adc575 100644 --- a/docs/zh/api/reference/resources/containers/subresources/files/methods/create.md +++ b/docs/zh/api/reference/resources/containers/subresources/files/methods/create.md @@ -1,4 +1,4 @@ -> 如需查看完整的文档索引,请参见 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 后追加 `.md` 即可获取对应文档页面的 Markdown 版本。 ## 创建容器文件 @@ -6,7 +6,7 @@ 创建容器文件 -你可以发送一个包含原始文件内容的 multipart/form-data 请求,或一个包含文件 ID 的 JSON 请求。 +你可以发送包含原始文件内容的 multipart/form-data 请求,也可以发送带有文件 ID 的 JSON 请求。 ### 路径参数 @@ -16,13 +16,13 @@ - `file: optional string` - 要上传的 File 对象(而非文件名)。 + 要上传的文件对象(而非文件名)。 - `file_id: optional string` 要创建的文件的名称。 -### 返回 +### Returns - `id: string` @@ -30,7 +30,7 @@ - `bytes: number` - 文件的字节大小。 + 文件的大小(以字节为单位)。 - `container_id: string` @@ -38,7 +38,7 @@ - `created_at: number` - 文件创建时的 Unix 时间戳(秒)。 + 文件创建时的 Unix 时间戳(以秒为单位)。 - `object: string` @@ -61,7 +61,7 @@ curl https://api.openai.com/v1/containers/$CONTAINER_ID/files \ -d '{}' ``` -#### 响应 +#### Response ```json { @@ -83,7 +83,7 @@ curl https://api.openai.com/v1/containers/cntr_682e0e7318108198aa783fd921ff305e0 -F file="@example.txt" ``` -#### 响应 +#### Response ```json { diff --git a/docs/zh/api/reference/resources/containers/subresources/files/methods/delete.md b/docs/zh/api/reference/resources/containers/subresources/files/methods/delete.md index 81b7c33..452ba19 100644 --- a/docs/zh/api/reference/resources/containers/subresources/files/methods/delete.md +++ b/docs/zh/api/reference/resources/containers/subresources/files/methods/delete.md @@ -1,4 +1,4 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。通过向页面 URL 追加 `.md` 可获取文档页面的 Markdown 版本。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 ## 删除容器文件 diff --git a/docs/zh/api/reference/resources/containers/subresources/files/methods/list.md b/docs/zh/api/reference/resources/containers/subresources/files/methods/list.md index 8502297..af8fa46 100644 --- a/docs/zh/api/reference/resources/containers/subresources/files/methods/list.md +++ b/docs/zh/api/reference/resources/containers/subresources/files/methods/list.md @@ -1,4 +1,4 @@ -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取该页面的 Markdown 版本。 ## 列出容器文件 @@ -14,11 +14,11 @@ - `after: optional string` - 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发起列表请求收到 100 个对象,并以 obj_foo 结尾,那么后续调用可以包含 after=obj_foo 以获取列表的下一页。 + 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发起列表请求并收到 100 个对象,以 obj_foo 结尾,那么你的下一次调用可以包含 after=obj_foo 以获取列表的下一页。 - `limit: optional number` - 对要返回的对象数量的限制。限制范围在 1 到 100 之间,默认值为 20。 + 返回对象数量的上限。Limit 范围在 1 到 100 之间,默认值为 20。 - `order: optional "asc" or "desc"` @@ -28,7 +28,7 @@ - `"desc"` -### 返回 +### Returns - `data: array of object { id, bytes, container_id, 4 more }` @@ -44,7 +44,7 @@ - `container_id: string` - 此文件所属的容器。 + 该文件所属的容器。 - `created_at: number` @@ -68,7 +68,7 @@ - `has_more: boolean` - 是否还有更多可用文件。 + 是否有更多文件可用。 - `last_id: string` diff --git a/docs/zh/api/reference/resources/containers/subresources/files/methods/retrieve.md b/docs/zh/api/reference/resources/containers/subresources/files/methods/retrieve.md index a76e399..ddbad8c 100644 --- a/docs/zh/api/reference/resources/containers/subresources/files/methods/retrieve.md +++ b/docs/zh/api/reference/resources/containers/subresources/files/methods/retrieve.md @@ -1,10 +1,10 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取该页面的 Markdown 版本。 ## 检索容器文件 **get** `/containers/{container_id}/files/{file_id}` -检索容器文件 +Retrieve Container File ### 路径参数 @@ -20,11 +20,11 @@ - `bytes: number` - 文件的大小(以字节为单位)。 + 文件大小(以字节为单位)。 - `container_id: string` - 该文件所属的容器。 + 此文件所属的容器。 - `created_at: number` @@ -36,7 +36,7 @@ - `path: string` - 文件在容器中的路径。 + 容器中文件的路径。 - `source: string` diff --git a/docs/zh/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md b/docs/zh/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md index e3de0f0..1b3553e 100644 --- a/docs/zh/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md +++ b/docs/zh/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve.md @@ -1,8 +1,8 @@ -> 完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 获取文档页面的 Markdown 版本。 -## 检索容器文件内容 +## Retrieve container file content -**获取** `/containers/{container_id}/files/{file_id}/content` +**get** `/containers/{container_id}/files/{file_id}/content` 检索容器文件内容 diff --git a/docs/zh/api/reference/resources/conversations/methods/delete.md b/docs/zh/api/reference/resources/conversations/methods/delete.md index 27d904b..b127377 100644 --- a/docs/zh/api/reference/resources/conversations/methods/delete.md +++ b/docs/zh/api/reference/resources/conversations/methods/delete.md @@ -1,10 +1,10 @@ -> 有关完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾附加 `.md` 即可获取该页面的 Markdown 版本。 -## 删除会话 +## 删除对话 -**删除** `/conversations/{conversation_id}` +**delete** `/conversations/{conversation_id}` -删除对话。对话中的项目不会被删除。 +删除对话。不会删除对话中的条目。 ### 路径参数 diff --git a/docs/zh/api/reference/resources/conversations/methods/retrieve.md b/docs/zh/api/reference/resources/conversations/methods/retrieve.md index 33cfb87..cdec0a6 100644 --- a/docs/zh/api/reference/resources/conversations/methods/retrieve.md +++ b/docs/zh/api/reference/resources/conversations/methods/retrieve.md @@ -1,4 +1,4 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 ## 检索对话 @@ -16,16 +16,16 @@ - `id: string` - 会话的唯一 ID。 + 该对话的唯一 ID。 - `created_at: number` - 会话创建时间,以 Unix 纪元以来的秒数计量。 + 会话创建的时间,以自 Unix 纪元以来的秒数衡量。 - `metadata: unknown` - 可附加到对象上的 16 个键值对集合。这在以结构化格式存储关于对象的额外信息,以及通过 API 或仪表盘查询对象时很有用。 - 键为字符串,最大长度为 64 个字符。值为字符串,最大长度为 512 个字符。 + 可以附加到对象上的 16 个键值对。这对于以结构化格式存储对象的附加信息,以及通过 API 或控制面板查询对象非常有用。 + 键为字符串,最长长度为 64 个字符。值为字符串,最长长度为 512 个字符。 - `object: "conversation"` diff --git a/docs/zh/api/reference/resources/conversations/methods/update.md b/docs/zh/api/reference/resources/conversations/methods/update.md index 41962e9..91c9028 100644 --- a/docs/zh/api/reference/resources/conversations/methods/update.md +++ b/docs/zh/api/reference/resources/conversations/methods/update.md @@ -1,6 +1,6 @@ -> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 获取文档页面的 Markdown 版本。 -## 更新对话 +## 更新会话 **post** `/conversations/{conversation_id}` @@ -14,14 +14,14 @@ - `metadata: Metadata or null` - 可附加到对象上的16组键值对。这可以 - 用于以结构化格式存储关于对象的额外信息, - 并通过 API 或仪表盘查询对象。 + 可附加到对象的 16 组键值对。可用于 + 以结构化格式存储对象的附加信息,并通过 + API 或控制台查询对象。 - 键是字符串,最大长度为64个字符。值是字符串 - 最大长度为512个字符。 + 键为字符串,最大长度为 64 个字符;值为字符串, + 最大长度为 512 个字符。 -### 返回 +### Returns - `Conversation object { id, created_at, metadata, object }` @@ -31,12 +31,12 @@ - `created_at: number` - 对话创建的时间,以 Unix 纪元以来的秒数衡量。 + 对话创建的时间,以自 Unix 纪元以来的秒数表示。 - `metadata: unknown` - 可附加到对象的一组 16 个键值对。这可用于以结构化格式存储有关对象的附加信息,并通过 API 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串,最大长度为 512 个字符。 + 可以附加到对象的 16 个键值对集合。这可用于以结构化格式存储有关对象的附加信息,并通过 API 或控制面板查询对象。 + 键为字符串,最长 64 个字符。值为字符串,最长 512 个字符。 - `object: "conversation"` diff --git a/docs/zh/api/reference/resources/embeddings.md b/docs/zh/api/reference/resources/embeddings.md index 9533809..270b089 100644 --- a/docs/zh/api/reference/resources/embeddings.md +++ b/docs/zh/api/reference/resources/embeddings.md @@ -1,38 +1,38 @@ -# 嵌入 +# Embeddings -> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 末尾追加 `.md` 获取。 +> 完整的文档索引请参阅 [llms.txt](/llms.txt)。可在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 -## 创建嵌入 +## Create embeddings **post** `/embeddings` -创建表示输入文本的嵌入向量。 +创建一个表示输入文本的嵌入向量。 ### 请求体参数 - `input: string or array of string or array of number or array of array of number` - 要嵌入的输入文本,编码为字符串或 token 数组。要在单个请求中嵌入多个输入,请传递字符串数组或 token 数组的数组。输入不得超过模型的最大输入 token 数(所有嵌入模型为 8192 个 token),不能是空字符串,且任何数组的维度不得超过 2048。 [Python 代码示例](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) 用于计算 token 数。除了每次输入的限制外,所有嵌入模型还强制要求单个请求中所有输入的总 token 数不超过 300,000。 + 用于嵌入的输入文本,可以编码为字符串或 token 数组。如果要在单个请求中嵌入多个输入,请传入字符串数组或 token 数组的数组。输入不得超过该模型的最大输入 token 数(所有嵌入模型均为 8192 个 token),不能为空字符串,任何数组的维度必须不超过 2048。 [Python 代码示例](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) 用于统计 token。除了每个输入的 token 上限外,所有嵌入模型还限制单个请求中所有输入的 token 总数不得超过 300,000。 - `String = string` - 将被转换为嵌入的字符串。 + 将被转换为嵌入向量的字符串。 - `Array = array of string` - 将被转换为嵌入的字符串数组。 + 将被转换为嵌入向量的字符串数组。 - `Array = array of number` - 将被转换为嵌入的整数数组。 + 将被转换为嵌入向量的整数数组。 - `Array = array of array of number` - 包含将被转换为嵌入的整数的数组的数组。 + 包含整数的数组的数组,将被转换为嵌入向量。 - `model: string or EmbeddingModel` - 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API 查看所有可用模型,或查看我们的 [模型概览](/docs/models) 了解它们的描述。 + 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API 查看所有可用模型,或参阅我们的 [模型概述](/docs/models) 了解相关说明。 - `string` @@ -46,11 +46,11 @@ - `dimensions: optional number` - 生成的输出嵌入应具有的维度数。仅在以下模型中支持 `text-embedding-3` 及更高版本模型。 + 生成的输出嵌入向量应具有的维度数。仅在 `text-embedding-3` 及更高版本的模型中受支持。 - `encoding_format: optional "float" or "base64"` - 返回嵌入的格式。可以是 `float` 或 [`base64`](https://pypi.org/project/pybase64/). + 返回嵌入向量的格式。可以是 `float` 或 [`base64`](https://pypi.org/project/pybase64/). - `"float"` @@ -58,19 +58,19 @@ - `user: optional string` - 代表最终用户的唯一标识符,可帮助 OpenAI 监控和检测滥用。 [了解更多](/docs/guides/safety-best-practices#end-user-ids). + 用于标识你终端用户的唯一标识符,可以帮助 OpenAI 监控和检测滥用行为。 [了解更多](/docs/guides/safety-best-practices#end-user-ids). -### 返回 +### 返回值 - `CreateEmbeddingResponse object { data, model, object, usage }` - `data: array of Embedding` - 模型生成的嵌入向量列表。 + 模型生成的嵌入列表。 - `embedding: array of number` - 嵌入向量,为一个浮点数列表。向量的长度取决于模型,详见 [嵌入指南](/docs/guides/embeddings). + 嵌入向量,是一个浮点数列表。向量的长度取决于所使用的模型,详见 [嵌入指南](/docs/guides/embeddings). - `index: number` @@ -94,15 +94,15 @@ - `usage: object { prompt_tokens, total_tokens }` - 请求的使用情况信息。 + 本次请求的使用信息。 - `prompt_tokens: number` - 提示词所用的令牌数量。 + 提示词使用的 token 数量。 - `total_tokens: number` - 请求所用的令牌总数。 + 本次请求使用的 token 总数。 ### 示例 @@ -180,7 +180,7 @@ curl https://api.openai.com/v1/embeddings \ ## 域类型 -### 创建嵌入响应 +### Create Embedding 响应 - `CreateEmbeddingResponse object { data, model, object, usage }` @@ -190,7 +190,7 @@ curl https://api.openai.com/v1/embeddings \ - `embedding: array of number` - 嵌入向量,即浮点数列表。向量的长度取决于模型,具体参见 [嵌入指南](/docs/guides/embeddings). + 嵌入向量,是一个浮点数列表。向量的长度取决于所使用的模型,详见 [嵌入指南](/docs/guides/embeddings). - `index: number` @@ -214,25 +214,25 @@ curl https://api.openai.com/v1/embeddings \ - `usage: object { prompt_tokens, total_tokens }` - 请求的使用情况信息。 + 本次请求的使用信息。 - `prompt_tokens: number` - 提示词使用的令牌数。 + 提示词使用的 token 数量。 - `total_tokens: number` - 请求使用的令牌总数。 + 本次请求使用的 token 总数。 -### 嵌入 +### Embedding - `Embedding object { embedding, index, object }` - 表示由嵌入端点返回的嵌入向量。 + 表示由 embedding 接口返回的嵌入向量。 - `embedding: array of number` - 嵌入向量,即浮点数列表。向量的长度取决于模型,详见 [嵌入指南](/docs/guides/embeddings). + 嵌入向量,是一个浮点数列表。向量的长度取决于所使用的模型,详见 [嵌入指南](/docs/guides/embeddings). - `index: number` @@ -244,7 +244,7 @@ curl https://api.openai.com/v1/embeddings \ - `"embedding"` -### 嵌入模型 +### Embedding Model - `EmbeddingModel = "text-embedding-ada-002" or "text-embedding-3-small" or "text-embedding-3-large"` diff --git a/docs/zh/api/reference/resources/embeddings/methods/create.md b/docs/zh/api/reference/resources/embeddings/methods/create.md index c95c5e1..6b14270 100644 --- a/docs/zh/api/reference/resources/embeddings/methods/create.md +++ b/docs/zh/api/reference/resources/embeddings/methods/create.md @@ -1,4 +1,4 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取 Markdown 版本的文档页面。 ## 创建嵌入 @@ -6,31 +6,31 @@ 创建表示输入文本的嵌入向量。 -### 正文参数 +### Body 参数 - `input: string or array of string or array of number or array of array of number` - 要嵌入的输入文本,编码为字符串或 token 数组。要在单个请求中嵌入多个输入,请传递字符串数组或 token 数组的数组。输入不得超过模型的最大输入 token 数(所有嵌入模型为 8192 个 token),不能为空字符串,且任何数组的维度均不得超过 2048。 [示例 Python 代码](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) 用于计算 token 数。除了每个输入的限制外,所有嵌入模型还强制要求单次请求中所有输入的总 token 数不超过 300,000。 + 用于嵌入的输入文本,编码为字符串或 token 数组。如需在单个请求中嵌入多个输入,请传入字符串数组或 token 数组的数组。输入不得超过模型的最大输入 token 数(所有嵌入模型均为 8192 个 token),不能为空字符串,且任何数组的维度必须不超过 2048。 [Python 代码示例](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) 用于计算 token 数。除了每个输入的 token 上限外,所有嵌入模型在单个请求中跨所有输入累计最多 300,000 个 token。 - `String = string` - 将被转换为嵌入的字符串。 + 将被转换为嵌入向量的字符串。 - `Array = array of string` - 将被转换为嵌入的字符串数组。 + 将被转换为嵌入向量的字符串数组。 - `Array = array of number` - 将被转换为嵌入的整数数组。 + 将被转换为嵌入向量的整数数组。 - `Array = array of array of number` - 将被转换为嵌入的包含整数的数组的数组。 + 包含整数的数组的数组,将被转换为嵌入向量。 - `model: string or EmbeddingModel` - 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API 查看所有可用模型,或参阅我们的 [模型概览](/docs/models) 了解它们的描述。 + 要使用的模型 ID。你可以使用 [列出模型](/docs/api-reference/models/list) API 查看所有可用模型,或参阅我们的 [模型概述](/docs/models) 了解相关描述。 - `string` @@ -44,11 +44,11 @@ - `dimensions: optional number` - 生成的输出嵌入应具有的维度数。仅 `text-embedding-3` 及更高版本模型支持。 + 生成的输出嵌入向量应具有的维度数。仅在 `text-embedding-3` 及更高版本的模型中受支持。 - `encoding_format: optional "float" or "base64"` - 返回嵌入的格式。可以是 `float` 或 [`base64`](https://pypi.org/project/pybase64/). + 返回嵌入向量的格式。可以是 `float` 或 [`base64`](https://pypi.org/project/pybase64/). - `"float"` @@ -56,9 +56,9 @@ - `user: optional string` - 代表最终用户的唯一标识符,可帮助 OpenAI 监控和检测滥用。 [了解更多](/docs/guides/safety-best-practices#end-user-ids). + 用于标识你终端用户的唯一标识符,可帮助 OpenAI 监控和检测滥用行为。 [了解更多](/docs/guides/safety-best-practices#end-user-ids). -### 返回 +### Returns - `CreateEmbeddingResponse object { data, model, object, usage }` @@ -68,7 +68,7 @@ - `embedding: array of number` - 嵌入向量,即浮点数列表。向量的长度取决于模型,如 [嵌入指南](/docs/guides/embeddings). + 嵌入向量,即一个浮点数列表。向量长度取决于模型,如 [embedding guide](/docs/guides/embeddings). - `index: number` @@ -76,31 +76,31 @@ - `object: "embedding"` - 对象类型,始终为“embedding”。 + 对象类型,始终为 "embedding"。 - `"embedding"` - `model: string` - 用于生成嵌入的模型名称。 + 用于生成该嵌入的模型名称。 - `object: "list"` - 对象类型,始终为“list”。 + 对象类型,始终为 "list"。 - `"list"` - `usage: object { prompt_tokens, total_tokens }` - 请求的使用信息。 + 本次请求的使用信息。 - `prompt_tokens: number` - 提示使用的令牌数量。 + 提示词所使用的 token 数。 - `total_tokens: number` - 请求使用的令牌总数。 + 本次请求所使用的 token 总数。 ### 示例 diff --git a/docs/zh/api/reference/resources/evals/methods/delete.md b/docs/zh/api/reference/resources/evals/methods/delete.md index 16af7a8..e225e22 100644 --- a/docs/zh/api/reference/resources/evals/methods/delete.md +++ b/docs/zh/api/reference/resources/evals/methods/delete.md @@ -1,10 +1,10 @@ -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。如需获取文档页面的 Markdown 版本,可在页面 URL 后追加 `.md` 来访问。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 ## 删除评估 -**删除** `/evals/{eval_id}` +**delete** `/evals/{eval_id}` -删除一个评估。 +删除评估。 ### 路径参数 diff --git a/docs/zh/api/reference/resources/evals/methods/list.md b/docs/zh/api/reference/resources/evals/methods/list.md index e55ce0e..a843ad7 100644 --- a/docs/zh/api/reference/resources/evals/methods/list.md +++ b/docs/zh/api/reference/resources/evals/methods/list.md @@ -1,6 +1,6 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt). 可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 -## 列出评估 +## List evals **get** `/evals` @@ -10,15 +10,15 @@ - `after: optional string` - 上一个分页请求中最后一个评估的标识符。 + 上一次分页请求中最后一个 eval 的标识符。 - `limit: optional number` - 要检索的评估数量。 + 要检索的 eval 数量。 - `order: optional "asc" or "desc"` - 按时间戳对评估进行排序的顺序。使用 `asc` 表示升序,或 `desc` 表示降序。 + 按时间戳对 eval 进行排序的顺序。使用 `asc` 表示升序,或 `desc` 表示降序。 - `"asc"` @@ -26,18 +26,18 @@ - `order_by: optional "created_at" or "updated_at"` - 评估可以按创建时间或最后更新时间排序。使用 + eval 可以按创建时间或最后更新时间排序。使用 `created_at` 表示创建时间,或 `updated_at` 表示最后更新时间。 - `"created_at"` - `"updated_at"` -### 返回 +### Returns - `data: array of object { id, created_at, data_source_config, 4 more }` - 一个由 eval 对象组成的数组。 + eval 对象数组。 - `id: string` @@ -45,7 +45,7 @@ - `created_at: number` - 创建 eval 时的 Unix 时间戳(秒)。 + 评估创建时的 Unix 时间戳(单位:秒)。 - `data_source_config: EvalCustomDataSourceConfig or object { schema, type, metadata } or EvalStoredCompletionsDataSourceConfig` @@ -53,16 +53,16 @@ - `EvalCustomDataSourceConfig object { schema, type }` - 一个 CustomDataSourceConfig,用于指定你的 `item` 以及可选的 `sample` 命名空间。 - 响应模式定义了数据将被用于的形状: + 用于指定数据模式的 CustomDataSourceConfig `item` ,以及可选的 `sample` 命名空间。 + 响应模式定义了数据的形状,可用于: - - 用于定义你的测试标准,以及 - - 创建运行时需要哪些数据 + - 定义你的测试标准,以及 + - 创建运行(run)时所需的数据。 - `schema: map[unknown]` - 运行数据源项目的 JSON 模式。 - 了解如何构建 JSON 模式 [此处](https://json-schema.org/). + 运行数据源项的 JSON 模式。 + 了解如何构建 JSON 模式, [请参见此处](https://json-schema.org/). - `type: "custom"` @@ -72,15 +72,15 @@ - `LogsDataSourceConfig object { schema, type, metadata }` - 一个 LogsDataSourceConfig,用于指定你的日志查询的元数据属性。 - 这通常是元数据,例如 `usecase=chatbot` 或 `prompt-version=v2`,等。 - 该数据源配置返回的模式用于定义你的评估中可用的变量。 - `item` 以及 `sample` 在使用此数据源配置时均已定义。 + 用于指定日志查询元数据属性的 LogsDataSourceConfig。 + 通常是类似 `usecase=chatbot` 或 `prompt-version=v2`,等元数据。 + 此数据源配置返回的模式用于定义评估中可用的变量。 + `item` 以及 `sample` 在使用此数据源配置时两者均已定义。 - `schema: map[unknown]` 运行数据源项的 JSON 模式。 - 了解如何构建 JSON 模式 [此处](https://json-schema.org/). + 了解如何构建 JSON 模式, [请参见此处](https://json-schema.org/). - `type: "logs"` @@ -90,21 +90,21 @@ - `metadata: optional Metadata or null` - 可附加到对象的一组 16 个键值对。这可用于 - 以结构化格式存储有关对象的额外信息, - 并通过 API 或仪表板查询对象。 + 由 16 个键值对组成的集合,可以附加到对象上。这可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板查询对象。 + 以结构化格式存储对象的附加信息,并通过 接口 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串 - ,最大长度为 512 个字符。 + 键为字符串,最大长度为 64 个字符。值为字符串, + 最大长度为 512 个字符。 - `EvalStoredCompletionsDataSourceConfig object { schema, type, metadata }` - 已弃用,改用 LogsDataSourceConfig。 + 已弃用,推荐使用 LogsDataSourceConfig。 - `schema: map[unknown]` 运行数据源项的 JSON 模式。 - 了解如何构建 JSON 模式 [此处](https://json-schema.org/). + 了解如何构建 JSON 模式, [请参见此处](https://json-schema.org/). - `type: "stored_completions"` @@ -114,20 +114,20 @@ - `metadata: optional Metadata or null` - 可附加到对象的一组 16 个键值对。这可用于 - 以结构化格式存储有关对象的额外信息, - 并通过 API 或仪表板查询对象。 + 由 16 个键值对组成的集合,可以附加到对象上。这可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板查询对象。 + 以结构化格式存储对象的附加信息,并通过 接口 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串 - ,最大长度为 512 个字符。 + 键为字符串,最大长度为 64 个字符。值为字符串, + 最大长度为 512 个字符。 - `metadata: Metadata or null` - 一组最多 16 个键值对,可附加到对象上。这可以 - 用于以结构化格式存储关于对象的附加信息, - 并可通过 API 或控制台查询对象。 + 由 16 个键值对组成的集合,可以附加到对象上。这可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板查询对象。 + 以结构化格式存储对象的附加信息,并通过 接口 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串, 最大长度为 512 个字符。 - `name: string` @@ -142,40 +142,40 @@ - `testing_criteria: array of LabelModelGrader or StringCheckGrader or TextSimilarityGrader or 2 more` - 测试标准列表。 + 测试条件列表。 - `LabelModelGrader object { input, labels, model, 3 more }` - 一个 LabelModelGrader 对象,使用模型为评估中的每一项分配标签 + 一个 LabelModelGrader 对象,使用模型为评估中的每个项目分配标签 。 - `input: array of object { content, role, type }` - `content: string or ResponseInputText or object { text, type } or 3 more` - 模型的输入——可以包含模板字符串。支持文本、输出文本、输入图像和输入音频,可以是单个项目或项目数组。 + 模型的输入——可以包含模板字符串。支持文本、输出文本、输入图像和输入音频,可以是单个项目,也可以是项目数组。 - `TextInput = string` - 模型的文本输入。 + 发送给模型的文本输入。 - `ResponseInputText object { text, type, prompt_cache_breakpoint }` - 模型的文本输入。 + 发送给模型的文本输入。 - `text: string` - 模型的文本输入。 + 发送给模型的文本输入。 - `type: "input_text"` - 输入项的类型。始终为 `input_text`. + 输入项目的类型。始终为 `input_text`. - `"input_text"` - `prompt_cache_breakpoint: optional object { mode }` - 标记可复用提示前缀的确切结束位置。断点继承请求的 TTL `prompt_cache_options.ttl`;边界不四舍五入到令牌块。 + 标记可复用提示前缀的精确结束位置。该断点的 TTL 继承自请求的 `prompt_cache_options.ttl`;边界不会对齐到 token 块。 - `mode: "explicit"` @@ -185,39 +185,39 @@ - `OutputText object { text, type }` - 模型的文本输出。 + 模型生成的文本输出。 - `text: string` - 模型的文本输出。 + 来自模型的文本输出。 - `type: "output_text"` - 输出文本的类型。始终 `output_text`. + 输出文本的类型。始终为 `output_text`. - `"output_text"` - `InputImage object { image_url, type, detail }` - 用于 EvalItem 内容数组中的图像输入块。 + 在 EvalItem content 数组中使用的图片输入块。 - `image_url: string` - 图像输入的 URL。 + 图片输入的 URL。 - `type: "input_image"` - 图像输入的类型。始终 `input_image`. + 图片输入的类型。始终为 `input_image`. - `"input_image"` - `detail: optional string` - 发送给模型的图像的细节级别。可选值为 `high`, `low`,或 `auto`。默认为 `auto`. + 发送到模型的图片细节级别。可选值为 `high`, `low`,之一,或 `auto`。默认为 `auto`. - `ResponseInputAudio object { input_audio, type }` - 模型的音频输入。 + 发送给模型的音频输入。 - `input_audio: object { data, format }` @@ -227,7 +227,7 @@ - `format: "mp3" or "wav"` - 音频数据的格式。当前支持的格式为 `mp3` 和 + 音频数据的格式。当前支持的格式包括 `mp3` 以及 `wav`. - `"mp3"` @@ -236,62 +236,62 @@ - `type: "input_audio"` - 输入项的类型。始终 `input_audio`. + 输入项目的类型。始终为 `input_audio`. - `"input_audio"` - `GraderInputs = array of string or ResponseInputText or object { text, type } or 2 more` - 输入列表,每个输入可以是输入文本、输出文本、输入 - 图像或输入音频对象。 + 输入列表,其中每个元素可以是输入文本、输出文本、输入 + 图片或输入音频对象。 - `TextInput = string` - 模型的文本输入。 + 发送给模型的文本输入。 - `ResponseInputText object { text, type, prompt_cache_breakpoint }` - 模型的文本输入。 + 发送给模型的文本输入。 - `OutputText object { text, type }` - 模型的文本输出。 + 模型生成的文本输出。 - `text: string` - 模型的文本输出。 + 来自模型的文本输出。 - `type: "output_text"` - 输出文本的类型。始终 `output_text`. + 输出文本的类型。始终为 `output_text`. - `"output_text"` - `InputImage object { image_url, type, detail }` - 用于 EvalItem 内容数组中的图像输入块。 + 在 EvalItem content 数组中使用的图片输入块。 - `image_url: string` - 图像输入的 URL。 + 图片输入的 URL。 - `type: "input_image"` - 图像输入的类型。始终为 `input_image`. + 图片输入的类型。始终为 `input_image`. - `"input_image"` - `detail: optional string` - 发送给模型的图像的细节级别。可选值为 `high`, `low`, 或 `auto`。默认为 `auto`. + 发送到模型的图片细节级别。可选值为 `high`, `low`,之一,或 `auto`。默认为 `auto`. - `ResponseInputAudio object { input_audio, type }` - 模型的音频输入。 + 发送给模型的音频输入。 - `role: "user" or "assistant" or "system" or "developer"` - 消息输入的角色。可选值为 `user`, `assistant`, `system`, 或 + 消息输入的角色。可选值为 `user`, `assistant`, `system`,之一,或 `developer`. - `"user"` @@ -310,7 +310,7 @@ - `labels: array of string` - 要分配给评估中每个项目的标签。 + 要为评估中每个项分配的标签。 - `model: string` @@ -322,7 +322,7 @@ - `passing_labels: array of string` - 表示通过结果的标签。必须是标签的子集。 + 表示通过结果的标签。必须是 labels 的子集。 - `type: "label_model"` @@ -332,11 +332,11 @@ - `StringCheckGrader object { input, name, operation, 2 more }` - 一个 StringCheckGrader 对象,使用指定操作对输入和参考进行字符串比较。 + 一个 StringCheckGrader 对象,使用指定的操作在输入和参考之间执行字符串比较。 - `input: string` - 输入文本。这可能包含模板字符串。 + 输入文本。可以包含模板字符串。 - `name: string` @@ -344,7 +344,7 @@ - `operation: "eq" or "ne" or "like" or "ilike"` - 要执行的字符串检查操作。可选值为 `eq`, `ne`, `like`, 或 `ilike`. + 要执行的字符串检查操作。取值之一: `eq`, `ne`, `like`,之一,或 `ilike`. - `"eq"` @@ -356,7 +356,7 @@ - `reference: string` - 参考文本。这可能包含模板字符串。 + 参考文本。可以包含模板字符串。 - `type: "string_check"` @@ -366,43 +366,43 @@ - `TextSimilarityGrader = TextSimilarityGrader` - 一个 TextSimilarityGrader 对象,根据相似度指标对文本进行评分。 + 一个 TextSimilarityGrader 对象,基于相似度指标对文本进行评分。 - `pass_threshold: number` - 评分的阈值。 + 分数的阈值。 - `PythonGrader = PythonGrader` - 一个 PythonGrader 对象,对输入运行 Python 脚本。 + 一个 PythonGrader 对象,对输入运行 python 脚本。 - `pass_threshold: optional number` - 评分的阈值。 + 分数的阈值。 - `ScoreModelGrader = ScoreModelGrader` - 一个 ScoreModelGrader 对象,使用模型为输入分配评分。 + 一个 ScoreModelGrader 对象,使用模型为输入打分。 - `pass_threshold: optional number` - 评分的阈值。 + 分数的阈值。 - `first_id: string` - 数据数组中第一个评估的标识符。 + 数据数组中第一个 eval 的标识符。 - `has_more: boolean` - 指示是否还有更多可用的评估。 + 指示是否还有更多 eval 可用。 - `last_id: string` - 数据数组中最后一个评估的标识符。 + 数据数组中最后一个 eval 的标识符。 - `object: "list"` - 此对象的类型,始终设置为“list”。 + 此对象的类型。始终设置为 "list"。 - `"list"` diff --git a/docs/zh/api/reference/resources/evals/methods/retrieve.md b/docs/zh/api/reference/resources/evals/methods/retrieve.md index 560b7d2..88634b6 100644 --- a/docs/zh/api/reference/resources/evals/methods/retrieve.md +++ b/docs/zh/api/reference/resources/evals/methods/retrieve.md @@ -1,16 +1,16 @@ -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整的文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 ## 获取评估 **get** `/evals/{eval_id}` -按 ID 获取评估。 +通过 ID 获取评估。 ### 路径参数 - `eval_id: string` -### 返回 +### 返回值 - `id: string` @@ -18,7 +18,7 @@ - `created_at: number` - 评估创建时的 Unix 时间戳(秒)。 + 评估创建时的 Unix 时间戳(以秒为单位)。 - `data_source_config: EvalCustomDataSourceConfig or object { schema, type, metadata } or EvalStoredCompletionsDataSourceConfig` @@ -27,33 +27,33 @@ - `EvalCustomDataSourceConfig object { schema, type }` 一个 CustomDataSourceConfig,用于指定你的 `item` 以及可选的 `sample` 命名空间。 - 响应模式定义了数据的形状,这些数据将: + 响应模式定义了数据的形状,数据将用于: - - 用于定义你的测试标准, - - 创建运行所需的数据 + - 定义你的测试评判标准,以及 + - 创建运行时所需的数据 - `schema: map[unknown]` - 运行数据源项的 JSON 模式。 - 了解如何构建 JSON 模式 [此处](https://json-schema.org/). + 运行数据源条目的 json 模式。 + 了解如何构建 JSON 模式 [请参阅此处](https://json-schema.org/). - `type: "custom"` - 数据源的类型。始终 `custom`. + 数据源的类型。始终为 `custom`. - `"custom"` - `LogsDataSourceConfig object { schema, type, metadata }` - 一个 LogsDataSourceConfig,用于指定日志查询的元数据属性。 - 这通常是诸如此类的元数据 `usecase=chatbot` 或 `prompt-version=v2`,等。 + 一个 LogsDataSourceConfig,用于指定你日志查询的元数据属性。 + 这通常是以下类似的元数据: `usecase=chatbot` 或 `prompt-version=v2`,等等。 此数据源配置返回的模式用于定义评估中可用的变量。 - `item` 和 `sample` 在使用此数据源配置时均已定义。 + `item` 和 `sample` 在使用此数据源配置时都会被定义。 - `schema: map[unknown]` - 运行数据源项的 JSON 模式。 - 了解如何构建 JSON 模式 [此处](https://json-schema.org/). + 运行数据源条目的 json 模式。 + 了解如何构建 JSON 模式 [请参阅此处](https://json-schema.org/). - `type: "logs"` @@ -63,21 +63,21 @@ - `metadata: optional Metadata or null` - 一组 16 个键值对,可附加到对象上。这可用于 - 以结构化格式存储有关对象的额外信息, - 并通过 API 或仪表盘查询对象。 + 由 16 个键值对组成的集合,可以附加到对象上。这可以 + 用于以结构化格式存储有关对象的附加信息,并通过 API 或仪表板查询对象。 + 用于以结构化格式存储有关对象的附加信息,并通过 接口 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串, 最大长度为 512 个字符。 - `EvalStoredCompletionsDataSourceConfig object { schema, type, metadata }` - 已弃用,请改用 LogsDataSourceConfig。 + 已弃用,推荐使用 LogsDataSourceConfig。 - `schema: map[unknown]` - 运行数据源项的 JSON 模式。 - 了解如何构建 JSON 模式 [此处](https://json-schema.org/). + 运行数据源条目的 json 模式。 + 了解如何构建 JSON 模式 [请参阅此处](https://json-schema.org/). - `type: "stored_completions"` @@ -87,20 +87,20 @@ - `metadata: optional Metadata or null` - 一组 16 个键值对,可附加到对象上。这可用于 - 以结构化格式存储有关对象的额外信息, - 并通过 API 或仪表盘查询对象。 + 由 16 个键值对组成的集合,可以附加到对象上。这可以 + 用于以结构化格式存储有关对象的附加信息,并通过 API 或仪表板查询对象。 + 用于以结构化格式存储有关对象的附加信息,并通过 接口 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串, 最大长度为 512 个字符。 - `metadata: Metadata or null` - 一组 16 个键值对,可附加到对象上。这可用于 - 用于以结构化 - 格式存储关于对象的附加信息,并通过 API 或仪表盘查询对象。 + 由 16 个键值对组成的集合,可以附加到对象上。这可以 + 用于以结构化格式存储有关对象的附加信息,并通过 API 或仪表板查询对象。 + 用于以结构化格式存储有关对象的附加信息,并通过 接口 或仪表板查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串, 最大长度为 512 个字符。 - `name: string` @@ -109,24 +109,24 @@ - `object: "eval"` - 对象类型。 + 对象的类型。 - `"eval"` - `testing_criteria: array of LabelModelGrader or StringCheckGrader or TextSimilarityGrader or 2 more` - 测试标准列表。 + 测试条件列表。 - `LabelModelGrader object { input, labels, model, 3 more }` - 一个 LabelModelGrader 对象,使用模型为评估中的每个项目分配标签 - 。 + 一个 LabelModelGrader 对象,使用模型为评估中的每个项目 + 分配标签。 - `input: array of object { content, role, type }` - `content: string or ResponseInputText or object { text, type } or 3 more` - 模型的输入 - 可包含模板字符串。支持文本、输出文本、输入图像和输入音频,可以是单个项目或项目数组。 + 模型的输入——可以包含模板字符串。支持文本、输出文本、输入图像和输入音频,可以是单个项,也可以是项的数组。 - `TextInput = string` @@ -138,17 +138,17 @@ - `text: string` - 模型的文本输入。 + 提供给模型的文本输入。 - `type: "input_text"` - 输入项目的类型。始终为 `input_text`. + 输入项的类型。始终为 `input_text`. - `"input_text"` - `prompt_cache_breakpoint: optional object { mode }` - 标记可重用提示前缀的精确结束处。断点继承自请求的 `prompt_cache_options.ttl`;边界不四舍五入到令牌块。 + 标记可复用提示前缀的精确结束位置。该断点继承其 TTL 自请求的 `prompt_cache_options.ttl`;边界不会取整到 token 块。 - `mode: "explicit"` @@ -162,7 +162,7 @@ - `text: string` - 模型的文本输出。 + 来自模型的文本输出。 - `type: "output_text"` @@ -172,7 +172,7 @@ - `InputImage object { image_url, type, detail }` - 用于 EvalItem 内容数组中的图像输入块。 + 在 EvalItem content 数组中使用的图像输入块。 - `image_url: string` @@ -186,7 +186,7 @@ - `detail: optional string` - 发送给模型的图像的细节级别。取值为 `high`, `low`,或 `auto`。默认为 `auto`. + 发送给模型的图像的细节级别。取值之一为 `high`, `low`,或 `auto`。默认为 `auto`. - `ResponseInputAudio object { input_audio, type }` @@ -200,7 +200,7 @@ - `format: "mp3" or "wav"` - 音频数据的格式。目前支持的格式为 `mp3` 和 + 音频数据的格式。目前支持的格式有 `mp3` 和 `wav`. - `"mp3"` @@ -215,7 +215,7 @@ - `GraderInputs = array of string or ResponseInputText or object { text, type } or 2 more` - 输入列表,每个输入可以是输入文本、输出文本、输入 + 输入列表,其中每一项可以是输入文本、输出文本、输入 图像或输入音频对象。 - `TextInput = string` @@ -232,7 +232,7 @@ - `text: string` - 模型的文本输出。 + 来自模型的文本输出。 - `type: "output_text"` @@ -242,7 +242,7 @@ - `InputImage object { image_url, type, detail }` - 用于 EvalItem 内容数组中的图像输入块。 + 在 EvalItem content 数组中使用的图像输入块。 - `image_url: string` @@ -256,7 +256,7 @@ - `detail: optional string` - 发送给模型的图像的细节级别。以下之一: `high`, `low`,或 `auto`。默认为 `auto`. + 发送给模型的图像的细节级别。取值之一为 `high`, `low`,或 `auto`。默认为 `auto`. - `ResponseInputAudio object { input_audio, type }` @@ -264,7 +264,7 @@ - `role: "user" or "assistant" or "system" or "developer"` - 消息输入的角色。以下之一: `user`, `assistant`, `system`,或 + 消息输入的角色。取值之一为 `user`, `assistant`, `system`,或 `developer`. - `"user"` @@ -283,7 +283,7 @@ - `labels: array of string` - 要分配给评估中每个项目的标签。 + 要分配给评估中每一项的标签。 - `model: string` @@ -295,7 +295,7 @@ - `passing_labels: array of string` - 表示通过结果的标签。必须是标签的子集。 + 表示通过结果的标签。必须是 labels 的一个子集。 - `type: "label_model"` @@ -305,11 +305,11 @@ - `StringCheckGrader object { input, name, operation, 2 more }` - 一个 StringCheckGrader 对象,使用指定操作对输入和参考进行字符串比较。 + 一个 StringCheckGrader 对象,使用指定的操作在输入和参考之间执行字符串比较。 - `input: string` - 输入文本。这可能包含模板字符串。 + 输入文本,可能包含模板字符串。 - `name: string` @@ -317,7 +317,7 @@ - `operation: "eq" or "ne" or "like" or "ilike"` - 要执行的字符串检查操作。以下之一: `eq`, `ne`, `like`,或 `ilike`. + 要执行的字符串检查操作,可选值为 `eq`, `ne`, `like`,或 `ilike`. - `"eq"` @@ -329,7 +329,7 @@ - `reference: string` - 参考文本。这可能包含模板字符串。 + 参考文本,可能包含模板字符串。 - `type: "string_check"` @@ -339,7 +339,7 @@ - `TextSimilarityGrader = TextSimilarityGrader` - 一个TextSimilarityGrader对象,根据相似度指标对文本进行评分。 + 一个 TextSimilarityGrader 对象,基于相似度指标对文本进行评分。 - `pass_threshold: number` @@ -347,7 +347,7 @@ - `PythonGrader = PythonGrader` - 一个PythonGrader对象,对输入运行python脚本。 + 一个 PythonGrader 对象,对输入运行 Python 脚本。 - `pass_threshold: optional number` @@ -355,7 +355,7 @@ - `ScoreModelGrader = ScoreModelGrader` - 一个ScoreModelGrader对象,使用模型为输入分配分数。 + 一个 ScoreModelGrader 对象,使用模型对输入打分。 - `pass_threshold: optional number` @@ -368,7 +368,7 @@ curl https://api.openai.com/v1/evals/$EVAL_ID \ -H "Authorization: Bearer $OPENAI_API_KEY" ``` -#### 响应 +#### Response ```json { @@ -416,7 +416,7 @@ curl https://api.openai.com/v1/evals/eval_67abd54d9b0081909a86353f6fb9317a \ -H "Content-Type: application/json" ``` -#### 响应 +#### Response ```json { diff --git a/docs/zh/api/reference/resources/evals/methods/update.md b/docs/zh/api/reference/resources/evals/methods/update.md index fdbbc30..ab8c20c 100644 --- a/docs/zh/api/reference/resources/evals/methods/update.md +++ b/docs/zh/api/reference/resources/evals/methods/update.md @@ -1,56 +1,56 @@ -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 -## 更新一个评估 +## 更新评估 **post** `/evals/{eval_id}` -更新评估的某些属性。 +更新某个评估的某些属性。 ### 路径参数 - `eval_id: string` -### 请求体参数 +### 正文参数 - `metadata: optional Metadata or null` - 可附加到对象上的 16 组键值对。这一功能可 - 用于以结构化方式存储关于该对象的额外信息, - 并通过 API 或仪表盘查询对象。 + 由 16 个键值对组成的集合,可附加到对象上。可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板 + 查询对象。 - 键为字符串,最大长度为 64 个字符。值为字符串 - ,最大长度为 512 个字符。 + 键为字符串,最大长度为 64 个字符。值为字符串 + 最大长度为 512 个字符。 - `name: optional string` 重命名评估。 -### 返回 +### Returns - `id: string` - 该评估的唯一标识符。 + 评估的唯一标识符。 - `created_at: number` - 评估创建时的 Unix 时间戳(秒)。 + 评估创建时的 Unix 时间戳(单位为秒)。 - `data_source_config: EvalCustomDataSourceConfig or object { schema, type, metadata } or EvalStoredCompletionsDataSourceConfig` - 用于评估运行的数据源配置。 + 在评估运行中使用的数据源配置。 - `EvalCustomDataSourceConfig object { schema, type }` - 一个 CustomDataSourceConfig,它指定了你的 `item` 以及可选的 `sample` 命名空间。 - 响应架构定义了数据将采用的形式: + 一个 CustomDataSourceConfig,用于指定你的 `item` 的架构,以及可选的 `sample` 命名空间。 + 响应架构用于定义数据的形状,这些数据将用于: - - 用于定义你的测试标准和 - - 创建运行时需要哪些数据 + - 定义你的测试标准,以及 + - 创建运行所需的数据。 - `schema: map[unknown]` - 运行数据源项的 JSON 架构。 - 了解如何构建 JSON 架构 [此处](https://json-schema.org/). + 运行数据源条目的 JSON 架构。 + 了解如何构建 JSON 架构 [请参考此处](https://json-schema.org/). - `type: "custom"` @@ -60,15 +60,15 @@ - `LogsDataSourceConfig object { schema, type, metadata }` - 一个 LogsDataSourceConfig,它指定了你的日志查询的 metadata 属性。 - 这通常是诸如此类的元数据 `usecase=chatbot` 或 `prompt-version=v2`,等。 - 此数据源配置返回的架构用于定义在你的评估中可用的变量。 + 一个 LogsDataSourceConfig,用于指定日志查询的元数据属性。 + 这通常是像 `usecase=chatbot` 或 `prompt-version=v2`,等的元数据。 + 该数据源配置返回的架构用于定义评估中可用的变量。 `item` 和 `sample` 在使用此数据源配置时都会被定义。 - `schema: map[unknown]` - 运行数据源条目的 JSON schema。 - 了解如何构建 JSON schema [此处](https://json-schema.org/). + 运行数据源条目的 JSON 架构。 + 了解如何构建 JSON 架构 [请参考此处](https://json-schema.org/). - `type: "logs"` @@ -78,21 +78,21 @@ - `metadata: optional Metadata or null` - 可附加到对象的一组 16 个键值对。这可以 - 用于以结构化格式存储关于对象的额外信息, - 并通过 API 或仪表盘查询对象。 + 由 16 个键值对组成的集合,可附加到对象上。可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板 + 查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串 最大长度为 512 个字符。 - `EvalStoredCompletionsDataSourceConfig object { schema, type, metadata }` - 已弃用,请改用 LogsDataSourceConfig。 + 已弃用,推荐使用 LogsDataSourceConfig。 - `schema: map[unknown]` - 运行数据源条目的 JSON schema。 - 了解如何构建 JSON schema [此处](https://json-schema.org/). + 运行数据源条目的 JSON 架构。 + 了解如何构建 JSON 架构 [请参考此处](https://json-schema.org/). - `type: "stored_completions"` @@ -102,20 +102,20 @@ - `metadata: optional Metadata or null` - 可附加到对象的一组 16 个键值对。这可以 - 用于以结构化格式存储关于对象的额外信息, - 并通过 API 或仪表盘查询对象。 + 由 16 个键值对组成的集合,可附加到对象上。可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板 + 查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串 最大长度为 512 个字符。 - `metadata: Metadata or null` - 可附加到对象的一组 16 个键值对。这可以 - 可用于以结构化格式存储有关该对象的附加信息, - 并通过 API 或仪表盘查询对象。 + 由 16 个键值对组成的集合,可附加到对象上。可用于 + 以结构化格式存储对象的附加信息,并通过 API 或仪表板 + 查询对象。 - 键是字符串,最大长度为 64 个字符。值是字符串, + 键为字符串,最大长度为 64 个字符。值为字符串 最大长度为 512 个字符。 - `name: string` @@ -134,26 +134,26 @@ - `LabelModelGrader object { input, labels, model, 3 more }` - 一个 LabelModelGrader 对象,它使用模型为每个项目分配标签 - 用于评估。 + 一个 LabelModelGrader 对象,使用一个模型为每个项目分配标签 + 在评估中。 - `input: array of object { content, role, type }` - `content: string or ResponseInputText or object { text, type } or 3 more` - 模型的输入 - 可以包含模板字符串。支持文本、输出文本、输入图像和输入音频,可以作为单个项目或项目数组。 + 模型的输入——可以包含模板字符串。支持文本、输出文本、输入图像和输入音频,可以是单个项目,也可以是项目数组。 - `TextInput = string` - 模型的文本输入。 + 发送给模型的文本输入。 - `ResponseInputText object { text, type, prompt_cache_breakpoint }` - 模型的文本输入。 + 发送给模型的文本输入。 - `text: string` - 模型的文本输入。 + 发送给模型的文本输入。 - `type: "input_text"` @@ -163,7 +163,7 @@ - `prompt_cache_breakpoint: optional object { mode }` - 标记可重用提示前缀的确切结尾。断点继承请求的 TTL `prompt_cache_options.ttl`;边界不四舍五入到令牌块。 + 标记可复用提示前缀的精确结束位置。该断点继承其请求中的 TTL `prompt_cache_options.ttl`;边界不会对齐到 token 块。 - `mode: "explicit"` @@ -173,7 +173,7 @@ - `OutputText object { text, type }` - 模型的文本输出。 + 模型输出的文本。 - `text: string` @@ -187,7 +187,7 @@ - `InputImage object { image_url, type, detail }` - 用于 EvalItem 内容数组中的图像输入块。 + 在 EvalItem 内容数组中使用的图像输入块。 - `image_url: string` @@ -201,7 +201,7 @@ - `detail: optional string` - 要发送给模型的图像的细节级别。以下之一: `high`, `low`、或 `auto`。默认为 `auto`. + 发送给模型的图像细节级别。取值为 `high`, `low`,或 `auto`。默认为 `auto`. - `ResponseInputAudio object { input_audio, type }` @@ -215,7 +215,7 @@ - `format: "mp3" or "wav"` - 音频数据的格式。当前支持的格式为 `mp3` 和 + 音频数据的格式。当前支持的格式有 `mp3` 和 `wav`. - `"mp3"` @@ -230,20 +230,20 @@ - `GraderInputs = array of string or ResponseInputText or object { text, type } or 2 more` - 输入列表,其中每一项可以是输入文本、输出文本、输入 + 一个输入列表,其中每个元素可以是输入文本、输出文本、输入 图像或输入音频对象。 - `TextInput = string` - 模型的文本输入。 + 发送给模型的文本输入。 - `ResponseInputText object { text, type, prompt_cache_breakpoint }` - 模型的文本输入。 + 发送给模型的文本输入。 - `OutputText object { text, type }` - 模型的文本输出。 + 模型输出的文本。 - `text: string` @@ -257,7 +257,7 @@ - `InputImage object { image_url, type, detail }` - 用于 EvalItem 内容数组中的图像输入块。 + 在 EvalItem 内容数组中使用的图像输入块。 - `image_url: string` @@ -271,7 +271,7 @@ - `detail: optional string` - 要发送给模型的图像的细节级别。可选值为 `high`, `low`, 或 `auto`。默认值为 `auto`. + 发送给模型的图像细节级别。取值为 `high`, `low`,或 `auto`。默认为 `auto`. - `ResponseInputAudio object { input_audio, type }` @@ -279,7 +279,7 @@ - `role: "user" or "assistant" or "system" or "developer"` - 消息输入的角色。可选值为 `user`, `assistant`, `system`, 或 + 消息输入的角色。可选值为 `user`, `assistant`, `system`,或 `developer`. - `"user"` @@ -298,7 +298,7 @@ - `labels: array of string` - 要分配给评估中每个项目的标签。 + 要分配给评估中每个条目的标签。 - `model: string` @@ -310,7 +310,7 @@ - `passing_labels: array of string` - 指示通过结果的标签。必须是标签的子集。 + 表示通过结果的标签。必须是 labels 的子集。 - `type: "label_model"` @@ -320,11 +320,11 @@ - `StringCheckGrader object { input, name, operation, 2 more }` - StringCheckGrader 对象,它使用指定的操作在输入和参考之间执行字符串比较。 + 一个 StringCheckGrader 对象,使用指定操作在输入和参考之间执行字符串比较。 - `input: string` - 输入文本。这可能包含模板字符串。 + 输入文本。可以包含模板字符串。 - `name: string` @@ -332,7 +332,7 @@ - `operation: "eq" or "ne" or "like" or "ilike"` - 要执行的字符串检查操作。可选值为 `eq`, `ne`, `like`, 或 `ilike`. + 要执行的字符串检查操作。可选值为 `eq`, `ne`, `like`,或 `ilike`. - `"eq"` @@ -344,7 +344,7 @@ - `reference: string` - 参考文本。这可能包含模板字符串。 + 参考文本。可以包含模板字符串。 - `type: "string_check"` @@ -354,7 +354,7 @@ - `TextSimilarityGrader = TextSimilarityGrader` - 一个 TextSimilarityGrader 对象,用于根据相似度指标对文本进行评分。 + 一个 TextSimilarityGrader 对象,基于相似度指标对文本进行评分。 - `pass_threshold: number` @@ -362,7 +362,7 @@ - `PythonGrader = PythonGrader` - 一个 PythonGrader 对象,用于对输入运行 Python 脚本。 + 在输入上运行 Python 脚本的 PythonGrader 对象。 - `pass_threshold: optional number` @@ -370,13 +370,13 @@ - `ScoreModelGrader = ScoreModelGrader` - 一个 ScoreModelGrader 对象,使用模型为输入分配分数。 + 使用模型为输入打分的 ScoreModelGrader 对象。 - `pass_threshold: optional number` 分数的阈值。 -### 示例 +### Example ```http curl https://api.openai.com/v1/evals/$EVAL_ID \ @@ -385,7 +385,7 @@ curl https://api.openai.com/v1/evals/$EVAL_ID \ -d '{}' ``` -#### 响应 +#### Response ```json { @@ -425,7 +425,7 @@ curl https://api.openai.com/v1/evals/$EVAL_ID \ } ``` -### 示例 +### Example ```http curl https://api.openai.com/v1/evals/eval_67abd54d9b0081909a86353f6fb9317a \ @@ -434,7 +434,7 @@ curl https://api.openai.com/v1/evals/eval_67abd54d9b0081909a86353f6fb9317a \ -d '{"name": "Updated Eval", "metadata": {"description": "Updated description"}}' ``` -#### 响应 +#### Response ```json { diff --git a/docs/zh/api/reference/resources/files.md b/docs/zh/api/reference/resources/files.md index b03a663..8a324de 100644 --- a/docs/zh/api/reference/resources/files.md +++ b/docs/zh/api/reference/resources/files.md @@ -1,12 +1,12 @@ -# 文件 +# Files -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 以获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可在页面 URL 末尾附加 `.md` 来获取相应文档页面的 Markdown 版本。 -## 检索文件内容 +## Retrieve file content **get** `/files/{file_id}/content` -返回一个包含指定文件内容的响应。 +返回一个响应,其中包含指定文件的内容。 ### 路径参数 @@ -30,63 +30,63 @@ curl https://api.openai.com/v1/files/file-abc123/content \ **post** `/files` -上传一个可在各端点使用的文件。单个文件 -最大可达 512 MB,每个项目最多可存储 2.5 TB 的文件, -总计为 2.5 TB。没有组织级存储限制。上传到此 -端点的速率限制为每个已认证用户每分钟 1,000 次请求, -每个用户。 - -- Assistants API 支持最多 200 万 token 的特定 - 文件类型。请参阅 [Assistants 工具指南](/docs/assistants/tools) 以了解 - 详细信息。 -- 微调 API 仅支持 `.jsonl` 文件。输入也具有 - 微调所需的特定格式, +上传一个可在多个端点之间使用的文件。单个文件 +最大可达 512 MB,每个项目最多可存储 2.5 TB 的文件 +。没有组织范围的存储限制。该端点的 +上传速率限制为每个已认证用户每分钟 1,000 次请求 +。 + +- Assistants API 支持最大 2 亿 token 的文件,且仅支持特定的 + 文件类型。详见 [Assistants 工具指南](/docs/assistants/tools) 。 + 。 +- 微调 API 仅支持 `.jsonl` 文件。输入还需符合微调 + 所需的特定格式,适用于 [聊天](/docs/api-reference/fine-tuning/chat-input) 或 [补全](/docs/api-reference/fine-tuning/completions-input) 模型。 - 批量 API 仅支持 `.jsonl` 大小不超过 200 MB 的文件。输入 - 也有特定的必需 + 还必须采用特定的必需 [格式](/docs/api-reference/batch/request-input). -- 对于检索或 `file_search` 摄取,请先在此上传文件。如果 - 你需要将多个上传的文件附加到同一个向量存储,请使用 +- 对于检索或 `file_search` 数据导入,请先在此上传文件。如果 + 你需要将多个已上传文件附加到同一个向量存储,请使用 [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch) - 而不是逐个附加。向量存储附加有单独的 - 文件上传的限制,包括每分钟每个组织最多 2,000 个附件 - 。 + 而不是逐个附加它们。向量存储附加操作有单独的 + 文件上传相关的限制,包括每个组织每分钟最多可附加 2,000 个文件,按每 + 组织计算。 -请联系 [我们](https://help.openai.com/) 如果你需要提高这些 +请 [联系我们](https://help.openai.com/) 如果你需要提高这些 存储限制。 -### 返回 +### Returns - `FileObject object { id, bytes, created_at, 6 more }` - 该 `File` 对象表示已上传到 OpenAI 的文档。 + 该 `File` object represents a document that has been uploaded to OpenAI. - `id: string` - 文件标识符,可在 API 端点中引用。 + The file identifier, which can be referenced in the API endpoints. - `bytes: number` - 文件的大小,以字节为单位。 + The size of the file, in bytes. - `created_at: number` - 文件创建时的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file was created. - `filename: string` - 文件的名称。 + The name of the file. - `object: "file"` - 对象类型,始终为 `file`. + The object type, which is always `file`. - `"file"` - `purpose: "assistants" or "assistants_output" or "batch" or 5 more` - 文件的预期用途。支持的值有 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,和 `user_data`. + The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`, and `user_data`. - `"assistants"` @@ -106,7 +106,7 @@ curl https://api.openai.com/v1/files/file-abc123/content \ - `status: "uploaded" or "processed" or "error"` - 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或 `error`. + Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`. - `"uploaded"` @@ -116,11 +116,11 @@ curl https://api.openai.com/v1/files/file-abc123/content \ - `expires_at: optional number` - 文件过期时的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file will expire. - `status_details: optional string` - 已弃用。有关微调训练文件为何未通过验证的详细信息,请参见 `error` 字段 `fine_tuning.job`. + Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. ### 示例 @@ -132,7 +132,7 @@ curl https://api.openai.com/v1/files \ -F purpose=assistants ``` -#### 响应 +#### Response ```json { @@ -159,7 +159,7 @@ curl https://api.openai.com/v1/files \ -F expires_after[seconds]=2592000 ``` -#### 响应 +#### Response ```json { @@ -175,15 +175,15 @@ curl https://api.openai.com/v1/files \ ## 删除文件 -**删除** `/files/{file_id}` +**delete** `/files/{file_id}` -删除一个文件并将其从所有矢量存储中移除。 +删除文件,并将其从所有向量存储中移除。 ### 路径参数 - `file_id: string` -### 返回 +### Returns - `FileDeleted object { id, deleted, object }` @@ -203,7 +203,7 @@ curl https://api.openai.com/v1/files/$FILE_ID \ -H "Authorization: Bearer $OPENAI_API_KEY" ``` -#### 响应 +#### Response ```json { @@ -221,7 +221,7 @@ curl https://api.openai.com/v1/files/file-abc123 \ -H "Authorization: Bearer $OPENAI_API_KEY" ``` -#### 响应 +#### Response ```json { @@ -241,15 +241,15 @@ curl https://api.openai.com/v1/files/file-abc123 \ - `after: optional string` - 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发出列表请求并收到以 obj_foo 结尾的 100 个对象,你的后续调用可以包含 after=obj_foo 以获取列表的下一页。 + 用于分页查询的游标。 `after` 是一个对象 ID,用于确定你在列表中的位置。例如,如果你发起列表请求并收到 100 个对象,以 obj_foo 结尾,那么后续调用可以包含 after=obj_foo 来获取列表的下一页。 - `limit: optional number` - 返回对象数量的限制。限制范围为 1 到 10,000,默认值为 10,000。 + 要返回的对象数量的上限。Limit 的取值范围是 1 到 10,000,默认为 10,000。 - `order: optional "asc" or "desc"` - 按对象的 `created_at` 时间戳排序。 `asc` 为升序, `desc` 为降序。 + 按对象的 `created_at` 时间戳排序。 `asc` 表示升序, `desc` 表示降序。 - `"asc"` @@ -257,37 +257,37 @@ curl https://api.openai.com/v1/files/file-abc123 \ - `purpose: optional string` - 仅返回具有给定用途的文件。 + 仅返回具有指定用途的文件。 -### 返回 +### Returns - `data: array of FileObject` - `id: string` - 文件标识符,可在API端点中引用。 + The file identifier, which can be referenced in the API endpoints. - `bytes: number` - 文件的大小,以字节为单位。 + The size of the file, in bytes. - `created_at: number` - 文件创建时的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file was created. - `filename: string` - 文件的名称。 + The name of the file. - `object: "file"` - 对象类型,始终为 `file`. + The object type, which is always `file`. - `"file"` - `purpose: "assistants" or "assistants_output" or "batch" or 5 more` - 文件的预期用途。支持的值有 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,和 `user_data`. + The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`, and `user_data`. - `"assistants"` @@ -307,7 +307,7 @@ curl https://api.openai.com/v1/files/file-abc123 \ - `status: "uploaded" or "processed" or "error"` - 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或 `error`. + Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`. - `"uploaded"` @@ -317,11 +317,11 @@ curl https://api.openai.com/v1/files/file-abc123 \ - `expires_at: optional number` - 文件过期时的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file will expire. - `status_details: optional string` - 已弃用。有关微调训练文件未通过验证的原因详情,请参阅 `error` 上的字段 `fine_tuning.job`. + Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. - `first_id: string` @@ -338,7 +338,7 @@ curl https://api.openai.com/v1/files \ -H "Authorization: Bearer $OPENAI_API_KEY" ``` -#### 响应 +#### Response ```json { @@ -369,7 +369,7 @@ curl https://api.openai.com/v1/files \ -H "Authorization: Bearer $OPENAI_API_KEY" ``` -#### 响应 +#### Response ```json { @@ -404,43 +404,43 @@ curl https://api.openai.com/v1/files \ **get** `/files/{file_id}` -返回关于特定文件的信息。 +返回有关特定文件的信息。 ### 路径参数 - `file_id: string` -### 返回 +### Returns - `FileObject object { id, bytes, created_at, 6 more }` - 该 `File` 对象代表一个已上传到 OpenAI 的文档。 + 该 `File` object represents a document that has been uploaded to OpenAI. - `id: string` - 文件标识符,可在 API 端点中引用。 + The file identifier, which can be referenced in the API endpoints. - `bytes: number` - 文件的大小(以字节为单位)。 + The size of the file, in bytes. - `created_at: number` - 文件创建时的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file was created. - `filename: string` - 文件的名称。 + The name of the file. - `object: "file"` - 对象类型,始终为 `file`. + The object type, which is always `file`. - `"file"` - `purpose: "assistants" or "assistants_output" or "batch" or 5 more` - 文件的预期用途。支持的值有 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,和 `user_data`. + The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`, and `user_data`. - `"assistants"` @@ -460,7 +460,7 @@ curl https://api.openai.com/v1/files \ - `status: "uploaded" or "processed" or "error"` - 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或 `error`. + Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`. - `"uploaded"` @@ -470,11 +470,11 @@ curl https://api.openai.com/v1/files \ - `expires_at: optional number` - 文件过期的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file will expire. - `status_details: optional string` - 已弃用。有关微调训练文件未通过验证的原因的详细信息,请参阅 `error` 字段,位于 `fine_tuning.job`. + Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. ### 示例 @@ -483,7 +483,7 @@ curl https://api.openai.com/v1/files/$FILE_ID \ -H "Authorization: Bearer $OPENAI_API_KEY" ``` -#### 响应 +#### Response ```json { @@ -506,7 +506,7 @@ curl https://api.openai.com/v1/files/file-abc123 \ -H "Authorization: Bearer $OPENAI_API_KEY" ``` -#### 响应 +#### Response ```json { @@ -542,33 +542,33 @@ curl https://api.openai.com/v1/files/file-abc123 \ - `FileObject object { id, bytes, created_at, 6 more }` - 该 `File` 对象表示已上传至 OpenAI 的文档。 + 该 `File` object represents a document that has been uploaded to OpenAI. - `id: string` - 文件标识符,可在 API 端点中引用。 + The file identifier, which can be referenced in the API endpoints. - `bytes: number` - 文件的大小,以字节为单位。 + The size of the file, in bytes. - `created_at: number` - 文件创建时的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file was created. - `filename: string` - 文件的名称。 + The name of the file. - `object: "file"` - 对象类型,始终为 `file`. + The object type, which is always `file`. - `"file"` - `purpose: "assistants" or "assistants_output" or "batch" or 5 more` - 文件的预期用途。支持的值有 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,和 `user_data`. + The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`, and `user_data`. - `"assistants"` @@ -588,7 +588,7 @@ curl https://api.openai.com/v1/files/file-abc123 \ - `status: "uploaded" or "processed" or "error"` - 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或 `error`. + Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`. - `"uploaded"` @@ -598,8 +598,8 @@ curl https://api.openai.com/v1/files/file-abc123 \ - `expires_at: optional number` - 文件过期的 Unix 时间戳(以秒为单位)。 + The Unix timestamp (in seconds) for when the file will expire. - `status_details: optional string` - 已弃用。有关微调训练文件未通过验证的原因的详细信息,请参阅 `error` 字段,位于 `fine_tuning.job`. + Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. diff --git a/docs/zh/api/reference/resources/files/methods/create.md b/docs/zh/api/reference/resources/files/methods/create.md index 636b04f..07e59b6 100644 --- a/docs/zh/api/reference/resources/files/methods/create.md +++ b/docs/zh/api/reference/resources/files/methods/create.md @@ -1,40 +1,40 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整的文档索引请参阅 [llms.txt](/llms.txt). 可通过在页面 URL 末尾附加 `.md` 来获取文档页面的 Markdown 版本。 ## 上传文件 **post** `/files` -上传一个可在各种端点使用的文件。单个文件 -最大可达 512 MB,每个项目最多可存储 2.5 TB 的文件, -总计。没有组织范围内的存储限制。对此 -端点的上传受限于每个经过身份验证的用户每分钟 1,000 次请求。 -用户。 - -- Assistants API 支持最多 200 万 token 的特定文件, - 有关文件类型,请参阅 [Assistants 工具指南](/docs/assistants/tools) 以获取 - 详细信息。 -- Fine-tuning API 仅支持 `.jsonl` 文件。输入还必须有 - 用于微调的特定格式,适用于 - [聊天](/docs/api-reference/fine-tuning/chat-input) 或 - [补全](/docs/api-reference/fine-tuning/completions-input) 模型。 -- Batch API 仅支持 `.jsonl` 大小不超过 200 MB 的文件。输入 - 还必须符合特定的 +上传一个可在多个端点之间使用的文件。单个文件 +最大可达 512 MB,每个项目最多可存储 2.5 TB 的文件 +总计。没有组织范围的总存储限制。向此 +端点的请求速率限制为每个已认证用户每分钟 1,000 次 +请求。 + +- Assistants API 支持最大 200 万 token 的文件,且仅支持特定的文件类型。 + 详见 [Assistants 工具指南](/docs/assistants/tools) 。 + 详情请参阅。 +- 微调 API 仅支持 `.jsonl` 文件。输入还需采用 + 微调所要求的特定格式 + [chat](/docs/api-reference/fine-tuning/chat-input) 或 + [completions](/docs/api-reference/fine-tuning/completions-input) 模型。 +- Batch API 仅支持 `.jsonl` 最大 200 MB 的文件。输入还 + 需要采用特定的 [格式](/docs/api-reference/batch/request-input). -- 对于检索或 `file_search` 摄取,请先在此上传文件。如果 - 需要将多个上传文件附加到同一向量存储,请使用 +- 用于检索或 `file_search` 摄入,请先将文件上传到此处。如 + 需将多个已上传的文件附加到同一向量存储,请使用 [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch) - 而不是逐个附加。向量存储附件有单独的 - 文件上传的限制,包括每个 - 组织每分钟最多附加 2,000 个文件。 + 批量附加,而不是逐个附加。向量存储附加具有独立的 + 文件上传的限制,包括每个组织每分钟 2,000 个附加文件,每 + 组织。 -如需 [联系我们](https://help.openai.com/) 以提高这些 +请 [联系我们](https://help.openai.com/) 如果你需要提高这些 存储限制。 -### 返回 +### 返回值 - `FileObject object { id, bytes, created_at, 6 more }` - 该 `File` 对象表示一个已上传至 OpenAI 的文档。 + 该 `File` object 表示已上传到 OpenAI 的文档。 - `id: string` @@ -60,7 +60,7 @@ - `purpose: "assistants" or "assistants_output" or "batch" or 5 more` - 文件的预期用途。支持的值有 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,和 `user_data`. + 文件的预期用途。支持的值包括 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,以及 `user_data`. - `"assistants"` @@ -80,7 +80,7 @@ - `status: "uploaded" or "processed" or "error"` - 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或 `error`. + 已弃用。文件的当前状态,可为 `uploaded`, `processed`,或 `error`. - `"uploaded"` @@ -94,7 +94,7 @@ - `status_details: optional string` - 已弃用。有关微调训练文件为何未通过验证的详细信息,请参见 `error` 字段于 `fine_tuning.job`. + 已弃用。有关微调训练文件验证失败的原因详情,请参阅 `error` 字段,位于 `fine_tuning.job`. ### 示例 diff --git a/docs/zh/api/reference/resources/files/methods/delete.md b/docs/zh/api/reference/resources/files/methods/delete.md index 3c3dd29..1ccdb50 100644 --- a/docs/zh/api/reference/resources/files/methods/delete.md +++ b/docs/zh/api/reference/resources/files/methods/delete.md @@ -1,10 +1,10 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 ## 删除文件 **delete** `/files/{file_id}` -删除文件并将其从所有向量存储中移除。 +删除文件并将其从所有 vector stores 中移除。 ### 路径参数 diff --git a/docs/zh/api/reference/resources/files/methods/list.md b/docs/zh/api/reference/resources/files/methods/list.md index 6fa8184..17e3fd4 100644 --- a/docs/zh/api/reference/resources/files/methods/list.md +++ b/docs/zh/api/reference/resources/files/methods/list.md @@ -1,4 +1,4 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 ## 列出文件 @@ -10,15 +10,15 @@ - `after: optional string` - 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发出列表请求并收到 100 个对象(以 obj_foo 结尾),则后续调用可以包含 after=obj_foo 以获取列表的下一页。 + 用于分页的游标。 `after` 是一个对象 ID,用于定义你在列表中的位置。例如,如果你发起列表请求并收到 100 个对象,以 obj_foo 结尾,那么你的下一次调用可以包含 after=obj_foo,以便获取列表的下一页。 - `limit: optional number` - 对要返回的对象数量的限制。限制范围在 1 到 10,000 之间,默认值为 10,000。 + 返回对象的数量上限。Limit 的取值范围为 1 到 10,000,默认值为 10,000。 - `order: optional "asc" or "desc"` - 按对象的 `created_at` 时间戳排序。 `asc` 为升序, `desc` 为降序。 + 按对象的 `created_at` 时间戳排序。 `asc` 表示升序, `desc` 表示降序。 - `"asc"` @@ -28,7 +28,7 @@ 仅返回具有指定用途的文件。 -### 返回 +### Returns - `data: array of FileObject` @@ -38,7 +38,7 @@ - `bytes: number` - 文件的大小,以字节为单位。 + 文件大小,以字节为单位。 - `created_at: number` @@ -46,7 +46,7 @@ - `filename: string` - 文件的名称。 + 文件名称。 - `object: "file"` @@ -56,7 +56,7 @@ - `purpose: "assistants" or "assistants_output" or "batch" or 5 more` - 文件的预期用途。支持的值包括 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,以及 `user_data`. + 文件的预期用途。支持的值包括 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,和 `user_data`. - `"assistants"` @@ -76,7 +76,7 @@ - `status: "uploaded" or "processed" or "error"` - 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或 `error`. + 已弃用。文件的当前状态,可为 `uploaded`, `processed`,或 `error`. - `"uploaded"` @@ -90,7 +90,7 @@ - `status_details: optional string` - 已弃用。有关微调训练文件验证失败原因的详细信息,请参阅 `error` 字段,位于 `fine_tuning.job`. + 已弃用。有关微调训练文件验证失败的原因详情,请参阅 `error` 字段,位于 `fine_tuning.job`. - `first_id: string` diff --git a/docs/zh/api/reference/resources/files/methods/retrieve.md b/docs/zh/api/reference/resources/files/methods/retrieve.md index 8b8aa1b..8932e8b 100644 --- a/docs/zh/api/reference/resources/files/methods/retrieve.md +++ b/docs/zh/api/reference/resources/files/methods/retrieve.md @@ -1,4 +1,4 @@ -> 完整的文档索引,请参见 [llms.txt](/llms.txt). 文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 ## 检索文件 @@ -10,11 +10,11 @@ - `file_id: string` -### 返回值 +### 返回 - `FileObject object { id, bytes, created_at, 6 more }` - 该 `File` 对象表示已上传至 OpenAI 的文档。 + 该 `File` 对象表示已上传到 OpenAI 的文档。 - `id: string` @@ -22,7 +22,7 @@ - `bytes: number` - 文件大小,以字节为单位。 + 文件大小(以字节为单位)。 - `created_at: number` @@ -40,7 +40,7 @@ - `purpose: "assistants" or "assistants_output" or "batch" or 5 more` - 文件的预期用途。支持的值有 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,和 `user_data`. + 文件的预期用途。支持的值包括 `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`,以及 `user_data`. - `"assistants"` @@ -60,7 +60,7 @@ - `status: "uploaded" or "processed" or "error"` - 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或 `error`. + 已弃用。文件的当前状态,可以是 `uploaded`, `processed`,或者 `error`. - `"uploaded"` @@ -70,11 +70,11 @@ - `expires_at: optional number` - 文件到期时的 Unix 时间戳(以秒为单位)。 + 文件过期时的 Unix 时间戳(以秒为单位)。 - `status_details: optional string` - 已弃用。有关微调训练文件未能通过验证的原因详情,请参见 `error` 字段,位于 `fine_tuning.job`. + 已弃用。有关微调训练文件验证失败的原因的详细信息,请参阅 `error` 字段,位于 `fine_tuning.job`. ### 示例 diff --git a/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md b/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md index fc7be21..3928d28 100644 --- a/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md +++ b/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create.md @@ -1,12 +1,12 @@ -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 获取文档页面的 Markdown 版本。 ## 创建检查点权限 -**发布** `/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions` +**post** `/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions` **注意:** 调用此端点需要使用 [管理员 API 密钥](../admin-api-keys). -这使得组织所有者可以将微调模型与组织中的其他项目共享。 +这使组织所有者能够将微调模型共享给组织内的其他项目。 ### 路径参数 @@ -16,9 +16,9 @@ - `project_ids: array of string` - 授予访问权限的项目标识符。 + 要授予访问权限的项目标识符。 -### 返回 +### Returns - `data: array of object { id, created_at, object, project_id }` @@ -38,7 +38,7 @@ - `project_id: string` - 该权限对应的项目标识符。 + 该权限所属的项目标识符。 - `has_more: boolean` diff --git a/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md b/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md index 6106dc1..74d8a5e 100644 --- a/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md +++ b/docs/zh/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete.md @@ -1,12 +1,12 @@ -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 后追加 `.md` 即可获取文档页面的 Markdown 版本。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 ## 删除检查点权限 -**删除** `/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions/{permission_id}` +**delete** `/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions/{permission_id}` **注意:** 此端点需要 [管理员 API 密钥](../admin-api-keys). -组织所有者可以使用此端点删除对微调模型检查点的权限。 +组织所有者可使用此端点来删除某个微调模型检查点的权限。 ### 路径参数 @@ -26,7 +26,7 @@ - `object: "checkpoint.permission"` - 对象类型,始终为“checkpoint.permission”。 + 对象类型,始终为 "checkpoint.permission"。 - `"checkpoint.permission"` diff --git a/docs/zh/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md b/docs/zh/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md index 4bb84ec..a2acda5 100644 --- a/docs/zh/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md +++ b/docs/zh/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list.md @@ -1,4 +1,4 @@ -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整的文档索引请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 末尾追加 `.md` 获取。 ## 列出微调检查点 @@ -20,7 +20,7 @@ 要检索的检查点数量。 -### 返回 +### Returns - `data: array of FineTuningJobCheckpoint` @@ -38,11 +38,11 @@ - `fine_tuning_job_id: string` - 创建此检查点所依据的微调作业的名称。 + 创建此检查点的微调作业的名称。 - `metrics: object { full_valid_loss, full_valid_mean_token_accuracy, step, 4 more }` - 微调作业期间在步骤编号处的指标。 + 微调作业中该步骤编号对应的指标。 - `full_valid_loss: optional number` @@ -66,7 +66,7 @@ - `step_number: number` - 创建检查点时的步骤编号。 + 创建该检查点时所对应的步骤编号。 - `has_more: boolean` diff --git a/docs/zh/api/reference/resources/images/methods/create_variation.md b/docs/zh/api/reference/resources/images/methods/create_variation.md index dc140d2..9dc46b2 100644 --- a/docs/zh/api/reference/resources/images/methods/create_variation.md +++ b/docs/zh/api/reference/resources/images/methods/create_variation.md @@ -1,12 +1,12 @@ -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可在页面 URL 后附加 `.md` 获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 获取文档页面的 Markdown 版本。 ## 创建图像变体 **post** `/images/variations` -创建给定图像的变体。此端点仅支持 `dall-e-2`. +创建指定图片的变体。该接口仅支持 `dall-e-2`. -### 返回 +### Returns - `ImagesResponse object { created, background, data, 4 more }` @@ -18,7 +18,7 @@ - `background: optional "transparent" or "opaque"` - 图像生成所用的 background 参数。可选值为 `transparent` 或 `opaque`. + 用于图像生成的 background 参数。可以是 `transparent` 或 `opaque`. - `"transparent"` @@ -30,19 +30,19 @@ - `b64_json: optional string` - 生成图像的 base64 编码 JSON。对于 GPT 图像模型,默认返回;仅在 `response_format` 设为 `b64_json` 用于 `dall-e-2` 和 `dall-e-3`. + 生成图像的 base64 编码 JSON。GPT 图像模型默认返回,并且仅当 `response_format` 设置为 `b64_json` 时才 `dall-e-2` 出现 `dall-e-3`. - `revised_prompt: optional string` - 对于 `dall-e-3` ,仅返回用于生成图像的修订提示词。 + 仅 `dall-e-3` 时,用于生成图像的修订后提示词。 - `url: optional string` - 使用 `dall-e-2` 或 `dall-e-3`,时,生成图像的 URL(如果 `response_format` 设为 `url` (默认值))。GPT 图像模型不支持此参数。 + 当使用 `dall-e-2` 或 `dall-e-3`,时,如果 `response_format` 设置为 `url` (默认值),则为生成图像的 URL。GPT 图像模型不支持。 - `output_format: optional "png" or "webp" or "jpeg"` - 图像生成的输出格式。可选值为 `png`, `webp`、或 `jpeg`. + 图像生成的输出格式。可以是 `png`, `webp`,或 `jpeg`. - `"png"` @@ -52,7 +52,7 @@ - `quality: optional "low" or "medium" or "high"` - 生成图像的质量。可选值为 `low`, `medium`、或 `high`. + 生成图像的质量。可以是 `low`, `medium`,或 `high`. - `"low"` @@ -62,7 +62,7 @@ - `size: optional "1024x1024" or "1024x1536" or "1536x1024"` - 生成的图像大小。可以是 `1024x1024`, `1024x1536`,或 `1536x1024`. + 生成图像的尺寸。可以是 `1024x1024`, `1024x1536`,或 `1536x1024`. - `"1024x1024"` @@ -72,43 +72,43 @@ - `usage: optional object { input_tokens, input_tokens_details, output_tokens, 2 more }` - 对于 `gpt-image-1` ,图像生成的令牌用量信息。 + 仅 `gpt-image-1` 时,图像生成的 token 用量信息。 - `input_tokens: number` - 输入提示中的令牌数量(图像和文本)。 + 输入提示词中的 token(图像和文本)数量。 - `input_tokens_details: object { image_tokens, text_tokens }` - 图像生成的输入令牌详细信息。 + 图像生成的输入 token 详细信息。 - `image_tokens: number` - 输入提示中的图像令牌数量。 + 输入提示中的图像 token 数量。 - `text_tokens: number` - 输入提示中的文本令牌数量。 + 输入提示中的文本 token 数量。 - `output_tokens: number` - 模型生成的输出令牌数量。 + 模型生成的输出 token 数量。 - `total_tokens: number` - 图像生成使用的令牌总数(图像和文本)。 + 用于图像生成的 token(图像和文本)总数量。 - `output_tokens_details: optional object { image_tokens, text_tokens }` - 图像生成的输出令牌详细信息。 + 图像生成的输出 token 详细信息。 - `image_tokens: number` - 模型生成的图像输出令牌数量。 + 模型生成的图像输出 token 数量。 - `text_tokens: number` - 模型生成的文本输出令牌数量。 + 模型生成的文本输出 token 数量。 ### 示例 diff --git a/docs/zh/api/reference/resources/models.md b/docs/zh/api/reference/resources/models.md index 389fabe..5fbb969 100644 --- a/docs/zh/api/reference/resources/models.md +++ b/docs/zh/api/reference/resources/models.md @@ -1,12 +1,12 @@ # 模型 -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾附加 `.md` 获取文档页面的 Markdown 版本。 ## 删除微调模型 -**删除** `/models/{model}` +**delete** `/models/{model}` -删除一个已微调模型。你必须拥有所在组织的所有者角色才能删除模型。 +删除一个微调模型。你必须在组织中拥有 Owner 角色才能删除模型。 ### 路径参数 @@ -62,7 +62,7 @@ curl https://api.openai.com/v1/models/ft:gpt-4o-mini:acemeco:suffix:abc123 \ **get** `/models` -列出当前可用的模型,并提供关于每个模型的基本信息,例如所有者及其可用性。 +列出当前可用的模型,并提供每个模型的基本信息,例如所有者和可用性。 ### 返回 @@ -88,7 +88,7 @@ curl https://api.openai.com/v1/models/ft:gpt-4o-mini:acemeco:suffix:abc123 \ - `shutdown_date: optional string or null` - 模型将下架的日期,若未公布则为 null。 + 模型将下线的日期,若未公布则为 null。 - `object: "list"` @@ -156,11 +156,11 @@ curl https://api.openai.com/v1/models \ } ``` -## 检索模型 +## Retrieve model -**获取** `/models/{model}` +**get** `/models/{model}` -检索模型实例,提供有关模型的基本信息,例如所有者和权限。 +检索模型实例,提供有关该模型的基本信息,例如所有者和权限设置。 ### 路径参数 @@ -170,7 +170,7 @@ curl https://api.openai.com/v1/models \ - `Model object { id, created, object, 2 more }` - 描述一种可与 API 一起使用的 OpenAI 模型产品。 + 描述可与 API 配合使用的 OpenAI 模型服务。 - `id: string` @@ -192,7 +192,7 @@ curl https://api.openai.com/v1/models \ - `shutdown_date: optional string or null` - 模型停用的日期;若未公布则为 null。 + 模型将下线的日期,若未公布则为 null。 ### 示例 @@ -234,11 +234,11 @@ curl https://api.openai.com/v1/models/VAR_chat_model_id \ ## 域类型 -### 模型 +### Model - `Model object { id, created, object, 2 more }` - 描述了一种可与 OpenAI API 一起使用的模型产品。 + 描述可与 API 配合使用的 OpenAI 模型服务。 - `id: string` @@ -260,7 +260,7 @@ curl https://api.openai.com/v1/models/VAR_chat_model_id \ - `shutdown_date: optional string or null` - 模型将关闭的日期,如果尚未公布则为 null。 + 模型将下线的日期,若未公布则为 null。 ### 模型已删除 diff --git a/docs/zh/api/reference/resources/models/methods/delete.md b/docs/zh/api/reference/resources/models/methods/delete.md index 7a965f0..039c87d 100644 --- a/docs/zh/api/reference/resources/models/methods/delete.md +++ b/docs/zh/api/reference/resources/models/methods/delete.md @@ -1,10 +1,10 @@ -> 完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可在页面 URL 末尾追加 `.md` 以获取该页面的 Markdown 版本。 ## 删除微调模型 -**删除** `/models/{model}` +**delete** `/models/{model}` -删除一个微调模型。你在组织内必须拥有所有者角色才能删除模型。 +删除微调模型。要删除模型,你必须在组织中拥有 Owner 角色。 ### 路径参数 diff --git a/docs/zh/api/reference/resources/models/methods/list.md b/docs/zh/api/reference/resources/models/methods/list.md index 9fdf7dd..7d46e72 100644 --- a/docs/zh/api/reference/resources/models/methods/list.md +++ b/docs/zh/api/reference/resources/models/methods/list.md @@ -1,18 +1,18 @@ -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 ## 列出模型 -**获取** `/models` +**get** `/models` -列出当前可用的模型,并提供关于每个模型的基本信息,如所有者和可用性。 +列出当前可用的模型,并提供每个模型的基本信息,例如所有者和可用性。 -### 返回 +### 返回值 - `data: array of Model` - `id: string` - 模型标识符,可在 API 端点中引用。 + 模型标识符,可以在 API 端点中引用。 - `created: number` @@ -30,7 +30,7 @@ - `shutdown_date: optional string or null` - 模型将关闭的日期,如果未公布则为 null。 + 模型将停用的日期,如果未公布则为 null。 - `object: "list"` diff --git a/docs/zh/api/reference/resources/models/methods/retrieve.md b/docs/zh/api/reference/resources/models/methods/retrieve.md index 3862215..7bec9df 100644 --- a/docs/zh/api/reference/resources/models/methods/retrieve.md +++ b/docs/zh/api/reference/resources/models/methods/retrieve.md @@ -1,10 +1,10 @@ -> 有关完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过追加 `.md` 到页面 URL 获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。通过在页面 URL 末尾追加 `.md` 可获取文档页面的 Markdown 版本。 -## 检索模型 +## Retrieve model **get** `/models/{model}` -检索一个模型实例,提供有关该模型的基本信息,如所有者与权限。 +获取模型实例,并提供该模型的基本信息,例如所有者和权限配置。 ### 路径参数 @@ -14,7 +14,7 @@ - `Model object { id, created, object, 2 more }` - 描述一个可与 OpenAIAPI 一起使用的模型产品。 + 描述可与 API 配合使用的 OpenAI 模型产品。 - `id: string` @@ -36,7 +36,7 @@ - `shutdown_date: optional string or null` - 模型停用的日期,若未公布则为 null。 + 模型将下线的日期,若未公布则为 null。 ### 示例 diff --git a/docs/zh/api/reference/resources/moderations/methods/create.md b/docs/zh/api/reference/resources/moderations/methods/create.md index 232244a..6dad339 100644 --- a/docs/zh/api/reference/resources/moderations/methods/create.md +++ b/docs/zh/api/reference/resources/moderations/methods/create.md @@ -1,68 +1,68 @@ -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整的文档索引请参阅 [llms.txt](/llms.txt)。通过在页面 URL 后追加 `.md` 可获取文档页面的 Markdown 版本。 ## 创建审核 **post** `/moderations` -对文本和/或图像输入是否可能有害进行分类。了解更多 -信息,请参阅 [审核指南](/docs/guides/moderation). +分类判断文本和/或图像输入是否具有潜在危害。详细了解请参阅 +内容审核指南 [moderation guide](/docs/guides/moderation). ### 请求体参数 - `input: string or array of string or array of object { image_url, type } or object { text, type }` - 用于分类的输入(或输入)。可以是单个字符串、字符串数组或 + 用于分类的输入(可以是单个输入或多个输入)。可以是单个字符串、字符串数组,或 与其他模型类似的多模态输入对象数组。 - `string` - 用于审核分类的一段文本。 + 需要进行内容审核分类的文本字符串。 - `array of string` - 用于审核分类的字符串数组。 + 需要进行内容审核分类的字符串数组。 - `array of object { image_url, type } or object { text, type }` - 提供给审核模型的多模态输入数组。 + 提供给内容审核模型的多模态输入数组。 - `ImageURL object { image_url, type }` - 描述要分类的图片的对象。 + 描述待分类图像的对象。 - `image_url: object { url }` - 包含图片 URL 或 base64 编码图片的数据 URL。 + 包含图像 URL 或 base64 编码图像的 data URL。 - `url: string` - 图片的 URL 或 base64 编码的图片数据。 + 图像的 URL 或 base64 编码的图像数据。 - `type: "image_url"` - 始终 `image_url`. + 始终为 `image_url`. - `"image_url"` - `Text object { text, type }` - 描述要分类的文本的对象。 + 描述待分类文本的对象。 - `text: string` - 要分类的一段文本。 + 需要进行分类的文本字符串。 - `type: "text"` - 始终 `text`. + 始终为 `text`. - `"text"` - `model: optional string or ModerationModel` - 您要使用的内容审核模型。了解更多信息,请参阅 - [审核指南](/docs/guides/moderation),并了解 - 可用模型 [请点击此处](/docs/models#moderation). + 你想要使用的内容审核模型。详情请参阅 + [内容审核指南](/docs/guides/moderation),并了解 + 可用模型 [此处](/docs/models#moderation). - `string` @@ -76,7 +76,7 @@ - `"text-moderation-stable"` -### 返回 +### 返回值 - `id: string` @@ -92,103 +92,103 @@ - `categories: object { harassment, "harassment/threatening", hate, 10 more }` - 类别列表,以及它们是否被标记。 + 各类别及其是否被标记的列表。 - `harassment: boolean` - 表达、煽动或宣扬针对任何目标的骚扰语言的内容。 + 对任何目标表达、煽动或宣扬骚扰性语言的内容。 - `"harassment/threatening": boolean` - 包含暴力或对任何目标造成严重伤害的骚扰内容。 + 还包含对任何目标的暴力或严重伤害的骚扰内容。 - `hate: boolean` - 基于种族、性别、民族、宗教、国籍、性取向、残障状况或种姓表达、煽动或宣扬仇恨的内容。针对非受保护群体(如棋手)的仇恨内容属于骚扰。 + 基于种族、性别、民族、宗教、国籍、性取向、残障状况或种姓表达、煽动或宣扬仇恨的内容。针对非受保护群体(例如棋手)的仇恨内容属于骚扰。 - `"hate/threatening": boolean` - 包含暴力或基于种族、性别、民族、宗教、国籍、性取向、残障状况或种姓对目标群体造成严重伤害的仇恨内容。 + 还包含基于种族、性别、民族、宗教、国籍、性取向、残障状况或种姓对目标群体实施暴力或严重伤害的仇恨内容。 - `illicit: boolean or null` - 包含有助于规划或执行不法行为的指示或建议,或就如何实施非法行为提供建议或指示的内容。例如,“如何在商店行窃”就属于此类别。 + 包含有助于策划或实施违法行为的指导或建议的内容,或提供关于如何实施非法行为的建议或指导的内容。例如,“如何入店行窃”属于此类。 - `"illicit/violent": boolean or null` - 包含有助于规划或执行包含暴力的不法行为的指示或建议,或就获取任何武器提供建议或指示的内容。 + 包含有助于策划或实施违法行为的指导或建议,且同时涉及暴力的内容,或提供关于获取任何武器的建议或指导的内容。 - `"self-harm": boolean` - 宣扬、鼓励或描绘自残行为(如自杀、割伤和饮食失调)的内容。 + 宣扬、鼓励或刻画自残行为的内容,例如自杀、自残和饮食失调。 - `"self-harm/instructions": boolean` - 鼓励实施自残行为(如自杀、割伤和饮食失调),或就如何实施此类行为提供指示或建议的内容。 + 鼓励实施自残行为(例如自杀、自残和饮食失调)的内容,或提供关于如何实施此类行为的指导或建议的内容。 - `"self-harm/intent": boolean` - 说话者表示正在或打算实施自残行为(如自杀、割伤和饮食失调)的内容。 + 说话者表达其正在或打算实施自残行为(例如自杀、自残和饮食失调)的内容。 - `sexual: boolean` - 旨在引起性兴奋的内容,如对性行为的描述,或宣扬性服务(不包括性教育和健康)的内容。 + 旨在激起性兴奋的内容,例如对性行为的描述,或推广性服务的内容(不包括性教育和性健康内容)。 - `"sexual/minors": boolean` - 包含未满 18 岁个人的色情内容。 + 涉及 18 岁以下未成年人的性内容。 - `violence: boolean` - 描绘死亡、暴力或身体伤害的内容。 + 描绘死亡、暴力或人身伤害的内容。 - `"violence/graphic": boolean` - 以细节描绘方式描述死亡、暴力或身体伤害的内容。 + 以详细图形方式描绘死亡、暴力或人身伤害的内容。 - `category_applied_input_types: object { harassment, "harassment/threatening", hate, 10 more }` - 类别及分数所适用的输入类型列表。 + 各类别及其分数所适用的输入类型列表。 - `harassment: array of "text"` - 应用于“骚扰”类别的输入类型。 + 类别“harassment”所应用的输入类型。 - `"text"` - `"harassment/threatening": array of "text"` - 应用于“骚扰/威胁”类别的输入类型。 + 类别“harassment/threatening”所应用的输入类型。 - `"text"` - `hate: array of "text"` - 针对'仇恨'类别的已应用输入类型。 + 类别“hate”所应用的输入类型。 - `"text"` - `"hate/threatening": array of "text"` - 针对'仇恨/威胁'类别的已应用输入类型。 + 类别“hate/threatening”所应用的输入类型。 - `"text"` - `illicit: array of "text"` - 针对'非法'类别的已应用输入类型。 + 类别“illicit”所应用的输入类型。 - `"text"` - `"illicit/violent": array of "text"` - 针对'非法/暴力'类别的已应用输入类型。 + 类别“illicit/violent”所应用的输入类型。 - `"text"` - `"self-harm": array of "text" or "image"` - 针对'自残'类别的已应用输入类型。 + 类别“self-harm”所应用的输入类型。 - `"text"` @@ -196,7 +196,7 @@ - `"self-harm/instructions": array of "text" or "image"` - 针对'自残/指令'类别的已应用输入类型。 + 类别“self-harm/instructions”所应用的输入类型。 - `"text"` @@ -204,7 +204,7 @@ - `"self-harm/intent": array of "text" or "image"` - 针对'自残/意图'类别的已应用输入类型。 + 类别“self-harm/intent”所应用的输入类型。 - `"text"` @@ -212,7 +212,7 @@ - `sexual: array of "text" or "image"` - 针对'性内容'类别的已应用输入类型。 + 类别“sexual”所应用的输入类型。 - `"text"` @@ -220,13 +220,13 @@ - `"sexual/minors": array of "text"` - 针对'性内容/未成年人'类别的已应用输入类型。 + 类别“sexual/minors”所应用的输入类型。 - `"text"` - `violence: array of "text" or "image"` - 针对'暴力'类别的已应用输入类型。 + 类别“violence”所应用的输入类型。 - `"text"` @@ -234,7 +234,7 @@ - `"violence/graphic": array of "text" or "image"` - 针对'暴力/血腥'类别的已应用输入类型。 + 类别“violence/graphic”所应用的输入类型。 - `"text"` @@ -242,63 +242,63 @@ - `category_scores: object { harassment, "harassment/threatening", hate, 10 more }` - 模型预测的类别及其分数列表。 + 由模型预测的类别及其分数列表。 - `harassment: number` - 针对'骚扰'类别的分数。 + 类别“harassment”的分数。 - `"harassment/threatening": number` - 针对'骚扰/威胁'类别的分数。 + 类别“harassment/threatening”的分数。 - `hate: number` - 针对'仇恨'类别的分数。 + 类别“hate”的分数。 - `"hate/threatening": number` - 针对'仇恨/威胁'类别的分数。 + 类别“hate/threatening”的分数。 - `illicit: number` - 针对'非法'类别的分数。 + 类别“illicit”的分数。 - `"illicit/violent": number` - 针对'非法/暴力'类别的分数。 + 类别“illicit/violent”的分数。 - `"self-harm": number` - 针对'自残'类别的分数。 + 类别“self-harm”的分数。 - `"self-harm/instructions": number` - 针对'自残/指令'类别的分数。 + 类别“self-harm/instructions”的分数。 - `"self-harm/intent": number` - 类别“self-harm/intent”的得分。 + “self-harm/intent”类别的分数。 - `sexual: number` - 类别“sexual”的得分。 + “sexual”类别的分数。 - `"sexual/minors": number` - 类别“sexual/minors”的得分。 + “sexual/minors”类别的分数。 - `violence: number` - 类别“violence”的得分。 + “violence”类别的分数。 - `"violence/graphic": number` - 类别“violence/graphic”的得分。 + “violence/graphic”类别的分数。 - `flagged: boolean` - 以下任何类别是否被标记。 + 以下任意类别是否被标记。 ### 示例 @@ -508,7 +508,7 @@ curl https://api.openai.com/v1/moderations \ } ``` -### 单字符串 +### 单个字符串 ```http curl https://api.openai.com/v1/moderations \ diff --git a/docs/zh/api/reference/resources/organization.md b/docs/zh/api/reference/resources/organization.md index cf3340c..2a75e24 100644 --- a/docs/zh/api/reference/resources/organization.md +++ b/docs/zh/api/reference/resources/organization.md @@ -1,6 +1,6 @@ -# 组织 +# Organization -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。通过在页面 URL 末尾追加 `.md` 即可获取文档页面的 Markdown 版本。 OpenAI API 端点参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs.md index eeb9e3c..2899dec 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs.md @@ -1,9 +1,9 @@ -# 组织审计日志 +# Organization Audit Logs -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt). 可通过在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 -OpenAI API 端点参考。 +OpenAI API 接口参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs -本 API 参考页由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs/methods/list.md index bccd257..dcca4e4 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs/methods/list.md @@ -1,6 +1,6 @@ # 组织审计日志 — 列表 -> 完整的文档索引,请参见 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 末尾添加 `.md` 获取。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md index 9af8853..7295aa4 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys.md @@ -1,9 +1,9 @@ -# 组织审计日志管理 API 密钥 +# Organization Audit Logs Admin Api Keys -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。如需获取文档页面的 Markdown 版本,可在页面 URL 末尾追加 `.md` 。 -OpenAI API 端点参考。 +OpenAI API endpoint 参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md index 4142aa7..bcc0f3e 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/create.md @@ -1,6 +1,6 @@ -# 组织审计日志管理员 API 密钥 — 创建 +# Organization Audit Logs Admin Api Keys — Create -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可在 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md index 4186a03..56d1fc4 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/delete.md @@ -1,6 +1,6 @@ -# 组织审计日志管理员 API 密钥 — 删除 +# Organization Audit Logs Admin Api Keys — Delete -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 后追加 `.md` 即可获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md index 5db308b..5f0c811 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/list.md @@ -1,6 +1,6 @@ -# 组织审计日志管理 API 密钥 — 列表 +# Organization Audit Logs Admin Api Keys — List -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获得该页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md index 66be98c..53e3890 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve.md @@ -1,9 +1,9 @@ -# 组织审计日志管理员 API 密钥 — 检索 +# 组织审计日志管理员 接口 密钥 — 检索 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾附加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 -规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/admin_api_keys/methods/retrieve 此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md index 5685395..b45aaf6 100644 --- a/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md +++ b/docs/zh/api/reference/resources/organization/subresources/audit_logs/subresources/usage.md @@ -1,9 +1,9 @@ # 组织审计日志使用情况 -> 查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取文档页面的 Markdown 版本。 OpenAI API 端点参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/audit_logs/subresources/usage -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/groups.md b/docs/zh/api/reference/resources/organization/subresources/groups.md index 77b6bc6..f3a6fc9 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups.md @@ -1,9 +1,9 @@ -# 组织分组 +# 组织组 -> 完整的文档索引,请参阅 [llms.txt](/llms.txt). 文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups -此 API 参考页面由 Stainless 生成。 \ No newline at end of file +本 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/groups/methods/create.md index 0798072..3690c46 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/methods/create.md @@ -1,9 +1,9 @@ # 组织群组 — 创建 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可在页面 URL 后追加 `.md` 获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取相应文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/create -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/groups/methods/delete.md index 5a23fe2..a45b3d3 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/methods/delete.md @@ -1,9 +1,9 @@ -# 组织群组 — 删除 +# 组织分组 — 删除 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/delete -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/groups/methods/list.md index 498c2e5..991c4ba 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/methods/list.md @@ -1,9 +1,9 @@ -# 组织群组 — 列表 +# Organization Groups — 列表 -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 获取。 +> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/list -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/methods/update.md b/docs/zh/api/reference/resources/organization/subresources/groups/methods/update.md index a3b101b..8be1e0d 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/methods/update.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/methods/update.md @@ -1,9 +1,9 @@ -# 组织群组 — 更新 +# Organization Groups — Update -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取该页面的 Markdown 版本。 OpenAI API 端点方法参考。 -标准参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/update +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/methods/update -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users.md b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users.md index f1c0016..1929a06 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users.md @@ -1,9 +1,9 @@ -# 组织 分组 用户 +# 组织 用户组 用户 -> 完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整的文档索引请参见 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users -此 API 参考页面由 Stainless 生成。 \ No newline at end of file +本 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md index e1993bd..6277a27 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/create.md @@ -1,8 +1,8 @@ -# 组织 群组 用户 — 创建 +# 组织 分组 用户 — 创建 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/create diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md index 59f7aa3..91b5924 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete.md @@ -1,8 +1,8 @@ -# 组织 群组 用户 — 删除 +# Organization Groups Users — Delete -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。通过在页面 URL 末尾追加 `.md` 即可获得文档页面的 Markdown 版本。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/groups/subresources/users/methods/delete diff --git a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md index 655a023..def63dd 100644 --- a/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/groups/subresources/users/methods/list.md @@ -1,6 +1,6 @@ -# 组织 群组 用户 — 列表 +# 组织 分组 用户 — 列表 -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。如需获取文档页面的 Markdown 版本,可在页面 URL 后追加 `.md` 即可。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/invites.md b/docs/zh/api/reference/resources/organization/subresources/invites.md index 8c70f21..4b36783 100644 --- a/docs/zh/api/reference/resources/organization/subresources/invites.md +++ b/docs/zh/api/reference/resources/organization/subresources/invites.md @@ -1,8 +1,8 @@ # 组织邀请 -> 完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。你也可以通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 -OpenAI API 端点参考。 +OpenAI API 接口参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/invites diff --git a/docs/zh/api/reference/resources/organization/subresources/invites/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/invites/methods/create.md index a12175b..fe4e538 100644 --- a/docs/zh/api/reference/resources/organization/subresources/invites/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/invites/methods/create.md @@ -1,9 +1,9 @@ # 组织邀请 — 创建 -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。通过将 `.md` 附加到页面 URL,可获取文档页面的 Markdown 版本。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt).可通过在页面 URL 后追加 `.md` 获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 -标准参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/create +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/create -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/invites/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/invites/methods/delete.md index 83f415a..d68ce0a 100644 --- a/docs/zh/api/reference/resources/organization/subresources/invites/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/invites/methods/delete.md @@ -1,9 +1,9 @@ # 组织邀请 — 删除 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/delete -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/invites/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/invites/methods/list.md index 5429a36..3fe5886 100644 --- a/docs/zh/api/reference/resources/organization/subresources/invites/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/invites/methods/list.md @@ -1,9 +1,9 @@ -# 组织邀请 — 列表 +# Organization Invites — List -> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 完整的文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 -规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/list +权威参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/invites/methods/list 此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/invites/methods/retrieve.md b/docs/zh/api/reference/resources/organization/subresources/invites/methods/retrieve.md index a4eb8ea..268bd65 100644 --- a/docs/zh/api/reference/resources/organization/subresources/invites/methods/retrieve.md +++ b/docs/zh/api/reference/resources/organization/subresources/invites/methods/retrieve.md @@ -1,6 +1,6 @@ # 组织邀请 — 检索 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects.md b/docs/zh/api/reference/resources/organization/subresources/projects.md index b7dd478..297595b 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects.md @@ -1,6 +1,6 @@ # 组织项目 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt). 可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/projects/methods/create.md index a017530..36940c2 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/methods/create.md @@ -1,9 +1,9 @@ # 组织项目 — 创建 -> 完整的文档索引,请参阅 [llms.txt](/llms.txt). 文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。如需文档页面的 Markdown 版本,可在页面 URL 末尾追加 `.md` 来获取。 OpenAI API 端点方法参考。 -标准参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/create +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/create 此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/projects/methods/list.md index c1c9769..a97a706 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/methods/list.md @@ -1,8 +1,8 @@ # 组织项目 — 列表 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。如需获取文档页面的 Markdown 版本,可在页面 URL 后追加 `.md` 。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/list diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/methods/retrieve.md b/docs/zh/api/reference/resources/organization/subresources/projects/methods/retrieve.md index 29ca5bb..64674bd 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/methods/retrieve.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/methods/retrieve.md @@ -1,8 +1,8 @@ # 组织项目 — 检索 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。通过在页面 URL 后附加 `.md` 可获取文档页面的 Markdown 版本。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 获取文档页面的 Markdown 版本。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/retrieve diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/methods/update.md b/docs/zh/api/reference/resources/organization/subresources/projects/methods/update.md index 2cc34ea..e814f03 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/methods/update.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/methods/update.md @@ -1,9 +1,9 @@ # 组织项目 — 更新 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。如需获取文档页面的 Markdown 版本,可在页面 URL 后追加 `.md` 。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/methods/update -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys.md index fe3e0d3..16c09a3 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys.md @@ -1,9 +1,9 @@ -# 组织项目 API 密钥 +# Organization Projects Api Keys -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点参考。 -规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys +规范参考链接: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys 此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md index 835657b..1952c8a 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete.md @@ -1,9 +1,9 @@ -# 组织项目 API 密钥 — 删除 +# Organization Projects Api Keys — Delete -> 有关完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取文档页面的 Markdown 版本。 -OpenAI API 接口方法参考。 +OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/delete -本API参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md index 317dcf0..fd3792e 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list.md @@ -1,9 +1,9 @@ -# 组织项目 API 密钥 — 列表 +# 组织项目 接口 密钥 — 列表 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 OpenAI API 端点方法参考。 -规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/list -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md index a17a612..3962a8d 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve.md @@ -1,9 +1,9 @@ -# 组织项目 API 密钥 — 检索 +# Organization Projects Api Keys — Retrieve -> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/api_keys/methods/retrieve -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups.md index ce60040..b08fec1 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups.md @@ -1,6 +1,6 @@ -# 组织 项目 小组 +# Organization Projects Groups -> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取该页面的 Markdown 版本。 OpenAI API 端点参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md index be2a3e7..3701060 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/delete.md @@ -1,6 +1,6 @@ -# 组织 项目 群组 — 删除 +# 组织 项目 分组 — 删除 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。通过在页面 URL 后附加 `.md` ,即可获取文档页的 Markdown 版本。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾附加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md index 29b7e22..6df8dee 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list.md @@ -1,9 +1,9 @@ -# 组织 项目 分组 — 列表 +# 组织项目分组 — 列表 -> 完整文档索引请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过附加 `.md` 至页面 URL 获取。 +> 有关完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获得页面的 Markdown 版本。 OpenAI API 端点方法参考。 -标准参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/groups/methods/list -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md index 7751aae..da4120a 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/rate_limits.md @@ -1,9 +1,9 @@ # 组织 项目 速率限制 -> 关于完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 OpenAI API 端点参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/rate_limits -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md index 4438c65..33f109c 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts.md @@ -1,8 +1,8 @@ -# 组织 项目 服务账号 +# Organization Projects Service Accounts -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 -OpenAI API 端点参考。 +OpenAI API 接口参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md index a27e491..e489b18 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create.md @@ -1,8 +1,8 @@ -# 组织项目服务账户 — 创建 +# 组织项目服务账号 — 创建 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。各文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取该页面的 Markdown 版本。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/create diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md index b7defc7..577f283 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/delete.md @@ -1,6 +1,6 @@ -# 组织 项目 服务账户 — 删除 +# 组织 项目 服务账号 — 删除 -> 完整的文档索引请参见 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾附加 `.md` 即可获取该页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md index ff230d7..6d33566 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list.md @@ -1,9 +1,9 @@ -# 组织 项目 服务账号 — 列表 +# 组织 项目 服务账号 —— 列表 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt). 文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。如需获取文档页面的 Markdown 版本,可在页面 URL 末尾添加 `.md` 来获取。 OpenAI API 端点方法参考。 -标准参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/list -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md index 0c67cee..e7aab24 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve.md @@ -1,9 +1,9 @@ -# 组织 项目 服务账户 — 检索 +# 组织 项目 服务账号 — 检索 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取该页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/service_accounts/methods/retrieve -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users.md index cecf227..f317e64 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users.md @@ -1,6 +1,6 @@ -# 组织 项目 用户 +# Organization Projects Users -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取对应文档页面的 Markdown 版本。 OpenAI API 端点参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md index d719c97..80e5fc3 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/create.md @@ -1,6 +1,6 @@ -# 组织 项目 用户 — 创建 +# 组织 项目 用户 — 新建 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md index fc22af3..7fc4d70 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/delete.md @@ -1,6 +1,6 @@ # 组织 项目 用户 — 删除 -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md index d5d3c2f..4c1bdec 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/list.md @@ -1,9 +1,9 @@ # 组织 项目 用户 — 列表 -> 完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。你可以通过在页面 URL 末尾添加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/list -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md index dc10c4f..7f3ed0a 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve.md @@ -1,9 +1,9 @@ # 组织 项目 用户 — 检索 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取 Markdown 版本的文档页面。 OpenAI API 端点方法参考。 -标准参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/projects/subresources/users/methods/retrieve -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md index e97c859..aed9861 100644 --- a/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md +++ b/docs/zh/api/reference/resources/organization/subresources/projects/subresources/users/methods/update.md @@ -1,6 +1,6 @@ # 组织 项目 用户 — 更新 -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取该页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/roles.md b/docs/zh/api/reference/resources/organization/subresources/roles.md index eb874b5..c6f8c8c 100644 --- a/docs/zh/api/reference/resources/organization/subresources/roles.md +++ b/docs/zh/api/reference/resources/organization/subresources/roles.md @@ -1,9 +1,9 @@ # 组织角色 -> 完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 来获取页面的 Markdown 版本。 -OpenAI API 端点参考。 +OpenAI API endpoint 参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/roles -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +该 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/roles/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/roles/methods/create.md index ef81a12..1a9025b 100644 --- a/docs/zh/api/reference/resources/organization/subresources/roles/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/roles/methods/create.md @@ -1,8 +1,8 @@ # 组织角色 — 创建 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。在文档页面的URL后追加 `.md` 即可获得Markdown格式的文档。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾附加 `.md` 即可获取该页面的 Markdown 版本。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/create diff --git a/docs/zh/api/reference/resources/organization/subresources/roles/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/roles/methods/delete.md index 6ab6b73..4224755 100644 --- a/docs/zh/api/reference/resources/organization/subresources/roles/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/roles/methods/delete.md @@ -1,9 +1,9 @@ # 组织角色 — 删除 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需完整文档索引,请参阅 [llms.txt](/llms.txt)。通过在页面 URL 后追加 `.md` 即可获取对应文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/delete -此 API 参考页面由 Stainless 生成。 \ No newline at end of file +本 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/roles/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/roles/methods/list.md index 755186c..abfea97 100644 --- a/docs/zh/api/reference/resources/organization/subresources/roles/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/roles/methods/list.md @@ -1,6 +1,6 @@ # 组织角色 — 列表 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾附加 `.md` 即可获得文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 diff --git a/docs/zh/api/reference/resources/organization/subresources/roles/methods/update.md b/docs/zh/api/reference/resources/organization/subresources/roles/methods/update.md index 4b38dcf..40fb166 100644 --- a/docs/zh/api/reference/resources/organization/subresources/roles/methods/update.md +++ b/docs/zh/api/reference/resources/organization/subresources/roles/methods/update.md @@ -1,9 +1,9 @@ -# 组织角色 — 更新 +# Organization 角色 — 更新 -> 有关完整文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后附加 `.md` 来获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取对应文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/roles/methods/update -此 API 参考页面由 Stainless 生成。 \ No newline at end of file +本 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/users.md b/docs/zh/api/reference/resources/organization/subresources/users.md index ae5dc51..3b3a90f 100644 --- a/docs/zh/api/reference/resources/organization/subresources/users.md +++ b/docs/zh/api/reference/resources/organization/subresources/users.md @@ -1,9 +1,9 @@ # 组织用户 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 末尾追加 `.md` 来获取文档页面的 Markdown 版本。 OpenAI API 端点参考。 -规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users +权威参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users 此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/users/methods/delete.md b/docs/zh/api/reference/resources/organization/subresources/users/methods/delete.md index 5893cfb..afbf483 100644 --- a/docs/zh/api/reference/resources/organization/subresources/users/methods/delete.md +++ b/docs/zh/api/reference/resources/organization/subresources/users/methods/delete.md @@ -1,9 +1,9 @@ # 组织用户 — 删除 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt). 可在页面 URL 末尾添加以下内容获取文档页面的 Markdown 版本 `.md` .。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 -规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/delete +规范的参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/delete -本 API 参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/users/methods/list.md b/docs/zh/api/reference/resources/organization/subresources/users/methods/list.md index 6c236ea..58c4c70 100644 --- a/docs/zh/api/reference/resources/organization/subresources/users/methods/list.md +++ b/docs/zh/api/reference/resources/organization/subresources/users/methods/list.md @@ -1,8 +1,8 @@ # 组织用户 — 列表 -> 完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。你可以通过向页面 URL 追加 `.md` 来获取文档页面的 Markdown 版本。 -OpenAI API 端点方法参考。 +OpenAI API endpoint 方法参考。 规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/list diff --git a/docs/zh/api/reference/resources/organization/subresources/users/methods/retrieve.md b/docs/zh/api/reference/resources/organization/subresources/users/methods/retrieve.md index 70b1fa8..42d420a 100644 --- a/docs/zh/api/reference/resources/organization/subresources/users/methods/retrieve.md +++ b/docs/zh/api/reference/resources/organization/subresources/users/methods/retrieve.md @@ -1,9 +1,9 @@ # 组织用户 — 检索 -> 有关完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 获得。 +> 完整文档索引请参见 [llms.txt](/llms.txt)。在页面 URL 末尾追加 `.md` 即可获取该页面的 Markdown 版本。 OpenAI API 端点方法参考。 -标准参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/retrieve +规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/retrieve -本API参考页面由 Stainless 生成。 \ No newline at end of file +此 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/users/methods/update.md b/docs/zh/api/reference/resources/organization/subresources/users/methods/update.md index 08fd3e3..c483231 100644 --- a/docs/zh/api/reference/resources/organization/subresources/users/methods/update.md +++ b/docs/zh/api/reference/resources/organization/subresources/users/methods/update.md @@ -1,9 +1,9 @@ # 组织用户 — 更新 -> 如需查看完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可通过在页面 URL 后追加 `.md` 来获取。 +> 完整文档索引请参阅 [llms.txt](/llms.txt)。可通过在页面 URL 后追加 `.md` 获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。 -规范参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/update +权威参考 URL: https://developers.openai.com/api/reference/resources/organization/subresources/users/methods/update -此 API 参考页面由 Stainless 生成。 \ No newline at end of file +该 API 参考页面由 Stainless 生成。 \ No newline at end of file diff --git a/docs/zh/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md b/docs/zh/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md index 5f47e7f..c8c98f6 100644 --- a/docs/zh/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md +++ b/docs/zh/api/reference/resources/organization/subresources/users/subresources/roles/methods/create.md @@ -1,6 +1,6 @@ -# 组织用户角色 — 创建 +# 组织 用户 角色 — 新建 -> 如需完整的文档索引,请参阅 [llms.txt](/llms.txt)。文档页面的 Markdown 版本可在页面 URL 后追加 `.md` 获取。 +> 如需查看完整文档索引,请参阅 [llms.txt](/llms.txt)。在页面 URL 末尾添加 `.md` 即可获取文档页面的 Markdown 版本。 OpenAI API 端点方法参考。