-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.Response.Create
Andrew Lambert edited this page Mar 12, 2023
·
3 revisions
Shared Function Create(Endpoint As String, RequestMethod As String = "GET") As OpenAI.Response
Shared Function Create(Endpoint As String, Request As OpenAI.Request, RequestMethod As String = "POST") As OpenAI.Response
Name | Type | Comment |
---|---|---|
Endpoint | String | An OpenAI endpoint to make a request of. |
RequestMethod | String | Optional. The HTTP request method to use. Defaults to GET . |
Name | Type | Comment |
---|---|---|
Endpoint | String | An OpenAI endpoint to make a request of. |
Request | Request | The request body to send. |
RequestMethod | String | Optional. The HTTP request method to use. Defaults to POST . |
Returns a new instance of OpenAI.Response
containing the response(s) to the request.
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.