rikhuijzer / ata

Ask the Terminal Anything (ATA): ChatGPT in the terminal
MIT License
274 stars 17 forks source link

Allow running of chat models such as `gpt-3.5-turbo-0301` #19

Closed rikhuijzer closed 1 year ago

rikhuijzer commented 1 year ago

Currently:

Ask the Terminal Anything

model: gpt-3.5-turbo-0301
max_tokens: 500
temperature: 0.8

Prompt:
hi there

Error:
{
  "error": {
    "message": "This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?",
    "type": "invalid_request_error",
    "param": "model",
    "code": null
  }
}