POST
/
models
/
v2
/
microsoft
/
Phi-3-mini-4k-instruct
curl --request POST \
  --url https://api.bytez.com/models/v2/microsoft/Phi-3-mini-4k-instruct \
  --header 'Content-Type: application/json' \
  --data '{
  "messages": [
    {
      "role": "system",
      "content": "You are a friendly chatbot"
    },
    {
      "role": "user",
      "content": "What is the capital of England?"
    }
  ],
  "model_params": {
    "max_length": 100
  }
}'
{
  "output": [
    "<string>"
  ]
}

Body

application/json
messages
object[]
model_params
object

Response

200 - application/json
Successful response
output
string[]