Kind: Function
Source: atloria-monorepo/apps/api/src/ai/providers/azure-responses.provider.ts
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(notmessages),instructions(not system role),max_output_tokens - Response:
output_text,usage.input_tokens/output_tokens - Streaming: typed
event:+data:pairs withresponse.output_text.deltaevents
Signature
tsfunction extractOutputText(output: unknown): string
Parameters
| Name | Type |
|---|---|
output | unknown |
Returns: string
Was this page helpful?