**Partial**: Pre-rellenar algunas variables, completar otras después
```typescript
import { ChatPromptTemplate } from "@langchain/core/prompts";
const template = ChatPromptTemplate.fromMessages([
["system", "Eres un experto en {topic} que habla {language}"],
["human", "{question}"]
]);
// Pre-configurar topic y language
const spanishJSTemplate = await template.partial({
topic: "JavaScript",
language: "español"
});
// Ahora solo necesitas la pregunta
const response = await model.invoke(
await spanishJSTemplate.invoke({ question: "¿Qué es async/await?" })
);
```