anse-app/anse

model add

luoxiaofeng1029 opened this issue · 1 comments

Describe the feature

need gpt-3.5-turbo-16k-0613

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

In fact, gpt-3.5-turbo-16k is now gpt-3.5-turbo-16k-0613 you need. All gpt-3.5-turbo-16k will call the latest version of the model by default until a newer model is released by OpenAI.

curl -s --location 'https://api.openai.com/v1/chat/completions'  \
--header 'Authorization: Bearer $KEY' \
--header 'Content-Type: application/json' \
--data '{
  "model": "gpt-3.5-turbo-16k",
  "messages":[
    {"role": "system", "content": "Sure! Here s a simple example of a Hello, World! program in Python:When you run this code, it will display the message Hello, World! in the output. This is a common starting point for beginners learning programming as it introduces them to basic syntax and outputting text."},
    {"role": "user", "content": "explain it"}
    ]
  }'
{
  "id": "chatcmpl-7ZikzVmTZ8r70lnNqrsxjcfe3kor3",
  "object": "chat.completion",
  "created": 1688747881,
  "model": "gpt-3.5-turbo-16k-0613",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Sure! Let's break down the code step by step:.......

I will try to create a PR, but I am not sure it will be accepted.