Sha256: c1b1e0675629240ebf77ff613bc7385a05627156e04d8fa805706897a581b9d7
Contents?: true
Size: 488 Bytes
Versions: 14
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true module GenAI class Language class Base < GenAI::Base DEFAULT_ROLE = 'user' def embed(...) raise NotImplementedError, "#{self.class.name} does not support embedding" end def complete(...) raise NotImplementedError, "#{self.class.name} does not support completion" end def chat(...) raise NotImplementedError, "#{self.class.name} does not support conversations" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems