pub struct CurrentDateFragment;Expand description
Injects the current UTC timestamp/date/weekday as a system message.
Implementations§
Trait Implementations§
Source§impl Default for CurrentDateFragment
impl Default for CurrentDateFragment
Source§fn default() -> CurrentDateFragment
fn default() -> CurrentDateFragment
Returns the “default value” for a type. Read more
Source§impl IntoPrompt for CurrentDateFragment
impl IntoPrompt for CurrentDateFragment
Source§type Message = GenericMessage
type Message = GenericMessage
Chat message representation emitted by the prompt.
Source§fn into_prompt(self) -> Vec<Self::Message>
fn into_prompt(self) -> Vec<Self::Message>
Consume
self and return all messages in the desired order.