View Source Ollamex.ChatMessage (Ollamex v0.2.0)
Defines the struct used to store data of a chat message and provides helper functions to create a list of chat messages using the pipeline operator.
Summary
Functions
Append a message (%Ollamex.ChatMessage{}
) to a list of existing ones.
Create the first message (%Ollamex.ChatMessage{}
) in a list.
Functions
Append a message (%Ollamex.ChatMessage{}
) to a list of existing ones.
Create the first message (%Ollamex.ChatMessage{}
) in a list.