Developer Migrates Portfolio Chatbot from OpenAI to Hugging Face After Account Issues
A developer redesigning their portfolio website was forced to seek an alternative AI solution after their OpenAI account encountered problems, threatening the chatbot feature they had previously built. They migrated from OpenAI to Hugging Face, ultimately selecting the Qwen/Qwen3-4B model via the Nebius provider after testing several options with limited success. The transition also prompted a database switch from MongoDB to Neon PostgreSQL for better scalability and production readiness. Additional improvements included streaming word-by-word text responses, a multi-layered fallback search system using Pinecone embeddings, and small UX fixes like continuous input focus management. The experience highlighted the risks of vendor dependency and the value of building fallback-ready systems from the outset.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in