-
-
Notifications
You must be signed in to change notification settings - Fork 6
OpenAI.Response.HasResultAttribute
Andrew Lambert edited this page Jan 1, 2024
·
1 revision
Function HasResultAttribute(Index As Integer, AttributeName As String) As Boolean
Name | Type | Comment |
---|---|---|
Index | Integer | The index of the result to retrieve if there are more than one. If the index is invalid then an OutOfBoundsException will be raised. |
AttributeName | String | The key into the reply's raw JSON to retrieve. |
Returns True
if the specified response parameter exists.
Use this method to detect parts of the JSON reply that are not exposed through the wrapper.
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.