-
-
Notifications
You must be signed in to change notification settings - Fork 9
OpenAI.Model.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 model list is refreshed from the server. |
Returns the number of Models returned from the API.
The model list is fetched once and then cached to reduce the number of API requests. The cache is invalidated 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.