Public
Likeoffice-window
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v56View latest version
The starter prompts displayed to the user before a chat begins are configured in prompts.ts.
To update the prompts:
- Open
data/prompts.ts. - Modify the
STARTER_PROMPTSarray. - Add, remove, or edit the strings as needed.
Example:
export const STARTER_PROMPTS = [
"New prompt 1",
"New prompt 2",
];
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.