View Source GettextLLM.Translator.Specs (gettext_llm v0.2.0)

Various translation specs for the translators.

Summary

Types

config()

@type config() :: %{
  endpoint: endpoint(),
  persona: String.t(),
  style: String.t(),
  ignored_languages: [String.t()]
}

endpoint()

@type endpoint() :: %{
  adapter: module(),
  model: String.t(),
  temperature: float(),
  config: map()
}

opts()

@type opts() :: %{source_message: String.t(), target_language_code: String.t()}