-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.Response.GetResult
Andrew Lambert edited this page Mar 12, 2023
·
7 revisions
Function GetResult(Index As Integer = 0) As Variant
Name | Type | Comment |
---|---|---|
Index | Integer | Optional. The index of the result to retrieve if there are more than one. If the index is invalid then an OutOfBoundsException will be raised. |
A Variant
containing the result. This may be a String
, a Picture
, a JSONItem
, or another kind of data depending on the request. Refer to Response.ResultType to determine the type of the result.
Use this method to retrieve the response(s) to the request. The first (and often only) response is at index zero. The last response is at Response.ResultCount-1.
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.