hashbrown

SystemPrompt

API

export type SystemPrompt = {
  compile: (
    components: readonly any[],
    schema:  HashbrownType ,
  ) => string;
  examples:  HBTree [];
  diagnostics:  PromptDiagnostic [];
  meta: {
    uiBlocks:  Array <{
      start: number;
      end: number;
      source: string;
    }>;
  };
};