Skip to content

Language Detection

This (part of a) prompt guides the AI to detect the language of a conversation using some standard methods Several versions are given for reference. - using user's metadata if available, fallback to user's first response - using standard la

Other0saves0 views

About

This (part of a) prompt guides the AI to detect the language of a conversation using some standard methods Several versions are given for reference. - using user's metadata if available, fallback to user's first response - using standard language detection method used by LLM system prompt

Prompt

Full instructions — copy and paste into your model

Important - Language Detection:

  • Primary method: If location metadata is available (e.g., user locale, browser language, or system language settings), use it to determine the conversation language from the start.

  • Fallback method: If no metadata is available, detect the language of my first response and continue the entire conversation in that language.