create_assistant_file: Create Assistant File - Beta

View source: R/functions.R

create_assistant_fileR Documentation

Create Assistant File - Beta

Description

Create an assistant file by attaching a File to an assistant.

Usage

create_assistant_file(assistant_id, file_id, return_response = F)

Arguments

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).

See Also

Open AI Documentation


samterfa/openai documentation built on Oct. 9, 2024, 5:18 p.m.