Tags: languages Other Template: Text Output: result (text)

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 language detection method used by LLM system prompt

By Prompts Chat — Published on

Prompt template

**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.

Comments — 0

Related prompts