class Guppi::Agent
- Guppi::Agent
- Reference
- Object
Direct Known Subclasses
Defined in:
agent.crConstructors
Instance Method Summary
- #add_agent_message(content : String)
- #add_message(role : String, content : String)
- #add_system_message(content : String)
- #add_user_message(content : String)
- #chat(options : Hash | Nil = nil, &block : String -> Nil)
- #client : OpenAI::Client
- #end_conversation
- #messages : Array({role: String, content: String})
- #model : String
- #prompts : Crinja
- #render(template_name, context)