class DefaultStringResponse

Overview

This is a helper class for when a user does not provide a grammar, it'll default to responding with a single string property

Defined in:

models/base_model.cr

Constructors

Instance Method Summary

Instance methods inherited from class Llamero::BaseGrammar

to_grammar_file(is_root_object : Bool = true) : IO to_grammar_file

Constructor methods inherited from class Llamero::BaseGrammar

new(pull : JSON::PullParser) new

Class methods inherited from class Llamero::BaseGrammar

get_grammar_output_for_object : IO get_grammar_output_for_object

Constructor Detail

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

This is a helper class for when a user does not provide a grammar, it'll default to responding with a single string property


[View source]

Instance Method Detail

def ai_assistant_response : String #

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

[View source]