<a id="camel.prompts.code"></a>

<a id="camel.prompts.code.CodePromptTemplateDict"></a>

## CodePromptTemplateDict

```python
class CodePromptTemplateDict(TextPromptDict):
```

A dictionary containing :obj:`TextPrompt` used in the `Code` task.

**Parameters:**

- **GENERATE_LANGUAGES** (TextPrompt): A prompt to list different computer programming languages.
- **GENERATE_DOMAINS** (TextPrompt): A prompt to list common fields of study that programming could help with.
- **GENERATE_TASKS** (TextPrompt): A prompt to list diverse tasks that the AI assistant can assist AI user with.
- **TASK_SPECIFY_PROMPT** (TextPrompt): A prompt to specify a task in more detail.
- **ASSISTANT_PROMPT** (TextPrompt): A system prompt for the AI assistant that outlines the rules of the conversation and provides instructions for completing tasks.
- **USER_PROMPT** (TextPrompt): A system prompt for the AI user that outlines the rules of the conversation and provides instructions for giving instructions to the AI assistant.

<a id="camel.prompts.code.CodePromptTemplateDict.__init__"></a>

### __init__

```python
def __init__(self, *args: Any, **kwargs: Any):
```
