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