class AI
- AI
- Reference
- Object
Defined in:
ai.crConstant Summary
-
MODEL =
"gpt-4o"
-
URL =
"https://api.openai.com/v1/chat/completions"
Constructors
Instance Method Summary
- #chat(moves : Array(String), text : String)
- #next_move(moves : Array(String), error : String | Nil = nil)
- #prev_tool_id : String | Nil
- #prev_tool_id=(prev_tool_id : String | Nil)