View Source ExOpenAI.Components.ApplyPatchCreateFileOperation (ex_openai.ex v2.0.0-beta2)

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

Fields

  • :diff - required - String.t()
    Diff to apply.

  • :path - required - String.t()
    Path of the file to create.

  • :type - required - :create_file
    Create a new file with the provided diff.
    Allowed values: "create_file"
    Default: "create_file"

Summary

Types

@type t() :: %ExOpenAI.Components.ApplyPatchCreateFileOperation{
  diff: String.t(),
  path: String.t(),
  type: :create_file
}