XiaoZhi Helper

[中文]

  • Public header: #include "brookesia/agent_helper/xiaozhi.hpp"

Overview

Raw Doxygen API for the XiaoZhi helper: types, enums, methods, and macros.

API Reference

Header File

Classes

class XiaoZhi : public esp_brookesia::service::helper::Base<XiaoZhi>

Helper schema definitions for the XiaoZhi agent service.

Public Static Functions

static inline constexpr std::string_view get_name()

Name of the XiaoZhi agent service.

Returns

std::string_view Stable service name.

static inline std::span<const service::FunctionSchema> get_function_schemas()

Get the function schemas exported by the XiaoZhi agent.

Returns

std::span<const service::FunctionSchema> Static schema span.

static inline std::span<const service::EventSchema> get_event_schemas()

Get the event schemas exported by the XiaoZhi agent.

Returns

std::span<const service::EventSchema> Static schema span.