This API specification outlines two endpoints for interacting with large language models - /completions
and /streams
. Referenced types and details of each endpoint follow.
Contact for edit access: [email protected] or @xanderatallah on Twitter.
Attachment
: {"image": <raw bytes> }
. Images can be any format.Communication
: string | Array<string | Attachment>
Message
: {"role": string, "content": Communication}
/completions
This endpoint accepts a request body containing the following parameters: