小智 Helper

[English]

  • 公共头文件: #include "brookesia/agent_helper/xiaozhi.hpp"

概述

本页用于查看小智 helper 的原始 Doxygen API,包括公共类型、枚举、方法与相关宏定义。

API 参考

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.

返回

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.

返回

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.

返回

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