> ## 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.prompts.code

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

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

## CodePromptTemplateDict

```python theme={"system"}
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__" />

### **init**

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