struct AI::OpenAI::Responses::SystemMessage

Overview

System/Developer message

Included Modules

Defined in:

ai/openai/responses/openai_responses_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.developer(content : String) : SystemMessage #

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

[View source]
def self.new(content : String, role : String = "system") #

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

[View source]
def self.system(content : String) : SystemMessage #

[View source]

Instance Method Detail

def content : String #

[View source]
def role : String #

[View source]