> For the complete documentation index, see [llms.txt](https://learn-with-nathan.gitbook.io/learnwithnathan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn-with-nathan.gitbook.io/learnwithnathan/ai-concepts/persona.md).

# Persona

A persona pre-defines the character or role that the AI will adopt, such as a teacher, assistant, or coder.

**Detailed Explanation:**

* **Why It Matters:** Personas make interactions more engaging and contextually relevant. They help the AI align with the user’s expectations.
* **How It Works:** The persona is set by combining system prompts and conversational inputs.
* **Applications:** Education (tutor persona), customer support (agent persona), or entertainment (storyteller persona).

**Example:**\
Persona: "You are a coding assistant who provides Python solutions and best practices."
