Sha256: 79977fee5d8bd72dca28d56823031b115743301cfa2b23ec185be0fa95be8f86
Contents?: true
Size: 380 Bytes
Versions: 5
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true module OmniAI class Chat # A choice returned by the API. class Choice attr_accessor :index, :message, :role # @param index [Integer] # @param message [OmniAI::Chat::Message] # @param role [String] def initialize(index:, message:) @index = index @message = message end end end end
Version data entries
5 entries across 5 versions & 1 rubygems