A proof-of-concept Ruby gem that sorts arrays by leveraging LLM APIs (OpenAI Chat Completions, Anthropic Messages, Google Gemini, and the OpenAI-compatible Groq, SpaceXAI Grok, and OpenRouter APIs). Infers the provider from the API key format. Demonstrates how AI can be used for computational tasks.

Required Ruby Version

>= 3.0.0

Authors

Chayut Orapinpatipat

Versions

  1. 0.4.0 July 12, 2026 (38.5 KB)
  2. 0.3.1 July 11, 2026 (31.5 KB)
  3. 0.3.0 July 10, 2026 (31.5 KB)
  4. 0.2.0 October 16, 2025 (27 KB)

Pushed by

SHA 256 checksum