diff --git a/.claude/skills/tryagi-openai/commands.md b/.claude/skills/tryagi-openai/commands.md
index 1065b26b..7a54c937 100644
--- a/.claude/skills/tryagi-openai/commands.md
+++ b/.claude/skills/tryagi-openai/commands.md
@@ -150,7 +150,7 @@ Files are used to upload documents that can be used with features like Assistant
| `list-files` | `GET /files` | Returns a list of files. |
| `retrieve-file` | `GET /files/{file_id}` | Returns information about a specific file. |
| `retrieve-file-content` | `GET /files/{file_id}/content` | Returns the contents of the specified file. |
-| `upload-file` | `POST /files` | Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and each project can store up to 2.5 TB of files in total. There is no organization-wide storage limit. - The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details. - The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/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](/docs/api-reference/batch/request-input). Please [contact us](https://help.openai.com/) if you need to increase these storage limits. |
+| `upload-file` | `POST /files` | Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and each project can store up to 2.5 TB of files in total. There is no organization-wide storage limit. Uploads to this endpoint are rate-limited to 2,000 files per minute per organization. - The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details. - The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/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](/docs/api-reference/batch/request-input). - For Retrieval or `file_search` ingestion, upload files here first. If you need to attach multiple uploaded files to the same vector store, use [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch) instead of attaching them one by one. Please [contact us](https://help.openai.com/) if you need to increase these storage limits. |
## `fine-tuning`
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.FilesClient.UploadFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.FilesClient.UploadFile.g.cs
index f9ea92b9..c07f06b8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.FilesClient.UploadFile.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.FilesClient.UploadFile.g.cs
@@ -44,7 +44,8 @@ partial void ProcessUploadFileResponseContent(
///
/// Upload a file that can be used across various endpoints. Individual files
/// can be up to 512 MB, and each project can store up to 2.5 TB of files in
- /// total. There is no organization-wide storage limit.
+ /// total. There is no organization-wide storage limit. Uploads to this
+ /// endpoint are rate-limited to 2,000 files per minute per organization.
/// - The Assistants API supports files up to 2 million tokens and of specific
/// file types. See the [Assistants Tools guide](/docs/assistants/tools) for
/// details.
@@ -55,6 +56,10 @@ partial void ProcessUploadFileResponseContent(
/// - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
/// also has a specific required
/// [format](/docs/api-reference/batch/request-input).
+ /// - For Retrieval or `file_search` ingestion, upload files here first. If
+ /// you need to attach multiple uploaded files to the same vector store, use
+ /// [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch)
+ /// instead of attaching them one by one.
/// Please [contact us](https://help.openai.com/) if you need to increase these
/// storage limits.
///
@@ -418,7 +423,8 @@ partial void ProcessUploadFileResponseContent(
///
/// Upload a file that can be used across various endpoints. Individual files
/// can be up to 512 MB, and each project can store up to 2.5 TB of files in
- /// total. There is no organization-wide storage limit.
+ /// total. There is no organization-wide storage limit. Uploads to this
+ /// endpoint are rate-limited to 2,000 files per minute per organization.
/// - The Assistants API supports files up to 2 million tokens and of specific
/// file types. See the [Assistants Tools guide](/docs/assistants/tools) for
/// details.
@@ -429,6 +435,10 @@ partial void ProcessUploadFileResponseContent(
/// - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
/// also has a specific required
/// [format](/docs/api-reference/batch/request-input).
+ /// - For Retrieval or `file_search` ingestion, upload files here first. If
+ /// you need to attach multiple uploaded files to the same vector store, use
+ /// [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch)
+ /// instead of attaching them one by one.
/// Please [contact us](https://help.openai.com/) if you need to increase these
/// storage limits.
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IFilesClient.UploadFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IFilesClient.UploadFile.g.cs
index fc9984c0..425e5994 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IFilesClient.UploadFile.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IFilesClient.UploadFile.g.cs
@@ -7,7 +7,8 @@ public partial interface IFilesClient
///
/// Upload a file that can be used across various endpoints. Individual files
/// can be up to 512 MB, and each project can store up to 2.5 TB of files in
- /// total. There is no organization-wide storage limit.
+ /// total. There is no organization-wide storage limit. Uploads to this
+ /// endpoint are rate-limited to 2,000 files per minute per organization.
/// - The Assistants API supports files up to 2 million tokens and of specific
/// file types. See the [Assistants Tools guide](/docs/assistants/tools) for
/// details.
@@ -18,6 +19,10 @@ public partial interface IFilesClient
/// - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
/// also has a specific required
/// [format](/docs/api-reference/batch/request-input).
+ /// - For Retrieval or `file_search` ingestion, upload files here first. If
+ /// you need to attach multiple uploaded files to the same vector store, use
+ /// [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch)
+ /// instead of attaching them one by one.
/// Please [contact us](https://help.openai.com/) if you need to increase these
/// storage limits.
///
@@ -33,7 +38,8 @@ public partial interface IFilesClient
///
/// Upload a file that can be used across various endpoints. Individual files
/// can be up to 512 MB, and each project can store up to 2.5 TB of files in
- /// total. There is no organization-wide storage limit.
+ /// total. There is no organization-wide storage limit. Uploads to this
+ /// endpoint are rate-limited to 2,000 files per minute per organization.
/// - The Assistants API supports files up to 2 million tokens and of specific
/// file types. See the [Assistants Tools guide](/docs/assistants/tools) for
/// details.
@@ -44,6 +50,10 @@ public partial interface IFilesClient
/// - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
/// also has a specific required
/// [format](/docs/api-reference/batch/request-input).
+ /// - For Retrieval or `file_search` ingestion, upload files here first. If
+ /// you need to attach multiple uploaded files to the same vector store, use
+ /// [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch)
+ /// instead of attaching them one by one.
/// Please [contact us](https://help.openai.com/) if you need to increase these
/// storage limits.
///
diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml
index ef874014..4d9690e0 100644
--- a/src/libs/tryAGI.OpenAI/openapi.yaml
+++ b/src/libs/tryAGI.OpenAI/openapi.yaml
@@ -9467,7 +9467,9 @@ paths:
can be up to 512 MB, and each project can store up to 2.5 TB of files in
- total. There is no organization-wide storage limit.
+ total. There is no organization-wide storage limit. Uploads to this
+
+ endpoint are rate-limited to 2,000 files per minute per organization.
- The Assistants API supports files up to 2 million tokens and of
@@ -9482,6 +9484,10 @@ paths:
input
also has a specific required
[format](/docs/api-reference/batch/request-input).
+ - For Retrieval or `file_search` ingestion, upload files here first. If
+ you need to attach multiple uploaded files to the same vector store, use
+ [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch)
+ instead of attaching them one by one.
Please [contact us](https://help.openai.com/) if you need to increase
these
@@ -9503,6 +9509,12 @@ paths:
x-oaiMeta:
name: Upload file
group: files
+ description: >
+ Uploads a file for later use across OpenAI APIs. Uploads to this
+ endpoint are rate-limited to 2,000 files per minute per organization.
+ For Retrieval or `file_search` ingestion, upload files here first. If
+ you need to attach multiple uploaded files to the same vector store,
+ use vector store file batches instead of attaching them one by one.
examples:
request:
curl: |