Files
Roman RizziandRafael Silva 1d786fbaaf FEATURE: Set endpoint credentials directly from LlmModel. (#625)
* FEATURE: Set endpoint credentials directly from LlmModel.

Drop Llama2Tokenizer since we no longer use it.

* Allow http for custom LLMs

---------

Co-authored-by: Rafael Silva <[email protected]>
2024-05-16 09:50:22 -03:00

24 lines
401 B
Ruby

# 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