lib/gen_ai/language/google_palm.rb in gen-ai-0.1.0 vs lib/gen_ai/language/google_palm.rb in gen-ai-0.2.0

- old
+ new

@@ -9,10 +9,9 @@ CHAT_COMPLETION_MODEL = 'chat-bison-001' def initialize(token:, options: {}) depends_on 'google_palm_api' - @provider = :google_palm @client = ::GooglePalmApi::Client.new(api_key: token) end def embed(input, model: nil) responses = array_wrap(input).map do |text|