Deletes a file from the AI provider's storage.
The ID of the file to delete.
A Promise that resolves to true if the file was deleted, false if it didn't exist.
Uploads a file to the AI provider for use with AI features like code interpreter.
Options for uploading the file.
A Promise that resolves to the file ID assigned by the provider.
AiFilesClient provides methods for managing files with a specific AI provider. The provider is bound when the client is created via
squid.ai().files(provider).