forked from Ikaros-521/AI-Vtuber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.bak
95 lines (95 loc) · 2.65 KB
/
config.json.bak
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
{
"platform": "bilibili",
"room_display_id": "你的直播间号",
"chat_type": "none",
"need_lang": "none",
"before_prompt": "请简要回复:",
"after_prompt": "",
"filter": {
"before_must_str": [],
"after_must_str": [
".",
"。",
"?",
"?"
],
"badwords_path": "data/badwords.txt",
"max_len": 30,
"max_char_len": 50
},
"live2d": {
"enable": true,
"port": 12345
},
"openai": {
"api": "https://api.openai.com/v1",
"api_key": [
"你的api_key"
]
},
"claude": {
"slack_user_token": "",
"bot_user_id": ""
},
"chatglm": {
"api_ip_port": "http://127.0.0.1:8000",
"max_length": 2048,
"top_p": 0.7,
"temperature": 0.95
},
"langchain_pdf": {
"openai_api_key": "你的api key",
"data_path": "",
"separator": "\n",
"chunk_size": 100,
"chunk_overlap": 50,
"model_name": "gpt-3.5-turbo-0301",
"chain_type": "stuff",
"show_cost": false
},
"langchain_pdf_local": {
"bot_user_id": "",
"slack_user_token": "",
"data_path": "data/伊卡洛斯百度百科.zip",
"separator": "\n",
"chunk_size": 100,
"chunk_overlap": 50,
"embedding_model": "sebastian-hofstaetter/distilbert-dot-tas_b-b256-msmarco",
"max_query": 3,
"question_prompt": "请根据以上content信息进行归纳总结,并结合question的内容给出一个符合content和question语气、语调、背景的回答。不要出现'概括''综上''感谢'等字样,向朋友直接互相交流即可。如果发现不能content的信息与question不相符,抛弃content的提示,直接回答question即可。任何情况下都要简要地回答!",
"chain_type": "stuff",
"show_cost": true
},
"audio_synthesis_type": "edge-tts",
"vits": {
"config_path": "E:\\GitHub_pro\\VITS-fast-fine-tuning\\inference\\finetune_speaker.json",
"api_ip_port": "http://127.0.0.1:7860",
"character": "ikaros"
},
"edge-tts": {
"voice": "zh-CN-XiaoyiNeural",
"rate": "+0%",
"volume": "+0%"
},
"elevenlabs": {
"api_key": "",
"voice": "Domi",
"model": "eleven_monolingual_v1"
},
"chatterbot": {
"name": "bot",
"db_path": "db.sqlite3"
},
"chatgpt": {
"model": "gpt-3.5-turbo",
"temperature": 0.9,
"max_tokens": 2048,
"top_p": 1.0,
"presence_penalty": 0.0,
"frequency_penalty": 0.0,
"preset": "请扮演一个AI虚拟主播。不要回答任何敏感问题!不要强调你是主播,只需要回答问题!"
},
"header": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42"
}
}