Endpoint Examples
Talk to GPT (Legacy)
Legacy endpoint for chat interactions with the GPT model
POST
Authorizations
Body
application/json
Parameters for talking to GPT
The model to use for generation
The text prompt to send to GPT (optional)
Example:
"Please explain the concept of artificial intelligence."
Array of previous message objects for context (optional)
Response
200
text/plain
Talk to GPT response
Text response followed by metadata in <NanoGPT> tags