Update README and backend functionality for improved news application
- Enhanced README.md with a clearer project overview, features, technologies used, and installation instructions. - Updated vector dimension in config.py from 4096 to 1024 for Cohere embeddings. - Modified main.py to serve HTML responses for the home page, news fetching, and recommendations. - Improved error handling and ensured articles have links in the responses. - Cleaned up news_fetcher.py by removing unnecessary print statements. - Updated recommender.py to refine insights generation and summary extraction. - Added Jinja2 for templating and improved the project structure for better organization. - Included API documentation for better understanding of endpoints and usage.
This commit is contained in:
@@ -174,5 +174,3 @@ class NewsFetcher:
|
||||
logger.info("News processing pipeline completed with status: %s", result["status"])
|
||||
return result
|
||||
|
||||
news_fetcher = NewsFetcher()
|
||||
print(news_fetcher.process())
|
||||
|
||||
Reference in New Issue
Block a user