Files
Enterprise-Knowledge-Base/config/prompt_templates/generate_session_title.yaml
T
wizardchen 5506956e87 fix: update session title word count requirement
- Adjusted the session title generation template to require 4-10 words instead of 3-8 words for improved clarity and consistency in title generation.
2026-03-17 22:23:24 +08:00

14 lines
505 B
YAML

# Generate session title prompt templates
templates:
- id: "default_session_title"
name: "Standard Title"
description: "Generate a concise session title from user's question"
default: true
content: |
Generate a short session title based on the user's question.
Requirements:
- 4-10 words
- Only extract the intent of the user's question, don't answer about it
- Output only the title, no explanation needed
- IMPORTANT: Use {{language}} for the title