We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let lang_tag act as a standard parameter to be automatically passed to prompt (request) settings. This is for values per https://datatracker.ietf.org/doc/html/rfc5646 https://www.rfc-editor.org/info/bcp47 https://en.wikipedia.org/wiki/IETF_language_tag and the HTML lang tag.
lang_tag
Check a top-level key in the user config file (copyaid.toml) for lang_tag if a user wants to set it.
copyaid.toml
Extra nice addition feature is to
import locale '-'.join(locale.getlocale()[0].split('_'))
to automatically populate this parameter if it is not specified in the config file.
The text was updated successfully, but these errors were encountered:
Or maybe the key should be under [parameters] like:
[parameters]
[parameters] lang_tag = 'en-US'
Sorry, something went wrong.
Or maybe within a descriptive defaults tables like:
[defaults.instruction] parameters = { lang_tag = "en-GB" }
An advanced hook to allow special cases is a per task-instruction setting like
tasks.foobarit.instructions] on = { prompt = "foobar.toml", parameters = { lang_tag = "en-GB" } }
or equiv
[tasks.foobarit.instructions.on.parameters] lang_tag = "en-GB"
No branches or pull requests
Let
lang_tag
act as a standard parameter to be automatically passed to prompt (request) settings. This is for values per https://datatracker.ietf.org/doc/html/rfc5646https://www.rfc-editor.org/info/bcp47
https://en.wikipedia.org/wiki/IETF_language_tag
and the HTML lang tag.
Check a top-level key in the user config file (
copyaid.toml
) forlang_tag
if a user wants to set it.Extra nice addition feature is to
to automatically populate this parameter if it is not specified in the config file.
The text was updated successfully, but these errors were encountered: