Mantella is a Skyrim and Fallout 4 mod which allows you to naturally speak to NPCs using Whisper (speech-to-text), LLMs (text generation), and xVASynth / XTTS (text-to-speech).
When the LLM streams a response in src/output_manager.py, sentences are split based on symbols which indicate the end of a sentence (".", "!", "?" etc). However, when the LLM uses ellipsis, sentences are split at an awkward position. For example:
"I've been thinking... what if XYZ?"
When a line like the above plays in game, the time between delivered voicelines can be awkwardly long. Ellipsis should instead be treated as (or converted to?) a comma so that these voicelines are delivered as one line rather than being split into two.
When the LLM streams a response in
src/output_manager.py
, sentences are split based on symbols which indicate the end of a sentence (".", "!", "?" etc). However, when the LLM uses ellipsis, sentences are split at an awkward position. For example:"I've been thinking... what if XYZ?"
When a line like the above plays in game, the time between delivered voicelines can be awkwardly long. Ellipsis should instead be treated as (or converted to?) a comma so that these voicelines are delivered as one line rather than being split into two.