spit1
Translate some text through a large language model
Usage
spit [OPTION ...]
Overview
Passes standard input to a Large Language Model (LLM) instance and prints the response. With the --to option, it translates standard input to the specified language through a Large Language Model (LLM) and prints the translation.
Warning: The output might not be what you expect. It might be of the wrong form, be of poor quality, or reflect some biases.
Options
-
--species=TYPE -
Specifies the type of LLM. The default and only valid value is 'ollama'.
-
--url=URL -
Specifies the URL of the server that runs the LLM.
-
-m, --model=MODEL -
Specifies the model to use.
-
--to=LANGUAGE -
Specifies the target language.
-
--prompt=TEXT -
Specifies the prompt to use before standard input. This option overrides the
--tooption.
-
--postprocess=COMMAND -
Specifies a command to post-process the output.
Informative output:
-
-h, --help -
Display this help and exit.
-
-V, --version -
Output version information and exit.