OpenAI Helper
公共头文件:
#include "brookesia/agent_helper/openai.hpp"
概述
本页用于查看 OpenAI helper 的原始 Doxygen API,包括公共类型、枚举、方法与相关宏定义。
API 参考
Header File
Classes
-
class Openai : public esp_brookesia::service::helper::Base<Openai>
Helper schema definitions for the OpenAI agent service.
Public Static Functions
-
static inline constexpr std::string_view get_name()
Name of the OpenAI 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 OpenAI 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 OpenAI agent.
- 返回
std::span<const service::EventSchema> Static schema span.
-
struct Info
Persistent configuration for the OpenAI agent backend.
-
static inline constexpr std::string_view get_name()