Longbridge OpenAPI C++ SDK
Public Attributes | List of all members
longbridge::agent::Agent Struct Reference

An Agent in a Workspace. More...

#include <types.hpp>

Public Attributes

std::string uid
 Agent UID, used as the path parameter of AgentContext::conversation. More...
 
std::string name
 Agent name. More...
 
std::string description
 Agent description. More...
 
std::string mode
 Agent mode, e.g. "chat". More...
 
std::string icon
 Icon URL. More...
 
bool is_published
 Whether published; only published Agents can start conversations. More...
 
int64_t published_at
 Publish time, Unix timestamp in seconds; 0 if unpublished. More...
 
int64_t created_at
 Creation time, Unix timestamp in seconds. More...
 
int64_t updated_at
 Last updated time, Unix timestamp in seconds. More...
 

Detailed Description

An Agent in a Workspace.

Member Data Documentation

◆ created_at

int64_t longbridge::agent::Agent::created_at

Creation time, Unix timestamp in seconds.

◆ description

std::string longbridge::agent::Agent::description

Agent description.

◆ icon

std::string longbridge::agent::Agent::icon

Icon URL.

◆ is_published

bool longbridge::agent::Agent::is_published

Whether published; only published Agents can start conversations.

◆ mode

std::string longbridge::agent::Agent::mode

Agent mode, e.g. "chat".

◆ name

std::string longbridge::agent::Agent::name

Agent name.

◆ published_at

int64_t longbridge::agent::Agent::published_at

Publish time, Unix timestamp in seconds; 0 if unpublished.

◆ uid

std::string longbridge::agent::Agent::uid

Agent UID, used as the path parameter of AgentContext::conversation.

◆ updated_at

int64_t longbridge::agent::Agent::updated_at

Last updated time, Unix timestamp in seconds.


The documentation for this struct was generated from the following file: