microfoom
API referenceType aliases

SystemPrompt

Type Alias: SystemPrompt

type SystemPrompt = 
  | {
  append: string;
}
  | {
  replace: string;
};

Defined in: packages/microfoom-core/src/config.ts:21

System-prompt contribution for one scope. Exactly one of append / replace: append accumulates onto the inherited prompt; replace discards everything from wider scopes and becomes the new base.

On this page