Commit graph

6 commits

Author SHA1 Message Date
edf10adf5a Update requirements and enhance CSS styles
- Added new dependencies to requirements.txt: psycopg2-binary, pandas, and dotenv for improved functionality.
- Enhanced main.css by adding 'scroll-smooth' to the html element for better scrolling experience.
2025-05-11 09:39:21 +08:00
666f6ac38b refactor: update PostgreSQL import and initialization
- Changed the import statement from "bun" to "postgres".
- Simplified the PostgreSQL client initialization by directly using the connection string.
2025-05-11 00:17:42 +08:00
089c90f79b Made a micro scraper. 2025-05-10 23:40:19 +08:00
bf38065e52 Implement structural updates and optimizations across multiple modules 2025-05-10 23:21:36 +08:00
5d58016b1d Clean code. 2025-05-10 22:05:10 +08:00
bf357f1c84 feat: add AI chat and summarize endpoints with database integration
- Implemented a new chat endpoint that utilizes Groq for chat completions based on news articles.
- Added a summarize endpoint that fetches news articles from the database and generates summaries using Groq.
- Introduced a new package "@vueuse/core" for improved reactivity.
- Created a comprehensive command UI component with various subcomponents for better user interaction.
- Developed a scraping module using Scrapy to fetch news articles from Google News.
- Added validation and sanitization for slug parameters in the fetch article endpoint.
2025-05-10 21:57:38 +08:00