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:
+1
-1
@@ -26,7 +26,7 @@ RSS_FEEDS = [
|
||||
]
|
||||
|
||||
# Vector Database Settings
|
||||
VECTOR_DIMENSION = 4096 # Cohere embedding dimension
|
||||
VECTOR_DIMENSION = 1024 # Cohere embedding dimension
|
||||
TOP_K_RESULTS = 5
|
||||
|
||||
# Data Directories
|
||||
|
||||
Reference in New Issue
Block a user