OpenAI

[中文]

  • Component registry: espressif/brookesia_agent_openai

  • Helper header: #include "brookesia/agent_helper/openai.hpp"

  • Helper class: esp_brookesia::agent::helper::Openai

Overview

brookesia_agent_openai implements the OpenAI agent on ESP-Brookesia Agent Manager.

Features

  • OpenAI Realtime: WebRTC data channels for real-time voice and text.

  • P2P: esp_peer for signaling and data channels.

  • Audio: OPUS by default at 16 kHz, 24 kbps.

  • Data channel: Audio, text, function calls, session control, etc.

  • Low latency: Real-time duplex audio.

  • Persistence: Optional brookesia_service_nvs for configuration.

Standard Include / Helper Class

  • Standard include: #include \"brookesia/agent_helper/openai.hpp\"

  • Helper class: esp_brookesia::agent::helper::Openai

Service Interfaces

Functions

This contract does not expose standard function schemas.

Events

This contract does not publish standard event schemas.