***

title: setPromptText
slug: /reference/typescript/agents/configuration/prompt-manager/set-prompt-text
description: Set raw prompt text, bypassing POM rendering.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Set the raw prompt text, bypassing POM rendering. When raw text is set,
`getPrompt()` returns it directly instead of rendering POM sections.

## **Parameters**

<ParamField path="text" type="string" required={true} toc={true}>
  The raw prompt string.
</ParamField>

## **Returns**

`void`

## **Example**

```typescript {4}
import { PromptManager } from '@signalwire/sdk';

const pm = new PromptManager();
pm.setPromptText('You are a helpful assistant. Answer questions concisely.');
console.log(pm.getPrompt());
```