Function reference
-
assistant_create()
- Create an assistant
-
assistant_delete()
- Delete an assistant by id
-
assistant_file_create()
- Create Assistant file from assistant object and file id file must already exist
-
assistant_file_delete()
- Delete an assistant file
-
assistant_list()
- Get list of all assistants
-
assistant_retrieve()
- Retrieves an assistant by id
-
assistant_run()
- Function that runs an assistant with a thread
-
check_token()
- Check whether the OpenAI Token is set
-
file_delete()
- Delete a file by id
-
file_list()
- List all files
-
file_upload()
- Upload a file for assistant use
-
get_last_message()
- Gets the content of the last message from a list of messages
-
is_active()
- Checks whether a run is active
-
is_assistant()
- determines if a object is an assistant
-
is_assistant_id()
- verifies an assistant id as a valid assistant id
-
is_file_id()
- Check if a string is a file id
-
is_run()
- Check if a run is a run
-
is_run_id()
- verifies a run id
-
is_thread()
- determines if object is a thread object
-
is_thread_id()
- verifies a thread id as a valid thread id
-
run_retrieve()
- Retrieve a run by thread and run object
-
run_retrieve_by_id()
- Retrieve a run by thread and run object by ID
-
thread_add_message()
- Add a message to a thread
-
thread_create()
- Create a new thread
-
thread_delete()
- Delete a thread by id
-
thread_retrieve()
- Retrieve thread by id
-
thread_retrieve_messages()
- Retrieve messages from thread object