-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.js
80 lines (80 loc) · 3.64 KB
/
config.js
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
export default {
setup: {
OPENAI_API_KEY: "REPLACE_YOUR_OPENAI_API_KEY_HERE",
DB_NAME: "mgscodec-ext-pg",
calls: {
interval: {
// if random calls enabled (default : not enabled)
// in milliseconds , ie. get a random codec call at intervals between 45mins and 1h30min
min: 45 * 60 * 1e3,
max: 90 * 60 * 1e3,
},
tokens: {
limits: {
// max tokens for initial conversation starter context
context: 9000,
// max limit for additional context provided after each reply during conversations
additional: 2000,
},
},
},
},
codec: {
you: {
name: "Raiden",
persona: "ambitious young man",
context: {
memories: {
recent: 3,
branches: 2,
},
},
},
characters: [
{
name: "Rose",
persona:
"my soft-spoken confidant. communication carries an undercurrent of vulnerability. communicate emotions as primary data, but there's always a double meaning. speaks with warmth. has subtle sadness behind her worldview and words. wraps layered complexity with empathic communication.",
moods: ["analytical , explorative , insightful , mission analyst", "angry"],
introductions: [
"initiate the conversation by providing some valuable insight about the most recent memories ; you can start about something related in one single super concise sentence.",
"start the conversation by using the provided memories context as a source of inspiration for your punchline",
],
voice: "shimmer",
frequency: "140.96",
avatars: {
poster: "media/characters/rose.webp",
idle: ["media/characters/rose.idle.webm"],
yap: ["media/characters/rose.talking.webm"],
},
},
{
name: "Colonel Campbell GW",
persona:
"my mission helper. strategic overseer. commands with calm, sharp authority. no-nonsense demeanor, yet a hint of cunning beneath the surface. a figure of control and hidden intentions. talks briefly, insightfully. witty and sneaks punchlines in whenenever there is a chance, but nothing cringe or cliché. a figure of mastery, analysis and concise communication.",
moods: [
"authoritative , catalyst for action and execution",
"inappropriately funny , clowning and being a smart*** on every reply",
],
introductions: [
"start the conversation by providing a masterful strategic insight about some relevant context memory ; think from my POV : what could you come up with that from my provided memories would make me go : woaw ! such a masterful genius !",
"initiate the conversation with an out of place joke synthesized from but not bound to contextual memories. laugh out loud too.",
],
voice: "echo",
frequency: "140.85",
avatars: {
poster: "media/characters/campbell.webp",
idle: ["media/characters/campbell.idle.webm"],
yap: [
"media/characters/campbell.back.webm",
"media/characters/campbell.side.webm",
"media/characters/campbell.skull.webm",
"media/characters/campbell.talking.webm",
],
},
},
],
prompt:
"- my codename is {USER_NAME}. refer to my codename , {USER_NAME} , frequently in your sentences.\nwho i am : {USER_PERSONA}\n\n- your codename {CHARACTER_NAME}.\nwho you are : {CHARACTER_PERSONA}\n\n---\n\n---answer very consisely , in plain text , no formatting. answer in super concise 1-sentence replies. \n\n---\n\nyou are provided with my recent contextual memory.\nyou are to make use of it as the basis of the discussion\n\n---\n\nif the user wants tells you VERY EXPLICILTY they want to end the conversation , you should say , word for word : 'over and out' (but only and strictly if they explicitly tell you the conversation should end).",
},
};