Skip to content

OpenAI.Response.Create

Andrew Lambert edited this page Feb 5, 2023 · 3 revisions

Method signatures

 Shared Function Create(Endpoint As String) As OpenAI.Response
 Shared Function Create(Endpoint As String, Request As OpenAI.Request) As OpenAI.Response

Parameters

Create(String)

Name Type Comment
Endpoint String An OpenAI endpoint to make a GET request of.

Create(String, OpenAI.Request)

Name Type Comment
Endpoint String An OpenAI endpoint to make a POST request of.
Request Request The request body to send.

Return value

Returns a new instance of OpenAI.Response containing the response to the query.

Clone this wiki locally