Data Configuration

Starter Prompts

The starter prompts displayed to the user before a chat begins are configured in prompts.ts.

To update the prompts:

  1. Open data/prompts.ts.
  2. Modify the STARTER_PROMPTS array.
  3. Add, remove, or edit the strings as needed.

Example:

export const STARTER_PROMPTS = [ "New prompt 1", "New prompt 2", ];

Assistant System Prompt

The backend assistant system prompt is managed in Langfuse Prompt Management.

  • Prompt name is configured with LANGFUSE_SYSTEM_PROMPT_NAME.
  • Optionally fetch by label with LANGFUSE_SYSTEM_PROMPT_LABEL.
  • Optionally pin a specific version via LANGFUSE_SYSTEM_PROMPT_VERSION.
  • If Langfuse prompt retrieval fails, the backend falls back to a local default system prompt so chat still works.