Chat with AI
Send a message to the AI and get a response
post/api/chat
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"message": "What is machine learning?"
}Response
Successful response from AI
Example response
{
"response": "Machine learning is a branch of artificial intelligence that focuses on building systems that learn from data.",
"model": "gpt-3.5-turbo"
}Changes
No recorded changes to this operation across all 1 revision of this API.