OpenAI::ApplyPatchUpdateFileOperationParam
Inherits JSON::Serializable < Reference < Object
Instruction for updating an existing file via the apply_patch tool.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ApplyPatchUpdateFileOperationParamType = ApplyPatchUpdateFileOperationParamType::UpdateFile, path : String = "", diff : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ApplyPatchUpdateFileOperationParamType)
The operation type. Always update_file.
validate!
Source