Skip to content

Commit 04fc741

Browse files
committed
Update api spec
1 parent 0452d89 commit 04fc741

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Docs/Add-RealtimeSessionItem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Position: 0
5858
```
5959
6060
### -ContentTranscript
61-
The transcript of the audio, used for `input_audio` content type.
61+
The transcript of the audio, used for `input_audio` and `audio` content types.
6262

6363
```yaml
6464
Type: String
@@ -67,7 +67,7 @@ Position: Named
6767
```
6868

6969
### -ContentType
70-
The content type (`input_text`, `input_audio`, `item_reference`, `text`).
70+
The content type (`input_text`, `input_audio`, `item_reference`, `text`, `audio`).
7171
The default value is `input_text`.
7272

7373
```yaml

Public/Realtime/Add-RealtimeSessionItem.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ function Add-RealtimeSessionItem {
4545
'input_text',
4646
'input_audio',
4747
'item_reference',
48-
'text'
48+
'text',
49+
'audio'
4950
)]
5051
[ValidateNotNullOrEmpty()]
5152
[string]$ContentType = 'input_text',

0 commit comments

Comments
 (0)