# extractOutputText

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/ai/providers/azure-responses.provider.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/ai/providers/azure-responses.provider.ts#L41)

Azure Responses API Provider

Implements the NestJS AIProvider interface using the Azure OpenAI Responses API.
This is a fundamentally different API format from Chat Completions:
- Request: `input` (not `messages`), `instructions` (not system role), `max_output_tokens`
- Response: `output_text`, `usage.input_tokens`/`output_tokens`
- Streaming: typed `event:` + `data:` pairs with `response.output_text.delta` events

## Signature

```ts
function extractOutputText(output: unknown): string
```

## Parameters

| Name | Type |
|---|---|
| `output` | `unknown` |

**Returns:** `string`
