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

# PromptTemplateColumnNames

> Gain access to the Prompt Playground

<img className="inline m-0" src="https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/9e9834e4-image.jpeg" /> [View source on Github](https://github.com/Arize-ai/client_python/blob/main/src/arize/utils/types.py)

Arize class to map up to 2 columns: `prompt_template` and `prompt_template_version`

```python theme={null}
class PromptTemplateColumnNames:
    template_column_name: Optional[str] = None
    template_version_column_name: Optional[str] = None
```

| Parameters                     | Data Type | Expected Type in Column                                   | Description                                                                                                                                   |
| ------------------------------ | --------- | --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `template_column_name`         | str       | The contents of this column must be strings               | Column name for the prompt template. The variables in the prompt template must be defined between double keys. Example:`My name is {{name}}.` |
| `template_version_column_name` | str       | The contents of this column must be convertible to string | Column name for the prompt template version                                                                                                   |

### Code Example

```python theme={null}
from arize.utils.types import PromptTemplateColumnNames

# Declare prompt template columns
prompt_template = PromptTemplateColumnNames(
    template_column_name = "template", # column containing the prompt template
    template_version_column_name = "template_version", # column containing the version of the prompt template
)
```
