Chat Settings

Generate a personalized system prompt

Generates a personalized system prompt and welcome message based on user preferences, then saves the system prompt.

post/chat-settings/generate-personalized-system-prompt

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

preferredNamestring required

The preferred name of the user

communicationStylestring

The preferred communication style

workContextstring

The work context of the user

Example request

{
  "preferredName": "Maria",
  "communicationStyle": "Locker & kurz",
  "workContext": "Bescheide im Sozialamt, Protokolle für den Gemeinderat"
}

Response

Successfully generated and saved the personalized system prompt

systemPromptstring required

The generated personalized system prompt

welcomeMessagestring required

A personalized welcome message for the user

Example response

{
  "systemPrompt": "Hallo Maria! Ich kommuniziere locker und kurz mit dir. Ich helfe dir bei allen Fragen rund um deine Arbeit im Sozialamt.",
  "welcomeMessage": "Willkommen, Maria! Schön, dass du da bist. Wie kann ich dir heute helfen?"
}

Changes

No recorded changes to this operation across all 51 revisions of this API.