struct AI::Provider::LanguageModel::SystemMessage

Overview

System message in a prompt.

Included Modules

Defined in:

ai/provider/language_model/prompt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(content : String, provider_options : Shared::ProviderOptions | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def content : String #

[View source]
def provider_options : Shared::ProviderOptions | Nil #

[View source]
def role : String #

[View source]