Endpoints
Use the ScholarAI Agent to generate chat completions
Mimics the input and output to the OpenAI Chat Completion API: https://platform.openai.com/docs/api-reference/chat/create
POST
Body
application/json
Model being used. Currently ignored and defaults to "scholarai" with GPT4-turbo
Whether or not to stream the response. Streaming is recommended!
Response
200
Stream based on OpenAI Completions structure