This paper proposes a preference-aligned routing framework for LLMs that guides model selection by matching queries to user-defined domains or action types. It introduces Arch-Router, a compact 1.5B model that learns to map queries to domain-action preferences for model routing decisions, outperforming proprietary models in subjective evaluation criteria.
This Github Action allows you to easily integrate OpenAI API into your workflow. With just a few steps, you can use OpenAI's language model to generate responses for your project.