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

Module for representing the OpenAI schema EvalJsonlFileContentSource.

Fields

  • :content - required - [{:%{}, [], [{{:required, [], [:item]}, {:map, [], []}}, {{:optional, [], [:sample]}, {:map, [], []}}]}]
    The content of the jsonl file.

  • :type - required - :file_content
    The type of jsonl source. Always file_content.
    Allowed values: "file_content"
    Default: "file_content"

Summary

Types

@type t() :: %ExOpenAI.Components.EvalJsonlFileContentSource{
  content: [%{:item => map(), optional(:sample) => map()}],
  type: :file_content
}