# Chat Completion

> Generate a chat completion response.

## Description

Generate a chat completion response.

## Project compatibility

Windows | Cross-platform

## Configuration

* **Connection** - The connection established in Integration Service. Access the dropdown menu to choose, add, or manage connections.
* **Model** - Specifies the AI model used for generating responses. Select an option from the dropdown list. Refer to the Perplexity documentation for [supported models](https://docs.perplexity.ai/models/model-cards).
* **Prompt** - The input to use for the chat completion request. This field supports `String` type input.

### Manage Properties

Use the **Manage Properties** wizard to configure or use any of the object's standard or custom fields. You can select fields to add them to the activity canvas. The added standard or custom fields are available in the **Properties** panel (in Studio Desktop) or under **Show additional properties** (in Studio Web).

### Additional properties

#### Output

* **Citations list** - A list of citations related to the content provided. Automatically generated output variable.
* **Chat completion** - Automatically generated output variable.
* **Output** - The main content of the response generated by the AI. Automatically generated output variable.
