Introduction > Plugins: Basic > Individual: tttsim
cnnmmd_xoxxox_tttsim
Engines: Standard Output: Standard output for language generation: Send one of the texts from a specified list out of multiple lists each turn.
Implementation/Rights (Source Code/License): [※E]
- ・
- https://github.com/cnnmmd/cnnmmd_xoxxox_tttsim
- ※E
- This code is available to the public so you can see how it works (it's still being cleaned up for collaboration).
dependence:
- ・
- cnnmmd_xoxxox_libtlk
- ・
- cnnmmd_xoxxox_envweb
overview
The configuration file could look something like this - if the received number (in text format) doesn't match any of the options, the first one in the list will be chosen:
{
"output": "random",
"dictxt": {
"0": [
"you know"
],
"1": [
"I'm happy, right?"
"It's fun."
],
"2": [
"Sad, isn't it?"
"It's lonely, isn't it?"
]
}
}