Modify assistant
POST {{baseUrl}}/assistants/:assistant_id
Request Body
{"instructions"=>"You are an HR bot, and you have access to files to answer employee questions about company policies. Always response with info from either of the files.", "tools"=>[{"type"=>"file_search"}], "model"=>"gpt-4o"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
OpenAI-Beta | string |
RESPONSES
status: OK
{"id":"asst_j7jtOAHo7kF44B7ntwOlEniB","object":"assistant","created_at":1725129507,"name":"Math Tutor","description":null,"model":"gpt-4o","instructions":"You are an HR bot, and you have access to files to answer employee questions about company policies. Always response with info from either of the files.","tools":[{"type":"file_search","file_search":{"ranking_options":{"ranker":"default_2024_08_21","score_threshold":0}}}],"top_p":1,"temperature":1,"tool_resources":{"file_search":{"vector_store_ids":[]}},"metadata":{},"response_format":"auto"}