forked from ChelseaKR/fare-policy-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbabel.cfg
More file actions
11 lines (11 loc) · 689 Bytes
/
Copy pathbabel.cfg
File metadata and controls
11 lines (11 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
# Babel message-extraction config (INTERNATIONALIZATION-STANDARD §3/§4).
#
# The assistant's fixed, rider-facing strings — the input-guard refusals and the
# "no published policy answers that" decline — are wrapped in gettext _() via the
# helpers in assistant.i18n. This config tells `pybabel extract` to scan the
# package's Python sources for those calls. The model prompts (prompts/), the
# retrieval query-expansion synonyms (assistant.retrieve), the guard detection
# regexes (assistant.guards), the CLI, and the web handler's HTTP/JSON error
# bodies are operator/model/retrieval surfaces by design and carry no _() calls,
# so nothing is extracted from them.
[python: **.py]