r/txtai • u/davidmezzetti • 2h ago
A good change with txtai 9.15 is the ability to directly encode embeddings and run LLM inference with the OpenAI API client
Previously, LiteLLM had to be installed. Almost all API services support the OpenAI API spec. A default LiteLLM install now installs over 60 packages! So this is a much more lightweight option especially when paired with txtai's minimal install.
https://gist.github.com/davidmezzetti/166bca743f5c2e280fde6a0989dd9ca1