> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camel-ai.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Camel.personas.persona

<a id="camel.personas.persona" />

<a id="camel.personas.persona.Persona" />

## Persona

```python theme={"system"}
class Persona(BaseModel):
```

A persona is a character in the society.

**Parameters:**

* **name** (Optional\[str]): Name of the persona.
* **description** (Optional\[str]): Description of the persona.
* **text\_to\_persona\_prompt** (Union\[TextPrompt, str]): The prompt to convert text into a persona.
* **persona\_to\_persona\_prompt** (Union\[TextPrompt, str]): Persona-to-Persona interaction prompt.
* **id** (uuid.UUID): The unique identifier for the persona, automatically generated.
* **\_id** (uuid.UUID): Internal unique identifier for the persona, generated lazily using `uuid.uuid4`.
* **model\_config** (ClassVar\[ConfigDict]): Configuration for the Pydantic model. Allows arbitrary types and includes custom JSON schema settings.

<a id="camel.personas.persona.Persona.id" />

### id

```python theme={"system"}
def id(self):
```

<a id="camel.personas.persona.Persona.model_json_schema" />

### model\_json\_schema

```python theme={"system"}
def model_json_schema(cls):
```

<a id="camel.personas.persona.Persona.dict" />

### dict

```python theme={"system"}
def dict(self, *args, **kwargs):
```

<a id="camel.personas.persona.Persona.json" />

### json

```python theme={"system"}
def json(self, *args, **kwargs):
```
