OpenAI
GPT-3.5 Turbo Instruct
openai/gpt-3.5-turbo-instruct
Similar capabilities as GPT-3 era models. Compatible with legacy Completions endpoint and not Chat Completions.
Context Window
4,096
Max Output Tokens
4,096
Using GPT-3.5 Turbo Instruct with Python API
Using GPT-3.5 Turbo Instruct 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-instruct",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)