-
-
Notifications
You must be signed in to change notification settings - Fork 9
OpenAI.File.Count
Andrew Lambert edited this page Feb 7, 2023
·
3 revisions
Shared Function Count(Refresh As Boolean = False) As Integer| Name | Type | Comment |
|---|---|---|
| Refresh | Boolean | Optional. If True then the cached file list is refreshed from the server. |
Returns the number of files that belong to the user's organization.
The file list is fetched once and then cached to reduce the number of API requests. The cache is invalidated if you upload or delete a file, or if you pass the True as the Refresh parameter.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2023-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.