Back

create-assistant (clj)

(source)

function

(create-assistant params) (create-assistant params options)
Create an assistant with a model and instructions. Example: ``` (create-assistant {:name "My PDF Assistant" :model "gpt-4-1106-preview" :instructions "You are my personal PDF assistant. You modify and extract pages from the file." :tools [{:type "code_interpreter"}]} ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant)

Examples