Sha256: 1597dc597377f656a0af718c1e33446e8468aee75c11b3c63ee7227700d11090

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

require "roseflow/chat/message"

module Types
  module OpenAI
    FunctionCallObject = Types::Hash
    StringOrObject = Types::String | FunctionCallObject
    StringOrArray = Types::String | Types::Array
  end
end

module Roseflow
  module OpenAI
    class ChatMessage < Roseflow::Chat::Message
      attribute? :function_call, Types::OpenAI::FunctionCallObject
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roseflow-openai-0.2.0 lib/roseflow/openai/chat_message.rb