Шаблон промпта
EN · Prompt TemplateШаблон промпта — промпт с переменными, которые заполняются данными при каждом вызове; обеспечивает единообразие и версионирование.Определение на английскомA reusable prompt structure with variable placeholders that gets populated with specific data at runtime. Prompt templates separate the agent's instructions from the dynamic content—the template defines how to respond, while variables inject the specific customer name, ticket details, or product context for each interaction. Templates enable consistent agent behavior across thousands of interactions while personalizing each response.
Пример
Шаблон для агента поддержки: «Вы помогаете {customer_name}, клиенту на тарифе {plan_tier} с {signup_date}. Проблема: {ticket_summary}. Найдите в базе знаний релевантные статьи и дайте пошаговое решение».