discourse-ai/lib/completions/dialects/fake.rb

24 lines
401 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module DiscourseAi
module Completions
module Dialects
class Fake < Dialect
class << self
def can_translate?(model_name)
model_name == "fake"
end
end
def tokenizer
DiscourseAi::Tokenizer::OpenAiTokenizer
end
def translate
""
end
end
end
end
end