Skip to content

OpenAI.Response.CreateRaw

Andrew Lambert edited this page Jan 23, 2024 · 1 revision

OpenAI.Response.CreateRaw

Method signatures

 Shared Function CreateRaw(Endpoint As String, RequestMethod As String = "GET") As MemoryBlock
 Shared Function CreateRaw(Endpoint As String, Request As OpenAI.Request, RequestMethod As String = "POST") As MemoryBlock

Parameters

Create(String, String)

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.

Create(String, OpenAI.Request, String)

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.

Return value

Any data returned by the server, without processing, interpretation, or error checking.

Clone this wiki locally