-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathexample.yaml
More file actions
144 lines (133 loc) · 3.23 KB
/
example.yaml
File metadata and controls
144 lines (133 loc) · 3.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# Enabled operations
# Uncomment the ones you want to use by default
operations:
# STT
# - role: stt
# id: azure
# language: en-US # https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
# - role: stt
# id: fish
# - role: stt
# id: kobold
# suppress_non_speech: true
# langcode: en
- role: stt
id: openai # Openai STT https://platform.openai.com/docs/guides/speech-to-text
base_url: https://api.openai.com/v1/
model: gpt-4o-transcribe
language: en # https://github.com/openai/whisper/blob/main/whisper/tokenizer.py
# T2T
# - role: t2t
# id: kobold
# max_context_length: 2048
# max_length: 100
# quiet: true
# rep_pen: 1.1
# rep_pen_range: 256
# rep_pen_slope: 1
# temperature: 0.5
# tfs: 1
# top_a: 0
# top_k: 100
# top_p: 0.9
# typical: 1
- role: t2t
id: openai
base_url: https://api.openai.com/v1/
model: gpt-4o
temperature: 1
top_p: 0.9
presence_penalty: 1
frequency_penalty: 1
# Text filters
- role: filter_text
id: filter_clean
- role: filter_text
id: emotion_roberta
- role: filter_text
id: mod_koala
- role: filter_text
id: chunker_sentence
# TTS
# - role: tts
# id: azure
# voice: "en-US-AshleyNeural" # https://speech.microsoft.com/portal/voicegallery
# - role: tts
# id: fish
# model_id: c9198512a4164a18b11a3bf96e5c668f
# backend: speech-1.6
# normalize: true
# latency: normal
# - role: tts
# id: kobold
# voice: kobo
- role: tts
id: openai # OpenAI TTSG https://platform.openai.com/docs/guides/text-to-speech
base_url: https://api.openai.com/v1/
voice: nova
model: tts-1
# - role: tts
# id: pytts
# voice: 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\Voices\\Tokens\\TTS_MS_EN-US_ZIRA_11.0'
# gender: female
# - role: tts
# id: melo
# config_filepath: null
# model_filepath: null
# speaker_id: EN-Default
# device: cuda
# language: EN
# sdp_ratio: 0.8
# noise_scale: 0.6
# noise_scale_w: 0.8
# speed: 1.0
# Audio filters
# - role: filter_audio
# id: pitch
# pitch_amount: 0
# - role: filter_audio
# id: rvc
# voice: my-voice-model
# f0_up_key: 0
# f0_method: rmvpe
# f0_file: null
# index_file: null
# index_rate: 0.0
# filter_radius: 3
# resample_sr: 0
# rms_mix_rate: 0
# protect: 0.5
# MCP LLM (can use any from T2T)
# - role: mcp
# id: openai
# base_url: https://api.openai.com/v1/
# model: gpt-4o
# temperature: 0.25
# top_p: 0.9
# presence_penalty: 0.2
# frequency_penalty: 0.2
# Embedding model
- role: embedding
id: openai
base_url: https://api.openai.com/v1/
model: text-embedding-3-small
# Connect MCP servers, example commented
mcp: [] # Remove "[]" if adding servers
# - id: example_server
# command: python
# args: ["example_mcp_server.py"]
# cwd: "path/to/server/directory"
# Prompter
prompter:
instruction_prompt_filename: 'example.txt'
character_prompt_filename: 'example.txt'
scene_prompt_filename: 'example.txt'
character_name: "J.A.I.son"
name_translations:
"old name": "new name"
history_length: 20
# Kobold
kobold_filepath: E:\\jaison-core\\models\\kobold\\koboldcpp_cu12.exe # must be absolute
kcpps_filepath: E:\\jaison-core\\models\\kobold\\save.kcpps # must be absolute
# Spacy NLP
spacy_model: en_core_web_sm