2024-01-10 23:56:40 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module DiscourseAi
|
|
|
|
module Completions
|
|
|
|
module Dialects
|
|
|
|
class Fake < Dialect
|
|
|
|
class << self
|
|
|
|
def can_translate?(model_name)
|
|
|
|
model_name == "fake"
|
|
|
|
end
|
2024-05-16 08:50:22 -04:00
|
|
|
end
|
2024-01-10 23:56:40 -05:00
|
|
|
|
2024-05-16 08:50:22 -04:00
|
|
|
def tokenizer
|
|
|
|
DiscourseAi::Tokenizer::OpenAiTokenizer
|
2024-01-10 23:56:40 -05:00
|
|
|
end
|
2024-05-07 09:02:16 -04:00
|
|
|
|
|
|
|
def translate
|
|
|
|
""
|
|
|
|
end
|
2024-01-10 23:56:40 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|