View source: R/api_assistants.R
assistants_delete_assistant_file_request | R Documentation |
Delete an AssistantFile. To get more details, visit https://platform.openai.com/docs/api-reference/assistants/deleteAssistantFile https://platform.openai.com/docs/assistants
assistants_delete_assistant_file_request(
assistant_id,
file_id,
api_key = api_get_key()
)
assistant_id |
string, the ID of the assistant who the file belongs to. |
file_id |
string, the ID of the file to delete |
api_key |
string, OpenAI API key (see https://platform.openai.com/account/api-keys) |
content of the httr response object or SimpleError (conditions) enhanced with two additional fields: 'status_code' (response$status_code) and 'message_long' (built on response content)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.