class LLM::CLI::Prompt

Defined in:

llm-cli/prompt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(constraints : Enumerable(String) = [] of String) #

[View source]

Instance Method Detail

def add_constraint(constraint : String) #

[View source]
def add_constraint(constraint : Array(String)) #

[View source]
def add_goal(goal : String) #

[View source]
def add_goal(goal : Array(String)) #

[View source]
def constraints : Array(String) #

[View source]
def description : String #

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

[View source]
def generate #

[View source]
def generate_list(list : Enumerable(String)) #

[View source]
def goals : Array(String) #

[View source]
def name : String #

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

[View source]
def response_format #

[View source]