-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.Model.GetModelsForEndpoint
Andrew Lambert edited this page Jan 1, 2024
·
1 revision
Shared Function GetModelsForEndpoint(Endpoint As String, Refresh As Boolean = False) As OpenAI.Model()
Name | Type | Comment |
---|---|---|
Endpoint | String | The endpoint path to query. |
Refresh | Boolean | Optional. If True then the cached model list is refreshed from the server. |
An array of zero or more OpenAI.Model
instances representing the models known to work with the specified endpoint.
Returns a list of AI models that are compatible with the specified endpoint. The Endpoint
parameter is only the path part of the overall URL. For example, in the URL "https://api.openai.com/v1/chat/completions"
, the endpoint is "/v1/chat/completions"
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.