🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
<a id="camel.personas.persona"></a>
<a id="camel.personas.persona.Persona"></a>
## Persona
```python
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"></a>
### id
```python
def id(self):
```
<a id="camel.personas.persona.Persona.model_json_schema"></a>
### model_json_schema
```python
def model_json_schema(cls):
```
<a id="camel.personas.persona.Persona.dict"></a>
### dict
```python
def dict(self, *args, **kwargs):
```
<a id="camel.personas.persona.Persona.json"></a>
### json
```python
def json(self, *args, **kwargs):
```