create_assistant_file | R Documentation |
Create an assistant file by attaching a File to an assistant.
create_assistant_file(assistant_id, file_id, return_response = F)
assistant_id |
(string) The ID of the assistant for which to create a File. Required |
file_id |
(string) A File ID (with purpose="assistants") that the assistant should use. Useful for tools like retrieval and code_interpreter that can access files. Required |
return_response |
(boolean) Whether to return the API response or parse the contents of the response. Defaults to FALSE (parse the response). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.