class Llamero::PromptMessage

Overview

A small helper class that holds the role and content of a message in a prompt series.

Defined in:

prompts/prompt_message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(role : String, content : String) #

[View source]

Instance Method Detail

def content : String #

[View source]
def content=(content : String) #

[View source]
def role : String #

[View source]
def role=(role : String) #

[View source]
def to_llm_instruction_prompt_syntax : String #

[View source]