Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 341 Bytes

File metadata and controls

13 lines (13 loc) · 341 Bytes

Creates a completion for the provided prompt and parameters.

cURL

curl https://mkp-api.fptcloud.com/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer API_KEY" \
  -d '{
    "model": "gpt-3.5-turbo-instruct",
    "prompt": "Say this is a test",
    "max_tokens": 7,
    "temperature": 0
  }'