# Text generation

You can configure the Text generation assistant through [Settings](https://docs.struct.com/pim3/reference/settings) > [Ai assistant](https://docs.struct.com/pim3/reference/settings/ai-assistant) > [Text generation](https://docs.struct.com/pim3/reference/settings/ai-assistant/text-generation).

### Enable text generation assistant

Determines whether the text generation assistant is enabled for users to use when working with texts in PIM.

### Text generator engine

The engine to use for text generation.

### API key

The API key for your Open AI account.

### Organization id

The organization id from your Open AI account you want to use.

### Assistant Id

The id of the Open AI assistant (typically looks something like this: asst\_C3ZdvO9dMkbKSv78eNmCw5vq).

### Model name

The name of the fine tuned model you want to use (typically looks something like this: ft:gpt-3.5-turbo-1106:struct:struct-ex1:9FHMEm9n).
