home/roleplay/deepset-language-detection

Deepset Language Detection

GPTClaudeGemini··1,355 copies·updated 2026-07-14
deepset-language-detection.prompt
This prompt is designed to detect the language of given documents. 

## How to use in Haystack

1. Create a `PromptNode`. There are many models to pick from that can be used with `PromptNode`. Here is an example of one that uses `text-davinci-003`.

when to use it

Community prompt sourced from the open-source GitHub repo deepset-ai/prompthub (Apache-2.0). A "Deepset Language Detection" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

deepset-ai/prompthub · Apache-2.0