Chat
Given a list of messages, the model will return a response.
Create chat completion
Create chat completion
POST
https://api.forefront.ai/v1/chat/completions
Creates a model response for the given chat conversation.
Request Body
Name | Type | Description |
---|---|---|
model* | string | |
messages* | array | |
max_tokens | integer | |
temeperature | number | |
stop | array |
Example request
Last updated