Plantilla de variables para prompts
Rellena variables con nombre sin ejecutar código de plantilla.
Plantilla de variables para prompts
Cómo usar Plantilla de variables para prompts
Prompt variable templater fills {{placeholders}} in a prompt with values from a JSON object you provide, using plain text substitution with no template code executed. Placeholder names start with a letter or underscore and may contain dots or hyphens, spaces inside the braces are allowed, and any placeholder without a matching key stops the run with a list of the missing names.
- Pega la fuente en el editor de entrada o carga el ejemplo integrado.
- Configura las variables (objeto JSON).
- Ejecuta la plantilla de variables para prompts, revisa la salida y usa los controles disponibles para copiar o descargar.
Qué admite esta herramienta
Rellena variables con nombre sin ejecutar código de plantilla.
- Variables (objeto JSON)
- Set this value for your task.
Límites y procesamiento
Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.
Fuente de ejemplo
Explain {{topic}} to {{audience}} with one example.Preguntas frecuentes
How do I format variables for the prompt templater?
Enter a single JSON object whose keys match your placeholder names, for example topic and audience keys for {{topic}} and {{audience}}. Arrays, plain strings and invalid JSON are rejected with the message that variables must be a JSON object.
What happens if a variable is missing from the JSON?
The tool lists every placeholder that has no matching key, for example Missing variables: audience, and produces no output until you add them. Extra keys that do not appear in the template are ignored.
Can I use nested objects or dotted names like {{user.name}}?
Dotted names are allowed but matched literally, so {{user.name}} needs a top-level key named user.name; nested lookup is not performed. If a value is itself an object or array, it is inserted as compact JSON text.
¿Dónde se procesa mi entrada?
Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.
¿Cuáles son los límites de entrada?
Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.