# Interface PromptTemplatingModule

Prompt templating module configuration.

interface PromptTemplatingModule {
model: LlmModelDetails;
prompt?: string | Xor<PromptTemplate, TemplateRef>;
}

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

##### Index

### Properties

model
prompt?

## Properties

### model

model: LlmModelDetails

LLM model details.

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

### `Optional` prompt

prompt?: string | Xor<PromptTemplate, TemplateRef>

Static prompts. Can be:

- A `template`: an array of templated chat messages (with {{?placeholders}}).
- An `id` or `scenario`, `name` and `version`: reference to a remote prompt template.

This is meant for static instructions included with every call. For per-request templating, use `messages` in `.chatCompletion()` instead.

#### Example

    prompt: {
      template: [
        {
          role: 'system',
          content: 'You are an assistant for {{?product}}.'
        }
      ]
    }

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

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