Create Assistant
POST https://api.openai.com/v1/assistants
Request Body
{"instructions"=>"You are a personal math tutor. When asked a question, write and run Python code to answer the question.", "name"=>"Math Tutor", "tools"=>[{"type"=>"code_interpreter"}], "model"=>"gpt-4-turbo"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string | ||
OpenAI-Beta | string |