41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
/**
|
|
* Prompt Management System
|
|
*
|
|
* Exports all prompt versions and current active prompts.
|
|
*
|
|
* To add a new prompt version:
|
|
* 1. Create a new version constant in the relevant mode file (e.g., COLLECTOR_V2)
|
|
* 2. Update the prompts object to include the new version
|
|
* 3. Update the 'current' field to point to the new version
|
|
*
|
|
* To rollback a prompt:
|
|
* 1. Change the 'current' field to point to a previous version
|
|
*
|
|
* Example:
|
|
* ```typescript
|
|
* export const collectorPrompts = {
|
|
* v1: COLLECTOR_V1,
|
|
* v2: COLLECTOR_V2, // New version
|
|
* current: 'v2', // Point to new version
|
|
* };
|
|
* ```
|
|
*/
|
|
|
|
// Export individual prompt modules for version access
|
|
export * from './collector';
|
|
export * from './extraction-review';
|
|
export * from './vision';
|
|
export * from './mvp';
|
|
export * from './marketing';
|
|
export * from './general-chat';
|
|
export * from './shared';
|
|
|
|
// Export current prompts for easy import
|
|
export { collectorPrompt } from './collector';
|
|
export { extractionReviewPrompt } from './extraction-review';
|
|
export { visionPrompt } from './vision';
|
|
export { mvpPrompt } from './mvp';
|
|
export { marketingPrompt } from './marketing';
|
|
export { generalChatPrompt } from './general-chat';
|
|
|