UNPKG

@openai/agents-realtime

Version:

The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. This package contains the logic for building realtime voice agents on the server or in the browser.

14 lines 867 B
import * as utilImport from "./utils.mjs"; export { RealtimeAgent } from "./realtimeAgent.mjs"; export { RealtimeSession, } from "./realtimeSession.mjs"; export { OpenAIRealtimeWebRTC, } from "./openaiRealtimeWebRtc.mjs"; export { OpenAIRealtimeWebSocket, } from "./openaiRealtimeWebsocket.mjs"; export { OpenAIRealtimeBase, DEFAULT_OPENAI_REALTIME_MODEL, DEFAULT_OPENAI_REALTIME_SESSION_CONFIG, } from "./openaiRealtimeBase.mjs"; export const utils = { base64ToArrayBuffer: utilImport.base64ToArrayBuffer, arrayBufferToBase64: utilImport.arrayBufferToBase64, getLastTextFromAudioOutputMessage: utilImport.getLastTextFromAudioOutputMessage, }; export { ModelBehaviorError, OutputGuardrailTripwireTriggered, tool, UserError, } from '@openai/agents-core'; export { backgroundResult, isBackgroundResult } from "./tool.mjs"; //# sourceMappingURL=index.mjs.map