class

OpenAI::EvalJsonlFileContentSource

Inherits JSON::Serializable < Reference < Object

Constructors

new(type_value : EvalJsonlFileContentSourceType = EvalJsonlFileContentSourceType::FileContent, content : Array(EvalJsonlFileContentSourceContentItem) = [] of EvalJsonlFileContentSourceContentItem)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content

The content of the jsonl file.

Source
content=(content : Array(EvalJsonlFileContentSourceContentItem))

The content of the jsonl file.

Source
type_value

The type of jsonl source. Always file_content.

Source
type_value=(type_value : EvalJsonlFileContentSourceType)

The type of jsonl source. Always file_content.

Source