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

# getRawPrompt

> Return the raw stored prompt text, unrendered.

Return the raw stored prompt text — whatever was passed to `setPromptText()` —
or `null` if no raw text has been set. Unlike `getPrompt()`, which renders POM
sections to Markdown, this returns the unrendered source string.

## **Parameters**

None.

## **Returns**

`string | null` -- The raw stored prompt text, or `null` when not set.

## **Example**

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

const pm = new PromptManager();
pm.setPromptText('You are a helpful assistant.');
console.log(pm.getRawPrompt()); // "You are a helpful assistant."
```