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

Module for representing the OpenAI schema EvalGraderPython.

Fields

  • :image_tag - optional - String.t()
    The image tag to use for the python script.

  • :name - required - String.t()
    The name of the grader.

  • :pass_threshold - optional - number()
    The threshold for the score.

  • :source - required - String.t()
    The source code of the python script.

  • :type - required - :python
    The object type, which is always python.
    Allowed values: "python"

Summary

Types

@type t() :: %ExOpenAI.Components.EvalGraderPython{
  image_tag: String.t() | nil,
  name: String.t(),
  pass_threshold: number() | nil,
  source: String.t(),
  type: :python
}