Show HN: AIQ – A no-frills CLI for embeddings and text classification (github.com)
aiq lets you use a single CLI command to auto-label text data with a language model API & train an efficient classifier on the labels. Training and inference are super fast (both run on CPU).
6 comments
[ 4.6 ms ] story [ 31.5 ms ] threadThere are plenty of providers and self-hosted solutions that expose an OpenAI-compatible API so instead of just asking for on OpenAI key you could ask for an API end-point URL (optional with OpenAI as the default if you want to keep the current UX) and a authentication key (optional as well since self-hosted stuff don't need it).
--api_base_url: You can use this flag (or the OPENAI_BASE_URL environment variable) to pass a different API URL from the default "https://api.openai.com/v1". This allows you to use other OpenAI-compatible LLM providers like TogetherAI, self-hosted vLLM or Ollama, etc.