***

title: addHint
slug: /reference/typescript/agents/agent-base/add-hint
description: Add a single speech recognition hint to improve transcription accuracy.
max-toc-depth: 3
---------------------

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

[ref-agentbase]: /docs/server-sdks/reference/typescript/agents/agent-base

Add a single speech recognition hint. Hints boost the automatic speech recognition
(ASR) engine's accuracy for specific words or phrases that may otherwise be
misrecognized -- such as product names, technical jargon, or uncommon proper nouns.

## **Parameters**

<ParamField path="hint" type="string" required={true} toc={true}>
  A word or phrase to boost recognition accuracy.
</ParamField>

## **Returns**

[`AgentBase`][ref-agentbase] -- Returns `this` for method chaining.

## **Example**

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

const agent = new AgentBase({ name: 'support', route: '/support' });
agent.setPromptText('You are a helpful assistant.');
agent.addHint('SignalWire');
await agent.serve();
```