Hacker News new | ask | show | jobs
by mi12-root 294 days ago
Thanks for the feedback! When you say “custom,” do you mean additional integrations with LLM providers, or more documentation on how to build your own custom integration? If you mean the former, we’re currently focused on stabilizing the API and reaching feature parity with FoundationModels (e.g., adding streaming). After that, we plan to add more integrations, such as Claude, Gemini, and on-device LLMs from Hugging Face.
1 comments

There is no examples or documentation on `CustomLLM` the README file has examples on `SystemLLM` and `OpenaiLLM` but there's no way for us to know if we need to bring in guff files, ollama, hugginface, etc.
I’ve added documentation on creating new LLM integrations in SwiftAI [https://github.com/mi12labs/SwiftAI/blob/main/Docs/Guides/cu...]. We also have a proof-of-concept using MLX-optimized models from Hugging Face [https://huggingface.co/mlx-community], which we’ll release once it’s ready.
We added an experimental support for MLX see README [https://github.com/mi12labs/SwiftAI/?tab=readme-ov-file#loca...]. We also added an chat demo where you can interact with 20+ models [https://github.com/mi12labs/SwiftAI/tree/main/Examples/ChatA...]