Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 97d73cf

Browse files
stainless-app[bot]RobertCraigie
authored andcommittedDec 17, 2024
feat: add Realtime API support (#1958)
More information on the Realtime API can be found here: https://platform.openai.com/docs/guides/realtime
1 parent ec22ffb commit 97d73cf

File tree

70 files changed

+3313
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+3313
-4
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 69
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-779ea2754025daf5e18eb8ceb203ec321692636bc3a999338556a479178efa6c.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-0d64ca9e45f51b4279f87b205eeb3a3576df98407698ce053f2e2302c1c08df1.yml

‎api.md

+51
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,57 @@ Methods:
239239

240240
## Realtime
241241

242+
Types:
243+
244+
```python
245+
from openai.types.beta.realtime import (
246+
ConversationCreatedEvent,
247+
ConversationItem,
248+
ConversationItemContent,
249+
ConversationItemCreateEvent,
250+
ConversationItemCreatedEvent,
251+
ConversationItemDeleteEvent,
252+
ConversationItemDeletedEvent,
253+
ConversationItemInputAudioTranscriptionCompletedEvent,
254+
ConversationItemInputAudioTranscriptionFailedEvent,
255+
ConversationItemTruncateEvent,
256+
ConversationItemTruncatedEvent,
257+
ErrorEvent,
258+
InputAudioBufferAppendEvent,
259+
InputAudioBufferClearEvent,
260+
InputAudioBufferClearedEvent,
261+
InputAudioBufferCommitEvent,
262+
InputAudioBufferCommittedEvent,
263+
InputAudioBufferSpeechStartedEvent,
264+
InputAudioBufferSpeechStoppedEvent,
265+
RateLimitsUpdatedEvent,
266+
RealtimeClientEvent,
267+
RealtimeResponse,
268+
RealtimeResponseStatus,
269+
RealtimeResponseUsage,
270+
RealtimeServerEvent,
271+
ResponseAudioDeltaEvent,
272+
ResponseAudioDoneEvent,
273+
ResponseAudioTranscriptDeltaEvent,
274+
ResponseAudioTranscriptDoneEvent,
275+
ResponseCancelEvent,
276+
ResponseContentPartAddedEvent,
277+
ResponseContentPartDoneEvent,
278+
ResponseCreateEvent,
279+
ResponseCreatedEvent,
280+
ResponseDoneEvent,
281+
ResponseFunctionCallArgumentsDeltaEvent,
282+
ResponseFunctionCallArgumentsDoneEvent,
283+
ResponseOutputItemAddedEvent,
284+
ResponseOutputItemDoneEvent,
285+
ResponseTextDeltaEvent,
286+
ResponseTextDoneEvent,
287+
SessionCreatedEvent,
288+
SessionUpdateEvent,
289+
SessionUpdatedEvent,
290+
)
291+
```
292+
242293
### Sessions
243294

244295
Types:

0 commit comments

Comments
 (0)