GettextTranslator.Util.Parser (gettext_translator v0.8.0)

Copy Markdown View Source

Parse files in the gettext root folder

Summary

Functions

Returns a summary of the configured LLM provider for display in the dashboard.

Functions

parse_provider()

provider_info()

@spec provider_info() ::
  %{configured: boolean(), adapter_name: String.t(), model: String.t()}
  | %{configured: false}

Returns a summary of the configured LLM provider for display in the dashboard.

Returns %{configured: true, adapter_name: "ChatOpenAI", model: "gpt-4"} when configured, or %{configured: false} otherwise.

scan(gettext_root_path)