Skip to content

ai chat assistant file

The ai chat assistant file commands manage OpenAI Assistant files. These commands provide functionality to upload, delete, and list the assistant files.

Usage

ai chat assistant file [command] [options]

Commands

Command Description
ai chat assistant file delete Deletes an OpenAI Assistant file.
ai chat assistant file list Lists OpenAI Assistant files.
ai chat assistant file upload Uploads a new OpenAI Assistant file.

Examples

Upload an assistant file
ai chat assistant file upload --file README.md
Upload multiple assistant files
ai chat assistant file upload --files **/*.md
List all assistant files
ai chat assistant file list
Delete an assistant file
ai chat assistant file delete --id assistant-rWdFtg0oCGtlZFZzZGC3rGhQ