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(pull : JSON::PullParser)
Sourcenew(messages : Array(FineTuneChatRequestInputMessagesItem) | Nil = nil, tools : Array(ChatCompletionTool) | Nil = nil, parallel_tool_calls : ParallelToolCalls | Nil = nil, functions : Array(ChatCompletionFunctions) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
A list of functions the model may generate JSON inputs for.
messages
Sourceparallel_tool_calls
Sourceparallel_tool_calls=(parallel_tool_calls : ParallelToolCalls | Nil)
Source