#include <conversational_agent_service.h>
Classes | |
struct | ProposalSummary |
struct | SessionMetrics |
struct | TableData |
Public Types | |
enum class | Sender { kUser , kAgent } |
Public Attributes | |
Sender | sender |
std::string | message |
absl::Time | timestamp |
std::optional< std::string > | json_pretty |
std::optional< TableData > | table_data |
bool | is_internal = false |
std::optional< SessionMetrics > | metrics |
std::optional< ProposalSummary > | proposal |
Definition at line 23 of file conversational_agent_service.h.
|
strong |
Enumerator | |
---|---|
kUser | |
kAgent |
Definition at line 24 of file conversational_agent_service.h.
Sender yaze::cli::agent::ChatMessage::sender |
Definition at line 36 of file conversational_agent_service.h.
Referenced by yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CreateMessage(), yaze::editor::AgentChatHistoryPopup::DrawMessage(), yaze::editor::EditorManager::Initialize(), yaze::editor::AgentChatHistoryCodec::Load(), yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MessageToJson(), yaze::cli::agent::SimpleChatSession::PrintMessage(), and yaze::gui::AgentChatWidget::RenderMessageBubble().
std::string yaze::cli::agent::ChatMessage::message |
Definition at line 37 of file conversational_agent_service.h.
Referenced by yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CreateMessage(), yaze::editor::AgentChatHistoryPopup::DrawMessage(), yaze::editor::EditorManager::Initialize(), yaze::editor::AgentChatHistoryCodec::Load(), yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MessageToJson(), yaze::cli::agent::anonymous_namespace{conversation_test.cc}::PrintAgentResponse(), yaze::cli::agent::SimpleChatSession::PrintMessage(), yaze::gui::AgentChatWidget::RenderMessageBubble(), and yaze::cli::agent::anonymous_namespace{conversation_test.cc}::ValidateResponse().
absl::Time yaze::cli::agent::ChatMessage::timestamp |
Definition at line 38 of file conversational_agent_service.h.
Referenced by yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CreateMessage(), yaze::editor::AgentChatHistoryPopup::DrawMessage(), yaze::editor::EditorManager::Initialize(), yaze::editor::AgentChatHistoryCodec::Load(), yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MessageToJson(), yaze::cli::agent::SimpleChatSession::PrintMessage(), and yaze::gui::AgentChatWidget::RenderMessageBubble().
std::optional<std::string> yaze::cli::agent::ChatMessage::json_pretty |
Definition at line 39 of file conversational_agent_service.h.
Referenced by yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CreateMessage(), yaze::editor::AgentChatHistoryPopup::DrawMessage(), yaze::editor::AgentChatHistoryCodec::Load(), yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MessageToJson(), yaze::cli::agent::anonymous_namespace{conversation_test.cc}::PrintAgentResponse(), yaze::cli::agent::SimpleChatSession::PrintMessage(), and yaze::gui::AgentChatWidget::RenderMessageBubble().
std::optional<TableData> yaze::cli::agent::ChatMessage::table_data |
Definition at line 40 of file conversational_agent_service.h.
Referenced by yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::CreateMessage(), yaze::editor::AgentChatHistoryPopup::DrawMessage(), yaze::editor::AgentChatHistoryCodec::Load(), yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MessageToJson(), yaze::cli::agent::anonymous_namespace{conversation_test.cc}::PrintAgentResponse(), yaze::cli::agent::SimpleChatSession::PrintMessage(), yaze::gui::AgentChatWidget::RenderMessageBubble(), and yaze::cli::agent::anonymous_namespace{conversation_test.cc}::ValidateResponse().
bool yaze::cli::agent::ChatMessage::is_internal = false |
Definition at line 41 of file conversational_agent_service.h.
Referenced by yaze::editor::AgentChatHistoryCodec::Load().
std::optional<SessionMetrics> yaze::cli::agent::ChatMessage::metrics |
Definition at line 52 of file conversational_agent_service.h.
Referenced by yaze::editor::AgentChatHistoryCodec::Load(), yaze::cli::agent::anonymous_namespace{simple_chat_session.cc}::MessageToJson(), yaze::cli::agent::SimpleChatSession::PrintMessage(), and yaze::cli::agent::ConversationalAgentService::SendMessage().
std::optional<ProposalSummary> yaze::cli::agent::ChatMessage::proposal |
Definition at line 53 of file conversational_agent_service.h.
Referenced by yaze::editor::AgentChatHistoryPopup::DrawMessage(), yaze::editor::AgentChatHistoryCodec::Load(), and yaze::cli::agent::ConversationalAgentService::SendMessage().