Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.omni.co/llms.txt

Use this file to discover all available pages before exploring further.

Defines global number formatting in the model, including how thousands and decimals are delimited and the default currency symbol. This parameter can be set dynamically using a user attribute, which is for multi-regional organizations where different users need to see numbers formatted according to their local conventions.

Syntax

default_numeric_locale: <locale>
default_numeric_locale
string
default:"en_US"
Defines the locale to use for global number formatting. Value must be one of the following:
  • en_US - Default. Comma-delimited thousands, period-delimited decimals, dollar default currency
  • br_BR (Brazil) - Dot-delimited thousands, comma-delimited decimals, Real default currency
  • de_DE (Germany) - Dot-delimited thousands, comma-delimited decimals, Euro default currency
  • en_GB (United Kingdom) - Comma-delimited thousands, period-delimited decimals, pound default currency
  • fr_FR (French) - Space-delimited thousands, comma-delimited decimals, Euro default currency
  • ja_JP (Japan) - Comma-delimited thousands, period-delimited decimals, yen default currency
  • nl_NL (Netherlands) - Dot-delimited thousands, comma-delimited decimals, Euro default currency
Can be set dynamically using user attributes. See the Examples section for an example.

Examples

Static value

French numeric locale
default_numeric_locale: fr_FR

Dynamic value using user attributes

This example assumes your Omni instance has an existing user attribute called user_locale and that users have been assigned appropriate locale codes, such as en_US for US users.
Set numeric locale based on user's region
default_numeric_locale: {{ omni_attributes.user_locale }}