OpenAI
GPT-3.5 Turbo 16k
openai/gpt-3.5-turbo-0125
The latest GPT-3.5 Turbo model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Training data: up to Sep 2021.
This version has a higher accuracy at responding in requested formats and a fix for a bug which caused a text encoding issue for non-English language function calls.
Tools
Function Calling
Context Window
16,385
Max Output Tokens
4,096
Using GPT-3.5 Turbo 16k with Python API
Using GPT-3.5 Turbo 16k with OpenAI compatible API
import openai
client = openai.Client(
api_key= '{your_api_key}',
base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="openai/gpt-3.5-turbo-0125",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)