Thoughts And Lessons Learned from Building An LLM App
Recently I built an LLM app which summarize news in a period for a user. This app contains following features. RSS Subscription: Users can subscribe to RSS channels. Daily News Crawl: Automatically crawls news entries from RSS channels daily. Preference Survey: LLM surveys users to understand their news preferences. News Summaries: Generates daily or weekly summaries based on user preferences. Users can expand summary entries to fetch and summarize content from reference URLs. Updates user preferences based on click history. Question Answering: LLM answers user questions based on crawled news (e.g., "What are the latest AI trends?"). My tech stack is Frontend: NextJs + custom ExpressJs server + Tailwind CSS Avoid server components to simplify client-side state interaction logic. Use server components only when components are mostly independent (e.g., signin/signup page vs news summary app page). Custom ExpressJs server for flexible middle...