class Guppi::FileReaderAgent

Defined in:

file_reader_agent.cr

Constructors

Instance Method Summary

Instance methods inherited from class Guppi::Agent

add_agent_message(content : String) add_agent_message, add_message(role : String, content : String) add_message, add_system_message(content : String) add_system_message, add_user_message(content : String) add_user_message, chat(options : Hash | Nil = nil, &block : String -> Nil) chat, client : OpenAI::Client client, end_conversation end_conversation, messages : Array({role: String, content: String}) messages, model : String model, prompts : Crinja prompts, render(template_name, context) render

Constructor methods inherited from class Guppi::Agent

new(prompts : Crinja, client : OpenAIClient, model : String = "gpt-3.5-turbo") new

Constructor Detail

def self.new(prompts : Crinja, client : OpenAIClient, model : String) #

[View source]

Instance Method Detail

def what_files(project_file : String, file_tree : FileTree, current_step : Step | Nil) #

[View source]
def what_files_contents(project_file : String, file_tree : FileTree, current_step : Step | Nil) #

[View source]
def what_files_contents(project_file : String, file_tree : FileTree) #

[View source]