39 lines
987 B
TypeScript
39 lines
987 B
TypeScript
/**
|
|
* Chat Modes and System Prompts
|
|
*
|
|
* Defines available chat modes and maps them to their system prompts.
|
|
* Prompts are now versioned and managed in separate files under lib/ai/prompts/
|
|
*/
|
|
|
|
import {
|
|
collectorPrompt,
|
|
extractionReviewPrompt,
|
|
visionPrompt,
|
|
mvpPrompt,
|
|
marketingPrompt,
|
|
generalChatPrompt,
|
|
} from './prompts';
|
|
|
|
export type ChatMode =
|
|
| "collector_mode"
|
|
| "extraction_review_mode"
|
|
| "vision_mode"
|
|
| "mvp_mode"
|
|
| "marketing_mode"
|
|
| "general_chat_mode";
|
|
|
|
/**
|
|
* Maps each chat mode to its current active system prompt.
|
|
*
|
|
* Prompts are version-controlled in separate files.
|
|
* To update a prompt or switch versions, edit the corresponding file in lib/ai/prompts/
|
|
*/
|
|
export const MODE_SYSTEM_PROMPTS: Record<ChatMode, string> = {
|
|
collector_mode: collectorPrompt,
|
|
extraction_review_mode: extractionReviewPrompt,
|
|
vision_mode: visionPrompt,
|
|
mvp_mode: mvpPrompt,
|
|
marketing_mode: marketingPrompt,
|
|
general_chat_mode: generalChatPrompt,
|
|
};
|