#include <conversation.hpp>
◆ Conversation() [1/2]
| forgeant::Conversation::Conversation |
( |
| ) |
|
|
default |
◆ Conversation() [2/2]
| forgeant::Conversation::Conversation |
( |
std::string |
system_prompt | ) |
|
|
inlineexplicit |
◆ add()
| void forgeant::Conversation::add |
( |
Message |
message | ) |
|
|
inline |
◆ clear()
| void forgeant::Conversation::clear |
( |
| ) |
|
|
inline |
◆ messages()
| std::span< const Message > forgeant::Conversation::messages |
( |
| ) |
const |
|
inline |
◆ operator==()
| bool forgeant::Conversation::operator== |
( |
const Conversation & |
| ) |
const |
|
default |
◆ set_system_prompt()
| void forgeant::Conversation::set_system_prompt |
( |
std::string |
prompt | ) |
|
|
inline |
◆ system_prompt()
| const std::optional< std::string > & forgeant::Conversation::system_prompt |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: