LLM
Create Chat Completion
POST
/
v1
/
llm
/
chat
/
completions
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Query Parameters
debug
boolean
default: falseBody
application/json
session_id
string
provider
string | null
model
enum<string>
default: gpt-3.5-turboAvailable options:
gpt-4-32k-0314
, gpt-4-32k
, gpt-4-0314
, gpt-4
, gpt-3.5-turbo-0301
, gpt-3.5-turbo
, text-davinci-003
, text-davinci-002
, text-curie-001
, text-babbage-001
, text-ada-001
, text-davinci-001
, davinci-instruct-beta
, davinci
, curie-instruct-beta
, curie
, ada
, babbage
messages
object[]
requiredoptions
object | null
cache
object | null
retrieval
object | null
Response
200 - application/json
messages
object[]
requireddetails
object | null