class

OpenAI::FineTuneChatRequestInput

Inherits JSON::Serializable < Reference < Object

The per-line training example of a fine-tuning input file for chat models using the supervised method. Input messages may contain text or image content only. Audio and file input messages are not currently supported for fine-tuning.

Constructors

new(messages : Array(FineTuneChatRequestInputMessagesItem) | Nil = nil, tools : Array(ChatCompletionTool) | Nil = nil, parallel_tool_calls : ParallelToolCalls | Nil = nil, functions : Array(ChatCompletionFunctions) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

functions

A list of functions the model may generate JSON inputs for.

Source
functions=(functions : Array(ChatCompletionFunctions) | Nil)

A list of functions the model may generate JSON inputs for.

Source
messages
Source
messages=(messages : Array(FineTuneChatRequestInputMessagesItem) | Nil)
Source
parallel_tool_calls
Source
parallel_tool_calls=(parallel_tool_calls : ParallelToolCalls | Nil)
Source
tools

A list of tools the model may generate JSON inputs for.

Source
tools=(tools : Array(ChatCompletionTool) | Nil)

A list of tools the model may generate JSON inputs for.

Source