公众号验证码功能完成 yeah!!!
This commit is contained in:
29
node_modules/openai/resources/files.js
generated
vendored
29
node_modules/openai/resources/files.js
generated
vendored
@@ -15,20 +15,19 @@ class Files extends resource_1.APIResource {
|
||||
* up to 512 MB, and the size of all files uploaded by one organization can be up
|
||||
* to 1 TB.
|
||||
*
|
||||
* The Assistants API supports files up to 2 million tokens and of specific file
|
||||
* types. See the
|
||||
* [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools) for
|
||||
* details.
|
||||
*
|
||||
* The Fine-tuning API only supports `.jsonl` files. The input also has certain
|
||||
* required formats for fine-tuning
|
||||
* [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input) or
|
||||
* [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
|
||||
* models.
|
||||
*
|
||||
* The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
|
||||
* has a specific required
|
||||
* [format](https://platform.openai.com/docs/api-reference/batch/request-input).
|
||||
* - The Assistants API supports files up to 2 million tokens and of specific file
|
||||
* types. See the
|
||||
* [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools)
|
||||
* for details.
|
||||
* - The Fine-tuning API only supports `.jsonl` files. The input also has certain
|
||||
* required formats for fine-tuning
|
||||
* [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input)
|
||||
* or
|
||||
* [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
|
||||
* models.
|
||||
* - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
|
||||
* also has a specific required
|
||||
* [format](https://platform.openai.com/docs/api-reference/batch/request-input).
|
||||
*
|
||||
* Please [contact us](https://help.openai.com/) if you need to increase these
|
||||
* storage limits.
|
||||
@@ -49,7 +48,7 @@ class Files extends resource_1.APIResource {
|
||||
return this._client.getAPIList('/files', (pagination_1.CursorPage), { query, ...options });
|
||||
}
|
||||
/**
|
||||
* Delete a file.
|
||||
* Delete a file and remove it from all vector stores.
|
||||
*/
|
||||
delete(fileID, options) {
|
||||
return this._client.delete((0, path_1.path) `/files/${fileID}`, options);
|
||||
|
||||
Reference in New Issue
Block a user