storytellurx-v1/app/game-engine/personas.ts
2025-06-11 05:15:50 +02:00

32 lines
626 B
TypeScript

import personas from "../data/personas.json" with { type: "json" };
export type AIPersonaId =
| "samantha69"
| "nelly"
| "xixi"
| "hisoka"
| "cybelle"
| "galatee"
| "polaire"
| "storytellurx_gateway"
| "storytellurx_pause";
export interface SensoryCues {
visualTheme: string;
}
export interface AIPersona {
id: AIPersonaId;
name: string;
systemPrompt: string;
history?: string;
steps?: string[];
type: "persona" | "system";
}
export const AI_PERSONAS: AIPersona[] = personas as AIPersona[];
export const personaIds = AI_PERSONAS.map((v) => v.id) as [
AIPersonaId,
...AIPersonaId[],
];