# Interface ChatCompletionRequest

Chat completion request configuration.

interface ChatCompletionRequest {
messages?: ChatMessages;
messagesHistory?: ChatMessages;
placeholderValues?: Record<string, string>;
}

- Defined in packages/orchestration/dist/orchestration-types.d.ts:8

##### Index

### Properties

messages?
messagesHistory?
placeholderValues?

## Properties

### `Optional` messages

messages?: ChatMessages

New chat messages, including template messages.

#### Example

    messages: [
      {
        role: 'system',
        content: 'You are a helpful assistant answering questions about {{product}}.'
      },
      {
        role: 'user',
        content: 'Can you give me an overview of its key benefits?'
      }
    ]

- Defined in packages/orchestration/dist/orchestration-types.d.ts:27

### `Optional` messagesHistory

messagesHistory?: ChatMessages

Chat History.

- Defined in packages/orchestration/dist/orchestration-types.d.ts:12

### `Optional` placeholderValues

placeholderValues?: Record<string, string>

Template parameters.

#### Example

    placeholderValues: {
      product: 'SAP Cloud SDK'
    }

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/orchestration/dist/orchestration-types.d.ts:35