class

OpenAI::ApplyPatchDeleteFileOperation

Inherits JSON::Serializable < Reference < Object

Instruction describing how to delete a file via the apply_patch tool.

Constructors

new(type_value : ApplyPatchDeleteFileOperationType = ApplyPatchDeleteFileOperationType::DeleteFile, path : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

path

Path of the file to delete.

Source
path=(path : String)

Path of the file to delete.

Source
type_value

Delete the specified file.

Source
type_value=(type_value : ApplyPatchDeleteFileOperationType)

Delete the specified file.

Source