|
Longbridge OpenAPI C++ SDK
|
#include <types.hpp>
Public Attributes | |
| std::string | chat_uid |
| std::string | message_id |
| Message ID of this round. More... | |
| ConversationStatus | status |
| Final run status. More... | |
| std::string | answer |
| Final answer text; valid when status is ConversationStatus::Succeeded. More... | |
| std::vector< Reference > | references |
| Sources referenced by the answer. More... | |
| double | elapsed_time |
| Run duration in seconds. More... | |
| std::optional< Interrupt > | interrupt |
| Present only when status is ConversationStatus::Interrupted. More... | |
| std::optional< AgentError > | error |
| Present only when the run failed. More... | |
Response for AgentContext::conversation, AgentContext::continue_conversation, and the final result of the streamed counterparts.
| std::string longbridge::agent::ConversationResponse::answer |
Final answer text; valid when status is ConversationStatus::Succeeded.
| std::string longbridge::agent::ConversationResponse::chat_uid |
Conversation identifier, used for follow-up questions and troubleshooting
| double longbridge::agent::ConversationResponse::elapsed_time |
Run duration in seconds.
| std::optional<AgentError> longbridge::agent::ConversationResponse::error |
Present only when the run failed.
| std::optional<Interrupt> longbridge::agent::ConversationResponse::interrupt |
Present only when status is ConversationStatus::Interrupted.
| std::string longbridge::agent::ConversationResponse::message_id |
Message ID of this round.
| std::vector<Reference> longbridge::agent::ConversationResponse::references |
Sources referenced by the answer.
| ConversationStatus longbridge::agent::ConversationResponse::status |
Final run status.