# Prompt templates — LangChain / LlamaIndex

Source: https://www.geekswithgeeks.com/hi/langchain-llamaindex/langchain-llamaindex-16

> Prompt templates को स्पष्ट evidence के साथ लागू करें।

## Prompt templates को समझें

**Prompt templates** में पहले उसकी समस्या समझें। Implementation चुनने से पहले input, constraint और दिखने वाला outcome पहचानें।

## Workflow देखें

**Prompt templates** में समझें, काम करें, verify करें और सुधारें।

![Prompt templates का workflow।](assets/figures/langchain-llamaindex/section-4-map.svg) — चित्र 4.1 — दोहराया जा सकने वाला workflow।

## उपयोगी तुलना

**Prompt templates** route plan जैसा है: हर step को destination से जोड़ता है।

अपनी reasoning जाँचें।

**Quiz:** Prompt templates के लिए सही पहला step क्या है?

- [x] Goal और constraint तय करें।
- [ ] Unverified example copy करें।
- [ ] Measurement छोड़ दें।

*Answer:* Goal और constraint तय करें।. स्पष्ट goal और constraint निर्णय को review योग्य बनाते हैं।
